From db0810f133a29359bb044193d8939ae7d43e0a95 Mon Sep 17 00:00:00 2001 From: gregs Date: Thu, 31 Oct 2024 20:01:27 -0300 Subject: [PATCH 01/24] prevent useSwapSlippage from making unnecessary requests --- src/entries/popup/hooks/swap/useSwapSlippage.tsx | 14 +++++++++----- src/entries/popup/pages/swap/index.tsx | 8 ++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/entries/popup/hooks/swap/useSwapSlippage.tsx b/src/entries/popup/hooks/swap/useSwapSlippage.tsx index b950c9b8c6..7afb43efb5 100644 --- a/src/entries/popup/hooks/swap/useSwapSlippage.tsx +++ b/src/entries/popup/hooks/swap/useSwapSlippage.tsx @@ -1,7 +1,6 @@ import { getSlippage } from '@rainbow-me/swaps'; import { useQuery } from '@tanstack/react-query'; import { BigNumberish } from 'ethers'; -import { Address } from 'viem'; import { QueryConfig, @@ -9,6 +8,7 @@ import { QueryFunctionResult, createQueryKey, } from '~/core/react-query'; +import { AddressOrEth } from '~/core/types/assets'; import { ChainId } from '~/core/types/chains'; export interface SwapSlippage { @@ -19,10 +19,10 @@ export interface SwapSlippage { // Query Types export type SwapSlippageArgs = { - chainId: ChainId; - toChainId: ChainId; - sellTokenAddress: Address; - buyTokenAddress: Address; + chainId: ChainId | undefined; + toChainId: ChainId | undefined; + sellTokenAddress: AddressOrEth | undefined; + buyTokenAddress: AddressOrEth | undefined; sellAmount: BigNumberish; buyAmount: BigNumberish; }; @@ -68,6 +68,9 @@ async function swapSlippageQueryFunction({ }, ], }: QueryFunctionArgs) { + if (!chainId || !sellTokenAddress || !buyTokenAddress) + throw new Error('Invalid params'); + const slippage = await getSlippage({ chainId, toChainId, @@ -110,6 +113,7 @@ export function useSwapSlippage( buyAmount, }), queryFn: swapSlippageQueryFunction, + enabled: !!chainId && !!sellTokenAddress && !!buyTokenAddress, ...config, retry: true, staleTime: 10 * 60 * 1_000, // 10 min diff --git a/src/entries/popup/pages/swap/index.tsx b/src/entries/popup/pages/swap/index.tsx index ebf560cd38..855c5ad4de 100644 --- a/src/entries/popup/pages/swap/index.tsx +++ b/src/entries/popup/pages/swap/index.tsx @@ -529,10 +529,10 @@ export function Swap({ bridge = false }: { bridge?: boolean }) { }); const { data: swapSlippage } = useSwapSlippage({ - chainId: assetToSell?.chainId || ChainId.mainnet, - toChainId: assetToBuy?.chainId || ChainId.mainnet, - sellTokenAddress: assetToSell?.address as Address, - buyTokenAddress: assetToBuy?.address as Address, + chainId: assetToSell?.chainId, + toChainId: assetToBuy?.chainId, + sellTokenAddress: assetToSell?.address, + buyTokenAddress: assetToBuy?.address, sellAmount: assetToSellValue, buyAmount: assetToBuyValue, }); From 91641725dc712762c487912f4119b98fc910e3b5 Mon Sep 17 00:00:00 2001 From: gregs Date: Fri, 1 Nov 2024 13:28:20 -0300 Subject: [PATCH 02/24] test --- e2e/fetchResponses.ts | 13 + e2e/mockFetch.ts | 28 + ...2799eb086ed6981a208b8574a3d9886d95702.json | 1 + ...ac6c7acead26c6fbd4593ac6840211a966072.json | 1 + ...16a1473a0e7b4d661ef5f420cf46fd919813b.json | 1 + ...5bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 1 + ...c739e2a1a737497781513fe28049fc588da14.json | 1 + ...303370f9b4a58c389da6e30cfb5b32b70770b.json | 1 + ...6066699fd1060c241779e3add6232f89e343a.json | 1 + ...1b89fb0dd5458096b3fc57611ec2af361f294.json | 1 + ...60eb387a0d298281df46b7a7d93825a288609.json | 1 + ...fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json | 1 + ...454e78e38b11035c362d16cf1f99517c17e5c.json | 1 + ...136d7a9877e65f829336d06bb78ac9519db5c.json | 1 + ...11edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 1 + ...c420bbb17e5181d59b05fb2faa4e2240b66d9.json | 1 + ...f54b3895736fea6a134746cb02fdf7c77eef9.json | 1 + ...292c6de1c79101ac53e75dd7ea6dd6a91aec0.json | 1 + ...4c502216ee64f288f2030a7752a2856fe6c5e.json | 1 + ...890b77a472475b02eeeefcd097424eb252571.json | 1 + ...170f5302ea1441ff1de0d5a4d1b4e21fba289.json | 1 + ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 1 + ...8ed35d327ab264e51f08388ab3cdd48277dab.json | 1 + ...65df60cac4a76c55ba8396447e7bb39df9564.json | 1 + ...82a4a05f57a74a3d9c103bc50e71ace079371.json | 1 + ...0528143a50bb300b9461457d46c445f5f439d.json | 1 + ...0e44269c6608952e0e07af0729a344914ab0c.json | 1 + ...2874c56de2ef59667a8347ca9dd9412b00323.json | 1 + ...a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 1 + ...ff452497dae4a18eb4ff2202f85e62d381733.json | 1 + ...0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 1 + ...1a826a5df474624d13a377d10396721866275.json | 1 + ...f10c31bb0eb22f34db1a99b813f69e3d1393d.json | 1 + ...f6ee94e11151f1b6fd091a8d7fec4253917fa.json | 1 + ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 1 + ...2d9450db0f0266936fbafb0d9855a9390d3b2.json | 1 + ...341249fe74c24c68b2598964074187873f2ed.json | 1 + ...ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 1 + ...2bb3cfa7f3e8f0431fefad03935708fc32334.json | 1 + ...214d6e5a8da3995979e418f485bb55744c15d.json | 1 + ...1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json | 1 + ...f19663913d77ee4cf072b374997b23cf7b3d2.json | 1 + ...4fb2522ae9fc86ba795f24d2ad83dfe167880.json | 1 + ...17601fb8a2e3ac6ee669a4648b026a9c298b8.json | 1 + ...2687af80b253dc1cf535b42b3e03db04acc54.json | 1 + ...6d11143dac6fcff8195ca815c0c65ab208cd3.json | 1 + ...7cebee5db4803e040b797300038eae7cdcf91.json | 1 + ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 1 + ...2ec462b53950e07e59a46092990d81453c1b1.json | 1 + ...45da2605f262260b318098555a15ff38648d1.json | 1 + ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 1 + ...fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 1 + ...6cc07c56055917e72180d8fc5edf84aa32294.json | 1 + ...0fbff89b16ee4b2ed87e39639b8d39feab58a.json | 1 + ...6d9d6f013480a2e3659f9f6a497fa5c7c0999.json | 1 + ...6d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 1 + ...51b698080dedc9238880bc9079f7eacfd2e5c.json | 1 + ...e73d946f4b44e20ad5c5893ae6d6c7d174f67.json | 1 + ...d1ab0946ee5aa2177f20baab2c5509df04be9.json | 1 + ...fd6c870d4d65d34a79ad469fb83607f780b71.json | 1 + ...4f4f3f856d24e9e656f67861ed978d72c0661.json | 1 + ...41fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json | 1 + ...66063cd07c1950ec3e5cfe5a5113557cf8e27.json | 1 + ...3f12440be839615a3cebaf7f65bcc5f707d29.json | 1 + ...749a11c10eb73c2b2a393932fe283b46db182.json | 1 + ...ac467b41b9c8c9bd4782a58703c159c712eeb.json | 1 + ...9d59c8b15516f425a55b7b6674bb71e2d4231.json | 1 + ...0c5031c6068aa2af5e85777111a5b7d9568b3.json | 1 + ...6c7b633177f5cff199b77734c7b1785dc8c25.json | 1 + ...747576e9152fd30d63458c24de6e7df94ecf7.json | 1 + ...851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 1 + ...59c94a8a59532aae82764d52eabb1a0edbf42.json | 1 + ...bdfbd25e52da7a2eb55dc84946298982031ce.json | 1 + ...158b0bc28414091daf5d1838380ff6ce92915.json | 1 + ...b033b9ab72e5fb1261acf521dec9186f86112.json | 1 + ...526cff63831caea15e172a7024c47079a0640.json | 1 + ...a5c3cff6938c2f2e087cca3cd82ed724a7066.json | 1 + ...d46e88adbadd0975870d6413ebe1ca67a7aef.json | 1 + ...fb44ea353f9e92282e510be73c721fe35ee75.json | 1 + ...d285f72e961a5358744c85e27758406575040.json | 1 + ...863cbade141e0e4607dac17daddc9b5e46dc7.json | 1 + ...4b499e94ae4e4b79b142da31252eb4379555a.json | 1 + ...5b40962f6406b1e055e952997ef6c463bd35d.json | 1 + ...a13d5854d705b7125731e11b5a35998446c17.json | 1 + ...7374daca3ad0c13b0a66b932cc16a0febba62.json | 1 + ...566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 1 + ...74ff47d1f6bad7152d538f06ac3b7ca01a06a.json | 1 + ...486d626d77e2a94319438381588727f374885.json | 1 + ...3743c1005992a1d946a7e393ecaecdf54b634.json | 1 + ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 1 + ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 1 + ...ef748ededc9c44a2bcccea0b822abe9764fda.json | 1 + ...d60817009bcd206e13e51c24de2dac7fb0a1c.json | 1 + ...245b42357ae32ccba6cd2f750e9fb1874a08b.json | 1 + ...93b268fb523c4d8a19f699edc529c24333380.json | 1 + ...882a0858a67a8e2a0189d33f8510deb60e6d1.json | 1 + ...a2d931fb516d24ee2fb2a31d5ea109f17518a.json | 1 + ...7bc30e0ee667a698a8d5e7c523753643ea650.json | 1 + ...868ba7081ad54df5eee0afd89713250393d4b.json | 1 + ...b939bae8e743cc757caaed9068f14e9c21afc.json | 1 + ...f43b26d7047709196ae4d3a2e848c2c676a64.json | 1 + ...37de44c317cefde008bf74d8b99494c1c98a7.json | 1 + ...916fdadeba9296ddbb958495e514a151fa456.json | 1 + ...80ab045a671f00b94b780c18cf473bc9a37ed.json | 1 + ...3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json | 1 + ...d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json | 1 + ...21081f306331c381324980c6430ab7a4d1226.json | 1 + ...f4daade3414f42f1ecc86c7b57721fda4788e.json | 1 + ...b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 1 + ...dbbb088e24f25f725b09cb8c602c0c576f7f2.json | 1 + ...0832a595eee05335e634b8b4777d2e688fcde.json | 1 + ...0df74fa8f78414287f43a9432f5b5030cf972.json | 1 + ...bb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 1 + ...e862798dea46cd676fa9874f2ebfb8080841b.json | 1 + ...48003d87b2258ba07063b691b31b205b7656c.json | 1 + ...6dda15a1e718768e1d16afb87a69a2e04753c.json | 1 + ...3bad99e23333214c4e2737a2fa61b2f391a74.json | 1 + ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 1 + ...e9cc7a166bc8da74725e664bdd68ee474ab52.json | 1 + ...98312e46c68a34c0c0bc5c17732944b249bbf.json | 1 + ...a5c68d9aab6a8f76d0962310e3c6638f5d707.json | 1 + ...d524f3b2624e3b427bd49c633034df4bbacaf.json | 1 + ...bb7b133455f21d092c97d992991cba4adff95.json | 1 + ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 1 + ...bafed7138997a2158b5805084eb9a5285d60a.json | 1 + ...60b50641bc80e0b98b4cb34d69916a87fd00b.json | 1 + ...5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 1 + ...e2ca9f4179fab9384be8075d96abaa43a3643.json | 1 + ...8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json | 1 + ...8f86ab2ac9e040e83db7df9a84d7ea2165085.json | 1 + ...cc85f88eea10a38441d0a1bd578be099031e9.json | 1 + ...7f7c56b76490a1548ae5abc284124f34f8774.json | 1 + ...02386980a8460ac11d3a0b87b2679bce1909e.json | 1 + ...d47863ad987eeb9757ef24c012c787031ad9d.json | 1 + ...d4591952172789fd85ca157965430162016ba.json | 1 + ...db5fe3155f46ee9f598dd39b44ce946ed17ce.json | 660 ++++++++++++++++++ ...a6b0cbfbcbdff8a3908e65c6da1963cb05376.json | 1 + ...36970b02eec54537026b8f86a905b120ce68f.json | 1 + ...3f9bd4898cda3d816c4ed85376528cba0e94b.json | 1 + ...2d71cc3bf1fbb781355f79de2baad2a5569f2.json | 1 + ...17ef2b6a391229f1a73de98e4f4ef829b7bc7.json | 1 + ...af3ec343beb1d49a5213cbd69eab8cc9f7653.json | 1 + ...d868c1028049cf34f99c10b27c26a7a935150.json | 1 + ...dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json | 1 + ...ca3b6a336fc922dcd9c1dd20be6c35070425b.json | 1 + ...0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 1 + ...8eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json | 1 + ...e3131b1b8338eaba32ce8eb90a6592914c24d.json | 1 + ...063d811f17eadf2e86ab426641124c7ffd68b.json | 1 + ...dc550701b2853b07b0805c16268525d3f9039.json | 1 + ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 1 + ...eb5e727d4c91a6a12cf2f6494cda55145e9df.json | 1 + ...a540d15d6dd0f6a4c19884be35da187d7b313.json | 1 + ...db04cabb080833a28048d926d27d6ef2b961d.json | 1 + ...319fc99104106969c4a069cfc8546729e0510.json | 1 + ...8a0a06d8f34b40cec0f0b2f610bc262506a5a.json | 1 + ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 1 + ...0b4de4011ad2e84315c35d510da23a595b165.json | 1 + ...0c70b6f7c9a3361aec2ce8c2f8140d3418200.json | 1 + ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 1 + ...17d2cdfa1945a4261109b278a1876ecdb6076.json | 1 + ...fc75c48fb81edcd86533d27144ca2ae193e81.json | 1 + ...b02921f8d08704f5122d11f75281fd9e5a700.json | 1 + ...58575f34c5e01bbb0ab4ab261958595e30508.json | 1 + ...ffb96d87c47a6beda5545d0b71edbfe204782.json | 1 + ...d1f99c2320f2f82efe312a8583250ce632527.json | 1 + ...4762cc774ca5c6f734e4efcaefd73cdd364aa.json | 1 + ...b84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 1 + ...be461ab9e953ee04c26230ee0c5e0a2fafeee.json | 1 + ...a02538580f6c1d50d5102e0f2fa3c90a43abb.json | 1 + ...2fe814cec266c6331e8d32d57d7279f8fc665.json | 1 + e2e/urls.json | 174 +++++ scripts/e2e-serial-tests.sh | 2 +- src/entries/popup/index.ts | 3 + 174 files changed, 1047 insertions(+), 1 deletion(-) create mode 100644 e2e/fetchResponses.ts create mode 100644 e2e/mockFetch.ts create mode 100644 e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json create mode 100644 e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json create mode 100644 e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json create mode 100644 e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json create mode 100644 e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json create mode 100644 e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json create mode 100644 e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json create mode 100644 e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json create mode 100644 e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json create mode 100644 e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json create mode 100644 e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json create mode 100644 e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json create mode 100644 e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json create mode 100644 e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json create mode 100644 e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json create mode 100644 e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json create mode 100644 e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json create mode 100644 e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json create mode 100644 e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json create mode 100644 e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json create mode 100644 e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json create mode 100644 e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json create mode 100644 e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json create mode 100644 e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json create mode 100644 e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json create mode 100644 e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json create mode 100644 e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json create mode 100644 e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json create mode 100644 e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json create mode 100644 e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json create mode 100644 e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json create mode 100644 e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json create mode 100644 e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json create mode 100644 e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json create mode 100644 e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json create mode 100644 e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json create mode 100644 e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json create mode 100644 e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json create mode 100644 e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json create mode 100644 e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json create mode 100644 e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json create mode 100644 e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json create mode 100644 e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json create mode 100644 e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json create mode 100644 e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json create mode 100644 e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json create mode 100644 e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json create mode 100644 e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json create mode 100644 e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json create mode 100644 e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json create mode 100644 e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json create mode 100644 e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json create mode 100644 e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json create mode 100644 e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json create mode 100644 e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json create mode 100644 e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json create mode 100644 e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json create mode 100644 e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json create mode 100644 e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json create mode 100644 e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json create mode 100644 e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json create mode 100644 e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json create mode 100644 e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json create mode 100644 e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json create mode 100644 e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json create mode 100644 e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json create mode 100644 e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json create mode 100644 e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json create mode 100644 e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json create mode 100644 e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json create mode 100644 e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json create mode 100644 e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json create mode 100644 e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json create mode 100644 e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json create mode 100644 e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json create mode 100644 e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json create mode 100644 e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json create mode 100644 e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json create mode 100644 e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json create mode 100644 e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json create mode 100644 e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json create mode 100644 e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json create mode 100644 e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json create mode 100644 e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json create mode 100644 e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json create mode 100644 e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json create mode 100644 e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json create mode 100644 e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json create mode 100644 e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json create mode 100644 e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json create mode 100644 e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json create mode 100644 e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json create mode 100644 e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json create mode 100644 e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json create mode 100644 e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json create mode 100644 e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json create mode 100644 e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json create mode 100644 e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json create mode 100644 e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json create mode 100644 e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json create mode 100644 e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json create mode 100644 e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json create mode 100644 e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json create mode 100644 e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json create mode 100644 e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json create mode 100644 e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json create mode 100644 e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json create mode 100644 e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json create mode 100644 e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json create mode 100644 e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json create mode 100644 e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json create mode 100644 e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json create mode 100644 e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json create mode 100644 e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json create mode 100644 e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json create mode 100644 e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json create mode 100644 e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json create mode 100644 e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json create mode 100644 e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json create mode 100644 e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json create mode 100644 e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json create mode 100644 e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json create mode 100644 e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json create mode 100644 e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json create mode 100644 e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json create mode 100644 e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json create mode 100644 e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json create mode 100644 e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json create mode 100644 e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json create mode 100644 e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json create mode 100644 e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json create mode 100644 e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json create mode 100644 e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json create mode 100644 e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json create mode 100644 e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json create mode 100644 e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json create mode 100644 e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json create mode 100644 e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json create mode 100644 e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json create mode 100644 e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json create mode 100644 e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json create mode 100644 e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json create mode 100644 e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json create mode 100644 e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json create mode 100644 e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json create mode 100644 e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json create mode 100644 e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json create mode 100644 e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json create mode 100644 e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json create mode 100644 e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json create mode 100644 e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json create mode 100644 e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json create mode 100644 e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json create mode 100644 e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json create mode 100644 e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json create mode 100644 e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json create mode 100644 e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json create mode 100644 e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json create mode 100644 e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json create mode 100644 e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json create mode 100644 e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json create mode 100644 e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json create mode 100644 e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json create mode 100644 e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json create mode 100644 e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json create mode 100644 e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json create mode 100644 e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json create mode 100644 e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json create mode 100644 e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json create mode 100644 e2e/urls.json diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts new file mode 100644 index 0000000000..722b3a2ece --- /dev/null +++ b/e2e/fetchResponses.ts @@ -0,0 +1,13 @@ +import { writeFile } from 'fs/promises'; + +import { Hex, sha256 } from 'viem'; + +import { urls } from './urls.json'; + +await Promise.all( + urls.map(async (url) => { + const res = await fetch(url).then((r) => r.text()); + const hash = sha256(url as Hex); + writeFile(`./responses/${hash}.json`, res); + }), +); diff --git a/e2e/mockFetch.ts b/e2e/mockFetch.ts new file mode 100644 index 0000000000..f6b0ca8edb --- /dev/null +++ b/e2e/mockFetch.ts @@ -0,0 +1,28 @@ +import { Hex, sha256 } from 'viem'; + +export function mockFetch() { + const nativeFetch = window.fetch; + window.fetch = async function mockedFetch( + input: RequestInfo | URL, + init?: RequestInit, + ) { + if (input instanceof Request || !URL.canParse(input)) + return nativeFetch(input, init); + + const url = new URL(input); + + if (url.hostname === 'swap.p.rainbow.me') { + const hash = sha256(url.href as Hex); + const response = await import(`./responses/${hash}.json`); + + if (!response) + throw new Error('no response for request', { + cause: { url: url.toString(), hash }, + }); + + return Promise.resolve(response); + } + + return nativeFetch(input, init); + }; +} diff --git a/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json b/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json new file mode 100644 index 0000000000..a68064c92e --- /dev/null +++ b/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.005226319746242,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":0.9970886722188793,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000016a8803b1ef3500000000000000000000000000000000000000000000000000000000000f10b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868147f7a92f4b122af4ca5a5d9119f09eeaa40ef63af85c14c4f65d2842ee13dc9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000f377800000000000000000000000000000000000000000000000000016a8803b1ef35000000000000000000000000000001bcc9006724fbf400000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000414217c1757961a64f7d3ea35c4f17ba13ac873744f46caf0f9afed48ec1ff6ed46fa7b332e42fc7add401613cc8247985c20d9be84ebb6c5d01dd6a8df18d421a1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"402024595864775","sellAmountMinusFees":"398607386799925","sellAmountDisplay":"402024595864775","sellAmountInEth":"402024595864775","buyAmount":"997285","buyAmountMinusFees":"997285","buyAmountDisplay":"997285","buyAmountDisplayMinimum":"987313","buyAmountInEth":"398770070595974","tradeAmountUSD":1.005226319746242,"tradeFeeAmountUSD":0.008544423717841587,"value":"402024595864775","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.008544423717841587,"available":true}},"fee":"3417209064850","feeInEth":"3417209064850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json b/e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json new file mode 100644 index 0000000000..a388f599b3 --- /dev/null +++ b/e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json @@ -0,0 +1 @@ +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json b/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json new file mode 100644 index 0000000000..1b2d81fea9 --- /dev/null +++ b/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041001.53007013,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":78752416.67364302,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000001a3088e1840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000019340000000000000000000000000000000000000019160018e800189e00188400a0c9e75c4800000000000502010101000000000000000000000000000000001856001100000d82000acf00071000a007e5c0d20000000000000000000000000000000000000000000006ec0002ec0002e600a0c9e75c480000000000001a1007010000000000000000000000000000000000000002b80001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260a26d69263ef43e9a68964ba141263f19d71d516ae4071118002dc6c060a26d69263ef43e9a68964ba141263f19d71d51000000000000000000000000000000000000000000000ebd0b4b902d6272e6b7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000020716c2a49110080eb0cbee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000254dce764887aeadf8018c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000003cb3d66acd32ab0ec7c81c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000001a12020201010000000000000000000000000003d20003830003080002b90000a900007b0c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48f3f82bc165a83425e81b8f2858d786e41ab216716ae4071118002dc6c0f3f82bc165a83425e81b8f2858d786e41ab216710000000000000000000000000000000000000000000000000000000000247ce2a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0a87a1ae82109f78b46a789125598f5ad2b7f243751c2934da0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a040c0c71f0700889fa22778e33ee9f8480fb65f2e93da77d45b1b93b1280d7cb5c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000003ee7ec40000000000000000000000000000000000000000000000000000005c9bbc2924000000000000000000000000000001bc8f006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041bcea8502d8d7095192b76ef237b495d2ec6c557d93232aefb06e2283f69859a01e4d41d5bb9d26673656d36085d9b9cd32983995b66c5eea71b2e14944691b401b0000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000014aa0272ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48004375dff511095cc5a197a54140a24efef3a4166ae4071118002dc6c0004375dff511095cc5a197a54140a24efef3a4160000000000000000000000000000000000000000000000000000000006075c81a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a000000000000000000000000000000000000000000000000000000001521e7fe8ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a007e5c0d200000000000000000000000000000000000000039b0002cb0002b100020100a0c9e75c48000000000000001f10030000000000000000000000000000000000000000000001d30001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000014a6fccf40cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000006f8167917b1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000d77e2196a47ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc251204dece678ceceb27446b35c672dc7d61f30bad69ea0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df0212400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005334a27683235b19578670020d6bdbf78f939e0a03fb07f59a73314e73794be0e57ac1b4e5122e0438eb3703bf871e31ce639bd351109c88666eaf939e0a03fb07f59a73314e73794be0e57ac1b4e0044a64833a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a007e5c0d200000000000000000000000000000000000000000000000000028f00019f00a0c9e75c48000000000000000100310000000000000000000000000000000000000000000001710000f60000dc4160eef417e1d5cc832e619ae18d2f140de2999dd4fb0044d3a4acd3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000098c392716e3f021aeb19a0000000000000000000000000000000000000000000000000000000067264d470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8124041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23fd4cf9303c4bc9e13772618828712c8eac7dd2f6ae4071118002dc6c03fd4cf9303c4bc9e13772618828712c8eac7dd2f0000000000000000000000000000000000000000000016d561e1fa5b8e71a160c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8be57890000000000000000000000000000000000000000000000000000000067264d470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a007e5c0d200000000000000000000000000000000000000000000000000035a00028e00a0c9e75c48000000000000160f07060000000000000000000000000000000000000002600001d300011a00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000042c396d0a69ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000056396201bcbee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000a805fcdd62bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000112185a674b4ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000280a00000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000025b01d20eee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a00000000000000000000000000000000000000000000000000000000640ac8cd0ee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480010080706050402010100000000072800066f00056100045300034500028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc24ab6702b3ed3877e9b1f203f90cbef13d663b0e86ae4071118002625a04ab6702b3ed3877e9b1f203f90cbef13d663b0e80000000000000000000000000000000000000000000000000000000012b3b2d5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a10000000000000000000000000000000000000000000000000000000029bb9aaac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000f76d79d3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000294633084ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000014636938cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f1d8809000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001baae4bc1000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f940b5d8000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000003e66b71bbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000001a7441dc0a00000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694623603","buyAmount":"113619622922","buyAmountMinusFees":"113619622922","buyAmountDisplay":"113619622922","buyAmountDisplayMinimum":"112483426693","buyAmountInEth":"31495801358034494110048","tradeAmountUSD":250041001.53007013,"tradeFeeAmountUSD":2125348.513005596,"value":"100000000611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"DEFISWAP","part":0.1333333333},{"name":"CURVE_V2","part":2.4},{"name":"PANCAKESWAP_V3","part":1.2},{"name":"CURVE","part":6.666666667},{"name":"LITEPSM_USDC","part":6.666666667},{"name":"UNISWAP_V3","part":29.13333333},{"name":"PMM15","part":0.2666666667},{"name":"VERSE","part":0.5333333333},{"name":"CURVE_V2_LLAMMA","part":6.666666667},{"name":"SUSHI","part":8.533333333},{"name":"UNISWAP_V2","part":11.46666667},{"name":"DODO","part":0.1333333333},{"name":"ETHEREUM_PANCAKESWAP_V2","part":0.4},{"name":"CURVE_V2_TRICRYPTO_NG","part":6},{"name":"ETH_BANCOR_V3","part":19.8}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125348.513005596,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json b/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json b/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json new file mode 100644 index 0000000000..658010abcb --- /dev/null +++ b/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2500.3934789622303,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2472.0671882600477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000db320ff2babf15318800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"999993392668494519","buyAmount":"997140427924958210","buyAmountMinusFees":"988664734287596066","buyAmountDisplay":"988664734287596066","buyAmountDisplayMinimum":"978778086944720105","buyAmountInEth":"988664734287596066","tradeAmountUSD":2500.3934789622303,"tradeFeeAmountUSD":21.19270912779668,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.19270912779668,"available":true}},"fee":"8475693637362144","feeInEth":"8475693637362144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json b/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json b/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json b/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json new file mode 100644 index 0000000000..1c0af95a57 --- /dev/null +++ b/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.89652037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.883860514,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000016048be41484000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4317c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e0eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724ba3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d44cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941fc4dcee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c8d32ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d905a38ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b73d5ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc3a261ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde062a48ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead2c9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b23824eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c2a805ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075eaf34e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526686ccee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a690731cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3ccc073ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d0b208ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b33f5b2000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292100000","buyAmount":"24453315818930","buyAmountMinusFees":"24453315818930","buyAmountDisplay":"24453315818930","buyAmountDisplayMinimum":"24208782660741","buyAmountInEth":"9777797194804257498935","tradeAmountUSD":25004095.89652037,"tradeFeeAmountUSD":212534.81512042313,"value":"9999998358877292100000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81512042313,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json new file mode 100644 index 0000000000..9f4e928e57 --- /dev/null +++ b/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000913fe58e200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2436883855","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json new file mode 100644 index 0000000000..55716d2349 --- /dev/null +++ b/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996559.107836284,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441235.200918827,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b411cb61375d00000000000000000000000000000000000000000000000000001602df027dd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae01fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9efdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2b00bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680e3cee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464dffb1ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a5811c3ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbd8870ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb57d189c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb091407ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b8044a24ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf8177facbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3ff4d30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a144932a0ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657f1ac5ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c01967f49d00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e229d53ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df8724bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7abe1215ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3cdeaf4ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9fd5853000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925408690","buyAmount":"24446047705171","buyAmountMinusFees":"24446047705171","buyAmountDisplay":"24446047705171","buyAmountDisplayMinimum":"24201587228120","buyAmountInEth":"9774890998243819910902","tradeAmountUSD":24996559.107836284,"tradeFeeAmountUSD":212470.75241660842,"value":"9996984137735925408690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.75241660842,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365973","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json b/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json b/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json b/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json b/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json b/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json b/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json new file mode 100644 index 0000000000..af8a1552e6 --- /dev/null +++ b/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.530070126913803,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761443,"available":true},"totalPrice":{"value":1.5130883308474232,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586818639110eb780f520da006f00aa1cf9678408111822320207ec30ef347d631c7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000886000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000001bc5b006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041ae239e62ea9a40e29160e3b076a3274ecab7b645f909738b7dd689f7a04396833868752bc10a35c941acc02d5dac059aade0ed15a4bc2784fb378e0a979499c11c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2183","buyAmountMinusFees":"2183","buyAmountDisplay":"2183","buyAmountDisplayMinimum":"2162","buyAmountInEth":"605136090020206","tradeAmountUSD":1.530070126913803,"tradeFeeAmountUSD":0.013005596078765762,"value":"611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.013005596078765762,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json b/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json new file mode 100644 index 0000000000..5fd52b5089 --- /dev/null +++ b/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":51.585949493406815,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000048ada24aa14b490000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003f8b14a4a1b44a13c563bef4","sellAmount":"20630996313967236","sellAmountMinusFees":"20283225429150734","sellAmountDisplay":"20630996313967236","sellAmountInEth":"20630996313967236","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"19992783938190888","tradeAmountUSD":51.585949493406815,"tradeFeeAmountUSD":0.43478489905201484,"value":"20630996313967236","gasPrice":"19580000000","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.43478489905201484,"available":true}},"fee":"173885442408251","feeInEth":"173885442408251","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json new file mode 100644 index 0000000000..10abdd87dd --- /dev/null +++ b/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":51.080204890530275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000047f739cc687f410000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001e19d0f051913c5fde2ef55f","sellAmount":"20428731644222459","sellAmountMinusFees":"20084370277884551","sellAmountDisplay":"20428731644222459","sellAmountInEth":"20428731644222459","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"19992783938190888","tradeAmountUSD":51.080204890530275,"tradeFeeAmountUSD":0.43052230200248426,"value":"20428731644222459","gasPrice":"19580000000","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.43052230200248426,"available":true}},"fee":"172180683168954","feeInEth":"172180683168954","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json b/e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json b/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json b/e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json new file mode 100644 index 0000000000..7f6f99fa3a --- /dev/null +++ b/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2490.4940261746265,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2462.280449282892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000d81f588fbbc291e18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"996034260851071096","buyAmount":"993192819567864978","buyAmountMinusFees":"984750680601538126","buyAmountDisplay":"984750680601538126","buyAmountDisplayMinimum":"965055666989507364","buyAmountInEth":"984750680601538126","tradeAmountUSD":2490.4940261746265,"tradeFeeAmountUSD":21.10880869279332,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.10880869279332,"available":true}},"fee":"8442138966326852","feeInEth":"8442138966326852","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json new file mode 100644 index 0000000000..bfcd3b2ee5 --- /dev/null +++ b/e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":49.34294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a047093f19d51effd082712b2fb15125f6b305bdb4503aa41ccf86f6fde0f5bc21c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000046b39c8812b35e0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000001bc92006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf0806000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004120b4cf975905f2a0acaf863fbac4ff6c796a57fb421d92a697bb009fc940c76a51be112ae4a06b57dbb646145f507d1bca15f6989556fc9691a9b9e184a02a8d1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19903116727294916","buyAmountMinusFees":"19733940235112910","buyAmountDisplay":"19733940235112910","buyAmountDisplayMinimum":"19339261430410652","buyAmountInEth":"19733940235112910","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4230105928168096,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4230105928168096,"available":true}},"fee":"169176492182006","feeInEth":"169176492182006","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json new file mode 100644 index 0000000000..0800a98377 --- /dev/null +++ b/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996555.8208351,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441232.03286562,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001602ded29ff9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae017c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9eebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2af83ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680d17ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464de7e3ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a536b77ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbcc40bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb564a90c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb06c80aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b800133cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf816da55cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3f92e20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a14486ec1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657b476eee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0195da06d00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e22236aee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df77cabc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7ab5e9f1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3bf838bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9ccfeae000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603690","buyAmount":"24446044536494","buyAmountMinusFees":"24446044536494","buyAmountDisplay":"24446044536494","buyAmountDisplayMinimum":"24201584091130","buyAmountInEth":"9774889731230327292605","tradeAmountUSD":24996555.8208351,"tradeFeeAmountUSD":212470.72447709835,"value":"9996982823151043603690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.72447709835,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870631","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json b/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json b/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json b/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json new file mode 100644 index 0000000000..20b824657b --- /dev/null +++ b/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":49.34294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a047f9cd4e8c9f7645c4877f38a3f684ca608023e94d42d3d5dde8836f575cb2a80000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000046b39c8812b35e0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000001bc79006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf0806000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004167a07ff7958f8f41f0d866f32886fdd8bca1edcabcb897bf1a6c06ec0e4ef9193a3a31abfc7b1328959abe632f19fe7c443a4e4a7e54107c92ca072526285f1f1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19903116727294916","buyAmountMinusFees":"19733940235112910","buyAmountDisplay":"19733940235112910","buyAmountDisplayMinimum":"19536600832761781","buyAmountInEth":"19733940235112910","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4230105928168096,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4230105928168096,"available":true}},"fee":"169176492182006","feeInEth":"169176492182006","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json b/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json b/e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json new file mode 100644 index 0000000000..47124e6c94 --- /dev/null +++ b/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996555.8208351,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441232.03286562,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000015c9f3d84144000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000000420194dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000084504bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e00b815ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000850c7ebcee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b292654bdee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220db079657ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000597312c73cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b1fa6a1b44c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c1ea1dd4bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebb38e4beeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b33a4d8213ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c96c565710000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592b59cd50ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdd8d1f3f6ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b3d0b499a200a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bc893a54ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f7ac1451bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3cecdef56ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068da5538f25ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9ccfeae000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603690","buyAmount":"24446044536494","buyAmountMinusFees":"24446044536494","buyAmountDisplay":"24446044536494","buyAmountDisplayMinimum":"23957123645765","buyAmountInEth":"9774889731230327292605","tradeAmountUSD":24996555.8208351,"tradeFeeAmountUSD":212470.72447709835,"value":"9996982823151043603690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.72447709835,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870631","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json b/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json b/e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json b/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json b/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json new file mode 100644 index 0000000000..ae44648a84 --- /dev/null +++ b/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2508.1079959659282,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2479.6938657153396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000dbdf2e9ff94bf3718800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"1003078693480640572","buyAmount":"1000216747394562900","buyAmountMinusFees":"991714905041709116","buyAmountDisplay":"991714905041709116","buyAmountDisplayMinimum":"981797755991292025","buyAmountInEth":"991714905041709116","tradeAmountUSD":2508.1079959659282,"tradeFeeAmountUSD":21.258091637499128,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.258091637499128,"available":true}},"fee":"8501842352853784","feeInEth":"8501842352853784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json new file mode 100644 index 0000000000..823594ba19 --- /dev/null +++ b/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001586.85920572,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446082.77278996,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001603fd1d4e62000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b1693c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c75c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e493ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee2f7ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46dff9b7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686371fceee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6152f776ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d477de11c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c24105ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d132aa4fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf364440ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8925030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18db7dbcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5a918dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0571ec74100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb064bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b40ef8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab7a8b19ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ddef8aee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceafbfc6e000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596490","buyAmount":"24450896231534","buyAmountMinusFees":"24450896231534","buyAmountDisplay":"24450896231534","buyAmountDisplayMinimum":"24206387269219","buyAmountInEth":"9776829709043701540602","tradeAmountUSD":25001586.85920572,"tradeFeeAmountUSD":212513.48830324863,"value":"9998994908517291596490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.48830324863,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978570","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json b/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json b/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json b/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json new file mode 100644 index 0000000000..79b6f3476a --- /dev/null +++ b/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2548.3450303093355,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x803ba26d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000003819c30000000000000000000000000000000000000000000000000dfee9681ffb40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bfee1c2d14bd9f1a2aa9dcfe","sellAmount":"3676611","sellAmountMinusFees":"3676611","sellAmountDisplay":"3676611","sellAmountInEth":"1019170868101365616","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":2548.3450303093355,"tradeFeeAmountUSD":21.253484999999998,"value":"0","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json b/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json new file mode 100644 index 0000000000..428cb1fe36 --- /dev/null +++ b/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2510.163610213377,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2481.7260737299725,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000dc0d4fccd17516318800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"1003900804353436878","buyAmount":"1001036464908296634","buyAmountMinusFees":"992527654956576113","buyAmountDisplay":"992527654956576113","buyAmountDisplayMinimum":"982602378407010352","buyAmountInEth":"992527654956576113","tradeAmountUSD":2510.163610213377,"tradeFeeAmountUSD":21.275513491381506,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.275513491381506,"available":true}},"fee":"8508809951720521","feeInEth":"8508809951720521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json new file mode 100644 index 0000000000..af94ea85ae --- /dev/null +++ b/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":247770.24364151203,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000151800562000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"357469178","buyAmountMinusFees":"357469178","buyAmountDisplay":"357469178","buyAmountDisplayMinimum":"353894487","buyAmountInEth":"99091846393796239967","tradeAmountUSD":250041,"tradeFeeAmountUSD":2125.3485,"value":"100000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125.3485,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json new file mode 100644 index 0000000000..ce3cb9bae9 --- /dev/null +++ b/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.63267756323309,"available":true},"totalPrice":{"value":16.63267756323309,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":17.07229044851938,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000f786ad08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"6651980100556746","buyAmount":"17075652","buyAmountMinusFees":"17075652","buyAmountDisplay":"17075652","buyAmountDisplayMinimum":"16221870","buyAmountInEth":"6827796420794742","tradeAmountUSD":16.63267756323309,"tradeFeeAmountUSD":0.14137775928748042,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.632677563232992,"available":true},"totalPrice":{"value":0.14137775928748042,"available":true}},"fee":"8500000000000000","feeInEth":"56541830854732","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json new file mode 100644 index 0000000000..f2e46d6bc6 --- /dev/null +++ b/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500410,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2471051.3686641175,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000035bfd39ccecfce000000000000000000000000000000000000000000000000000000000000d25f0ea40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012650000000000000000000000000000000000000012470012190011cf0011b500a0c9e75c4800000000000000000604000000000000000000000000000000000000000000000000001187000b1c00a007e5c0d2000000000000000000000000000000000000000000000000000af800042300a0c9e75c48000000000000220906010000000000000000000000000000000000000003f50001a700011a00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000493f82db5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000001b7c59635eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000002935750759ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0489e84031311e323db237544692be778872682f1710df896c17f9ae390c209388000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000009d0f6d303b00000000000000000000000000000000000000000000000e9eac3f21b98c0000000000000000000000000000000001bc75006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041479049df2ac70bc39ab6c132ff44c6107a13176fe7739435df79737b7290229b6a038dbaa4f2cff4ecb3b1e18e1a46c2ec49e459c927e08f2aa56dc33702bb681b0000000000000000000000000000000000000000000000000000000000000000a0c9e75c480000000000001e0a08020000000000000000000000000000000000000006a70006580006090003f900a0860a32ec000000000000000000000000000000000000000000000000000000093e9d35070003d05100ead050515e10fdb3540ccd6f8236c46790508a76dac17f958d2ee523a2206206994597c13d831ec700c4e525b10b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000009e2505ff3565d7c83a9cbcfd260c4a545780b40200000000000000000000000004f57b77cd9102a3774570de93008e9c57b9f1460000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000093e9d3507000000000000000000000000000000000000000000000000000000000366e164000000000000000000000000000000000000000000000000000000006724fc210000000000000000000000000000000000000000000000000008ea9f76370e35fc99dc0feca54fa2a447cfdd1a25b945000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026000000000000000000000000067297ee4eb097e072b4ab6f1620268061ae8046400000000000000000000000060cba82ddbf4b5ddcd4398cdd05354c6a790c309000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004161bd420af176032a0b428bdc2f4b7d55b3dc7bf56909584f03f3269faa75601021120aa646ec4ada93f473887262602a56aaa8504fbf4c50e6ac471a83e4cda71c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a2bedf1af26c1fc1777cdfea86db59f6b4bcc9fcb5b908f2e8526e7e12ddb8db1060ebd3b443d3094e12bea7ee8e6a4563826612a9000b46426e2a7eb7c996651b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a047b154e2064f1638a14d5dea8494392767933b02622581522473bbeace1fb779e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000000d9378bb00000000000000000000000000000000000000000000000000000024fa74d41c000000000000000000000000000001bc6d006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419edaf2acd8fcf35221151318b7c9bc9c9336ad474cd3c363e33723bcdfb45ca50b47a343b3a929801476e314dfffb19b90c0fd0ed72e97082908dd39e0de95b01b0000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000010cef9d4ee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000000326e580cee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000026050401010100000000000000000000000000063d0005b00003620002d50001c700010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002862f32000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000002846ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002857d95000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000000a13371bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040c88907ad98182b8b795b3f5b4b0b7dd4335b7053aafee2150019d31f96d888b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000cc03df90000000000000000000000000000000000000000000000033996efcef7fd0000000000000000000000000000000001bcb8006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2e4e6de30e0f820d5b6311680218d17645f388472da92d086f309f25496d1c409f5e34d7cb4fac9901ef228bd327c8c9690a3d0488d18123f4aca431574ccdd1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000006010182aee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000d47f0c3400000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3565095988","buyAmountMinusFees":"3565095988","buyAmountDisplay":"3565095988","buyAmountDisplayMinimum":"3529445029","buyAmountInEth":"988258473076062639437","tradeAmountUSD":2500410,"tradeFeeAmountUSD":21253.485,"value":"1000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":26},{"name":"PMM11","part":1},{"name":"CURVE_V2_TRICRYPTO_NG","part":1},{"name":"SUSHI","part":1},{"name":"CURVE_V2","part":1},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"UNISWAP_V3","part":69.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21253.485,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json b/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json new file mode 100644 index 0000000000..a388f599b3 --- /dev/null +++ b/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json @@ -0,0 +1 @@ +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json b/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json new file mode 100644 index 0000000000..26bd7b8b32 --- /dev/null +++ b/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999069.18477286,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24443655.32877717,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000015ca816c6b83000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000000420343fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000008453aebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e024e1eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000850fe018ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b296e8fc9ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220e8d25ecfee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000597557738bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b1feee195ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c256c5b9dee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebc0044854ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b358db3d93ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c97e6f9f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592d9cebccee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bde4218c04ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b3ef3ea3b600a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bdf1ae6bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f7d978448c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3e6ebe8a8ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dcfea174fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163c5a44d633000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508667090","buyAmount":"24448468309555","buyAmountMinusFees":"24448468309555","buyAmountDisplay":"24448468309555","buyAmountDisplayMinimum":"23959498943364","buyAmountInEth":"9775858890652802903893","tradeAmountUSD":24999069.18477286,"tradeFeeAmountUSD":212492.0880705693,"value":"9997988003876508667090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.0880705693,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323670","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json new file mode 100644 index 0000000000..eaf8fc9b75 --- /dev/null +++ b/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001586.85920572,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446082.77278996,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000015cb0f3ea057000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204f3cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845712ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03e4daee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000851342efee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b6ecd9ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6a32c6aee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000059779d1e56ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203741220c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c39d3c2ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebcc7fbab0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b377765d6bee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c99090d5d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592fe1081aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdef761922ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40dd6103b00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf5ac069ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f806f01e3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff147501ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfa934a36ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceafbfc6e000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596490","buyAmount":"24450896231534","buyAmountMinusFees":"24450896231534","buyAmountDisplay":"24450896231534","buyAmountDisplayMinimum":"23961878306904","buyAmountInEth":"9776829709043701540602","tradeAmountUSD":25001586.85920572,"tradeFeeAmountUSD":212513.48830324863,"value":"9998994908517291596490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.48830324863,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978570","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json b/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json new file mode 100644 index 0000000000..e85078a5b5 --- /dev/null +++ b/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.63267756323309,"available":true},"totalPrice":{"value":2476.743891364981,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000007ab31283f6e1482c60000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000063121cc6ea8f00000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000040813abbf84dd47d000000000000000000000000000000000000000000000000006e4c7c32cb1d800000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8000000006724fc0300000000000000000000000000000000000000006724fbc70000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b874ecfa6e292168b09ffd452dff7159710857255677c0d85593cc08fe23b9c2f37969e228dd10491a81bdf82a0520b01bd2a165655d2722c3c7088a2653cc957000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000007916232c023d00000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb8c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b9b938a42a49e604dd7c8a4a","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"148908309077059209640","buyAmountMinusFees":"148908309077059209640","buyAmountDisplay":"148908309077059209640","buyAmountDisplayMinimum":"141462893623206249158","buyAmountInEth":"990535108788151334","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":55},{"name":"0x","part":45}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json new file mode 100644 index 0000000000..b4b1d2de95 --- /dev/null +++ b/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250.041,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250.041,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100000000000000000","tradeAmountUSD":250.041,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json b/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json b/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json b/e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json new file mode 100644 index 0000000000..33450b1c5d --- /dev/null +++ b/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.733585037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.725971602,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000016048be1b1cf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4316c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e07ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b94ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f8806ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c8376ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d9059028c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b56b0ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc36ce6ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde05a726ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead27c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b237899ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c2777aee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075ea703c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526680c1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a69066eec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc58f1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44cffb3fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b318cd2000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870000","buyAmount":"24453315661010","buyAmountMinusFees":"24453315661010","buyAmountDisplay":"24453315661010","buyAmountDisplayMinimum":"24208782504400","buyAmountInEth":"9777797131659048708553","tradeAmountUSD":25004095.733585037,"tradeFeeAmountUSD":212534.81373547282,"value":"9999998293713846870000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81373547282,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698395","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json b/e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json new file mode 100644 index 0000000000..eab3a60bae --- /dev/null +++ b/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.814195037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.4726969,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000016067f3c9a400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4316c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e0bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b9bee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941fa7c4ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014493ff82191df8160d9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142dbca6013867ec6818ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e7b45fe5776950c32a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014fa80f2c0acc189e075dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000440aa4d617ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875ee93415c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cc043c4091ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197ab553370ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000037160f1e665ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021ea1fb69a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000013133901a9fee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b447fe14500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526683bfee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6906cf5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc8c27ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d055acee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f7397b841000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545000","buyAmount":"24461778073665","buyAmountMinusFees":"24461778073665","buyAmountDisplay":"24461778073665","buyAmountDisplayMinimum":"24217160292929","buyAmountInEth":"9781180875415193254791","tradeAmountUSD":25004095.814195037,"tradeFeeAmountUSD":212534.8144206578,"value":"9999998325952559545000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":70.25},{"name":"LITEPSM_USDC","part":12.5},{"name":"SUSHI","part":1},{"name":"CURVE","part":7.75}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8144206578,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756132","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json new file mode 100644 index 0000000000..fedbd81c8a --- /dev/null +++ b/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.733585037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.3945033,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000015cd8ae050da0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a21c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a742c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a2bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2bcee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022104679decee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414caf48fef62ca719dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ec77bb77ef1b996ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73d362aa78d6e04dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c44194b7b2d1e9475c8ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2ac1fee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dc79f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ad6115ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d284be9ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d2d45cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0001c00000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926cf63200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5ade3aee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a611c3c100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c28ef8ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343f41dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b417275fcdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e251648dfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f739686c0000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870000","buyAmount":"24461777995456","buyAmountMinusFees":"24461777995456","buyAmountDisplay":"24461777995456","buyAmountDisplayMinimum":"23972542435547","buyAmountInEth":"9781180844142880474351","tradeAmountUSD":25004095.733585037,"tradeFeeAmountUSD":212534.81373547282,"value":"9999998293713846870000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V3","part":70.25},{"name":"SUSHI","part":1},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":12.5},{"name":"PANCAKESWAP_V3","part":0.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81373547282,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698395","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json b/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json new file mode 100644 index 0000000000..d06447e818 --- /dev/null +++ b/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041001.53007013,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":191040938.99529606,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000ac0c0db5c18a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000013ac00000000000000000000000000000000000000138e0013600013160012fc00a0c9e75c48000000000000000603010000000000000000000000000000000000000000000012ce000f0600046300a007e5c0d200000000000000000000000000000000000000000000000000043f00037300a0c9e75c480000000000131206060100000000000000000000000000000000034500028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a10000000000000000000000000000000000000000000000000000000017446fe2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000a48cb4acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000ee13e662ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000286f03dc6ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000001ff234b92c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000509a72742dee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000f9c8b76ce7aee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d2000000000000000000000000000000000000000000000000000a7f0004c400a0c9e75c48000000001210070502020000000000000000000000000004960003dd0003500002c300023600012800a007e5c0d20000000000000000000000000000000000000000000001040000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c9ebbc5ce000000000000000000000000000000000000000000000000000000000000000000020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e0863a01c9000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005a1185e785bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000062ab251d035ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000001208de136c26ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000010232cc4e951c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48001e070502020101010100000000058d0004dd00048e00043f0003f00003400002300001800000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae73330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fdab3426c60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000051001116898dda4015ed8ddefb84b6e8bc24528af2d8dac17f958d2ee523a2206206994597c13d831ec7004491695586000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fdd7345ee600000000000000000000000000000000000000000000000000000000672b93475100debf20617708857ebe4f679508e7b7863a8a8eeedac17f958d2ee523a2206206994597c13d831ec70044a6417ed6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fd921ab5e8490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fa3127b84600a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a0000000000000000000000000000000000000000000000000000004f58e87012bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000006eb5897edb7ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001db5578be7a500a0c9e75c480000000000220707010100000000000000000000000000000000039a00030d0002800001c700010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f977e079a2000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca0000000000000000000000000000000000000000000000000000001b6247d456ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000c9ad804969ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000f226e279c72ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000004b2fc59a7b7bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000adc8f1676e2a000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694623603","buyAmount":"191078555151914","buyAmountMinusFees":"191078555151914","buyAmountDisplay":"191078555151914","buyAmountDisplayMinimum":"189167769600395","buyAmountInEth":"76403845367478161018540","tradeAmountUSD":250041001.53007013,"tradeFeeAmountUSD":2125348.513005596,"value":"100000000611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"BALANCER_V2","part":0.6666666667},{"name":"VERSE","part":0.3333333333},{"name":"DODO","part":0.3333333333},{"name":"CURVE","part":11},{"name":"UNISWAP_V2","part":12.66666667},{"name":"CURVE_V2","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":4.666666667},{"name":"SYNAPSE","part":0.3333333333},{"name":"UNISWAP_V3","part":60.66666667},{"name":"SUSHI","part":7},{"name":"CURVE_V2_TRICRYPTO_NG","part":1.333333333},{"name":"MAVERICK_V2","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125348.513005596,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json b/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json new file mode 100644 index 0000000000..5a69dc0c73 --- /dev/null +++ b/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json new file mode 100644 index 0000000000..e0a6b1c2ff --- /dev/null +++ b/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2508.1079959659282,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2479.6938657153396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000d9a69fee850031a18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"1003078693480640572","buyAmount":"1000216747394562900","buyAmountMinusFees":"991714905041709116","buyAmountDisplay":"991714905041709116","buyAmountDisplayMinimum":"971880606940874934","buyAmountInEth":"991714905041709116","tradeAmountUSD":2508.1079959659282,"tradeFeeAmountUSD":21.258091637499128,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.258091637499128,"available":true}},"fee":"8501842352853784","feeInEth":"8501842352853784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json b/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json b/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json b/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json b/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json new file mode 100644 index 0000000000..19fe012b8d --- /dev/null +++ b/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":0.9974711742214777,"available":true},"totalPrice":{"value":2472.396910993516,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x629d99d6be36c4d2a8fe8282272ecb6e29f75c839b6c4a2055a115bccd4a377d","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2478665023","buyAmountMinusFees":"2478665023","buyAmountDisplay":"2478665023","buyAmountDisplayMinimum":"2478665023","buyAmountInEth":"988796601754718652","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":27.50451,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":27.50451,"available":true}},"fee":"11000000000000000","feeInEth":"11000000000000000","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file diff --git a/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json new file mode 100644 index 0000000000..1ac6df1dcc --- /dev/null +++ b/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001590.77679607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446086.550603107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219707531a18be605b100000000000000000000000000000000000000000000000000001603fd5662c6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b169ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c8bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e538ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee453ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e016d0ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226863cb183ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6153e188ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d479b00bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c4fdceee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d137b02fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf42952dee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8999bd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18dc672dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5f20c2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0572b16b100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb9797ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b533b8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab8443d1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ef1a55ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceb35a46b000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478968045","buyAmount":"24450900010091","buyAmountMinusFees":"24450900010091","buyAmountDisplay":"24450900010091","buyAmountDisplayMinimum":"24206391009991","buyAmountInEth":"9776831219921175523377","tradeAmountUSD":25001590.77679607,"tradeFeeAmountUSD":212513.5216027666,"value":"9998996475296478968045","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.5216027666,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071228","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json b/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json b/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json b/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json b/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json new file mode 100644 index 0000000000..765d4476cd --- /dev/null +++ b/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.4904083599999998e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":0.22696631010100415,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000000000000002694000000000000000000000000000000000000000000000000000000000003650600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000046300000000000000000000000000000000000000000000000000000000044500a007e5c0d20000000000000000000000000000000000000004210001b10000c100001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db000a0bd46a343021a44e35d5451e0b78621a1b3e7a53dfaa306b1d000000000000000000000051babc7d08ef73fe3fb67efd900f4471cca788b089900000000000000000000069d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f4edfad26ee0d23b69ca93112ecce52704e0006f000000000000000000000000ae78736cd615f374d3085123a210448e74fc639351200ec8c15e458e056c96bd6945fe3f80ee1105035eae78736cd615f374d3085123a210448e74fc63930044e331d039000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050eb640247a000000000000000000000000042f527f50f16a103b6ccab48bccca214500c10210000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120111111125421ca6dc452d289314280a0f8842a65ae7ab96520de3a18e5e111b5eaab095312d7fe84012456a75868c80b9d8af342de2252f5472ec9e2bec4601f147f0af4f2aefe861cb005ee2661000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000000000000376a700000000000000000000000000000000000000000000000000005292275b2484000000000000000000000000000001bc86006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004100c114f5674e70e45bf93869d1c81e4190bdf1b62803d97f692cb1e227e56614076ef1bb7e5de8dc046e4b78d7a5c0747bfd97ef0be7db3d84fef75672b639b11b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"227011","buyAmountMinusFees":"227011","buyAmountDisplay":"227011","buyAmountDisplayMinimum":"222471","buyAmountInEth":"90771637491853","tradeAmountUSD":2.4904083599999998e-11,"tradeFeeAmountUSD":2.1003444e-13,"value":"9960","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"BALANCER_V2","part":33.33333333},{"name":"ONE_INCH_LP_1_1","part":33.33333333},{"name":"PMM15","part":33.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.1003444e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json new file mode 100644 index 0000000000..b7dc9b3d6c --- /dev/null +++ b/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.385219257,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.390655626,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000016048bdca0d3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4314c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77df8ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b76ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728cf02ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f0bb4ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c6ea6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d90566b8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b185fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc2fa8dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde048ec8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead1d5f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b2363d7ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c20fafee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075e9580000a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526673d6ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6904ce7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cb7ba3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44ce7473ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2c6ebc000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020000","buyAmount":"24453315325628","buyAmountMinusFees":"24453315325628","buyAmountDisplay":"24453315325628","buyAmountDisplayMinimum":"24208782172372","buyAmountInEth":"9777796997554651453386","tradeAmountUSD":25004095.385219257,"tradeFeeAmountUSD":212534.8107743637,"value":"9999998154390384020000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8107743637,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264170","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json new file mode 100644 index 0000000000..8c6ca1cee9 --- /dev/null +++ b/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2500.3934789622303,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2472.0671882600477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000d8fb40eb1b1f6a518800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"999993392668494519","buyAmount":"997140427924958210","buyAmountMinusFees":"988664734287596066","buyAmountDisplay":"988664734287596066","buyAmountDisplayMinimum":"968891439601844145","buyAmountInEth":"988664734287596066","tradeAmountUSD":2500.3934789622303,"tradeFeeAmountUSD":21.19270912779668,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.19270912779668,"available":true}},"fee":"8475693637362144","feeInEth":"8475693637362144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json new file mode 100644 index 0000000000..6beb1f9dc0 --- /dev/null +++ b/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.610880814,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.60779987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000016048bdfe8ba000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4315c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e02ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b89ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f5b0fee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c7c21ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d9058190c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b40bcee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc344a0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde054466ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead24170000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b237149ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c252ecee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075ea0d8700a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003852667c34ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6905dc3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc0afeee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44cf7198ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2fbf1f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720000","buyAmount":"24453315542815","buyAmountMinusFees":"24453315542815","buyAmountDisplay":"24453315542815","buyAmountDisplayMinimum":"24208782387387","buyAmountInEth":"9777797084398106757063","tradeAmountUSD":25004095.610880814,"tradeFeeAmountUSD":212534.8126924869,"value":"9999998244640204720000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8126924869,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json new file mode 100644 index 0000000000..9a7f7d37ab --- /dev/null +++ b/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001619.580935348,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446114.32233582,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001603fef9fe6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b16eec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0d2cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e9ebee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866eee58ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e0ed11ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686659188ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a615a9a85ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d4871228c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8d91e52ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d15c9e9dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf9d231dee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8cf3ff0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18e31b8fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c80a6acee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0578599ae00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850ffc3e5ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3bd9c29c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdabcbbe2bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f1a6d5318ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163cecdd7d1c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057592","buyAmount":"24450927787292","buyAmountMinusFees":"24450927787292","buyAmountDisplay":"24450927787292","buyAmountDisplayMinimum":"24206418509420","buyAmountInEth":"9776842326792735537375","tradeAmountUSD":25001619.580935348,"tradeFeeAmountUSD":212513.76643795046,"value":"9999007995062950057592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.76643795046,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075489","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json b/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json b/e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json b/e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json new file mode 100644 index 0000000000..f2c2d26763 --- /dev/null +++ b/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":4.999015688689186,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":4.934294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a040d01cd17ff7a99615da24f4288087715bc02ab128e82c325bed28c6e09d942f8000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000711f60d9b785500000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000001bc67006724fbf400000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004199136486c5471910e54713e26134df2333edf4cb7ca64119b8e3b97b74fb0e8d2d34bbc031b9e7e38092825954a7662b77c33d6ebff68b78ba5ada1c20cc2e621c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1999278393819088","buyAmount":"1990311672729491","buyAmountMinusFees":"1973394023511291","buyAmountDisplay":"1973394023511291","buyAmountDisplayMinimum":"1953660083276179","buyAmountInEth":"1973394023511291","tradeAmountUSD":4.999015688689186,"tradeFeeAmountUSD":0.04230105928167946,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.04230105928167946,"available":true}},"fee":"16917649218200","feeInEth":"16917649218200","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json new file mode 100644 index 0000000000..6a22ba6b07 --- /dev/null +++ b/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.32,"available":true},"totalPrice":{"value":65169.3418631943,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d400000000000000000000000000000000000000000000002f818c6f9c82b021619ac00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b483800000000000000000000000000000000000000000000436e7f9775c7f0a96a1cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000231c8b6b743c92ff004a2ee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000039b1ee2cbb63957ffebc0000000000000000000000000000000000000000000000000000000067264d4b0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000215208dd521e795e70450000000000000000000000000000000000000000000000000000000067264d4b0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004c955083b5fca7de401c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000022d0c0ad55a9f3c636cc3ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a4f15e3ee00d81d658a1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000002ffc647b150a7905462560000000000000000db07deb3c4f7dbcc80a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a000000000000000000000000000000000000000000000000000000000000008900000000000000000000000000000000000000000002fbef87558c6949353e010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001930c8418f1000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"203654193322482184716344","buyAmountMinusFees":"203654193322482184716344","buyAmountDisplay":"203654193322482184716344","buyAmountDisplayMinimum":"166378795219004368272720","buyAmountInEth":"203654193322482184716344","tradeAmountUSD":25004100,"tradeFeeAmountUSD":274513.76287499996,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":274513.76287499996,"available":true}},"fee":"109787500000000000000","feeInEth":"109787500000000000000","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"a6e4cf70-3764-4f01-a555-d8b12cd71b41","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"203654193322482184716344","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":22.81638852181598,"receivedValueInUsd":64307.47019147818,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"203654193322482184716344","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"MATIC","name":"MATIC","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3625712713686540552004182","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"3625712713686540552004182","minAmountOut":"3589455586549675146484140","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"6141768314500000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":15.357184581991525}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"fromAmount":"3625712713686540552004182","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"MATIC","name":"MATIC","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"203654193322482184716344","minAmountOut":"166378795219004368272720","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"2983144609900000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":7.459203939824454},"serviceTime":1200,"maxServiceTime":1200}],"gasFees":{"gasAmount":"9124912924400000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":22.81638852181598},"serviceTime":1200,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1200,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file diff --git a/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json b/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json new file mode 100644 index 0000000000..75c656e969 --- /dev/null +++ b/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000008ccd9d39200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2362285370","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json b/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json b/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json b/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json b/e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json new file mode 100644 index 0000000000..018695e5bb --- /dev/null +++ b/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2510.163610213377,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2481.7260737299725,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000d9d449d281c410d18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"1003900804353436878","buyAmount":"1001036464908296634","buyAmountMinusFees":"992527654956576113","buyAmountDisplay":"992527654956576113","buyAmountDisplayMinimum":"972677101857444592","buyAmountInEth":"992527654956576113","tradeAmountUSD":2510.163610213377,"tradeFeeAmountUSD":21.275513491381506,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.275513491381506,"available":true}},"fee":"8508809951720521","feeInEth":"8508809951720521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json b/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json b/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json b/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json b/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json b/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json new file mode 100644 index 0000000000..ea021cb129 --- /dev/null +++ b/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.610880814,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.60779987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000015cb9c901256000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a21c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a741c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a26ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2b1ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022104677169ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0b8f0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f5ef72c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c33011e77ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8efd753ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f5b2e6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a19620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000059322315a3ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac05c6dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c51b57900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c28a77ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343eb09c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172712a4ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2515c09cee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2fbf1f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720000","buyAmount":"24453315542815","buyAmountMinusFees":"24453315542815","buyAmountDisplay":"24453315542815","buyAmountDisplayMinimum":"23964249231959","buyAmountInEth":"9777797084398106757063","tradeAmountUSD":25004095.610880814,"tradeFeeAmountUSD":212534.8126924869,"value":"9999998244640204720000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8126924869,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json b/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json b/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json new file mode 100644 index 0000000000..32775ba962 --- /dev/null +++ b/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996559.11058231,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441235.203986224,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b50f5294399c00000000000000000000000000000000000000000000000000001602df0289b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae01fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9efdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2b00cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680e3cee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464dffb1ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a581468ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbd8899ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb57d1ddc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb091484ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b8044b0bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf8177fd01ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3ff4e80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a144932c9ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657f1b97ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c01967f6d200a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e229d6cee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df87280c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7abe13d3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3cdee09ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9fd644f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356203","buyAmount":"24446047708239","buyAmountMinusFees":"24446047708239","buyAmountDisplay":"24446047708239","buyAmountDisplayMinimum":"24201587231157","buyAmountInEth":"9774890999470577133350","tradeAmountUSD":24996559.11058231,"tradeFeeAmountUSD":212470.75243994963,"value":"9996984138834155356203","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.75243994963,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320527","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json b/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json new file mode 100644 index 0000000000..345cc1210c --- /dev/null +++ b/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.814195037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.804171205,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000015cb9c930238000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a22c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a742c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a2fee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2c3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002210467bd58ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0c4f6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f60763c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c33014278ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8f01962ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f654e0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a1f620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000059322321a1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac09863ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c52575f00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c291eeee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343fa14c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b41727927fee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2516a262ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b32be59000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545000","buyAmount":"24453315739225","buyAmountMinusFees":"24453315739225","buyAmountDisplay":"24453315739225","buyAmountDisplayMinimum":"23964249424441","buyAmountInEth":"9777797162933760623065","tradeAmountUSD":25004095.814195037,"tradeFeeAmountUSD":212534.8144206578,"value":"9999998325952559545000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8144206578,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756132","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json b/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json new file mode 100644 index 0000000000..06a2138144 --- /dev/null +++ b/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004.1,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":24780.349415612836,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000021c12952000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"35751715","buyAmountMinusFees":"35751715","buyAmountDisplay":"35751715","buyAmountDisplayMinimum":"35394198","buyAmountInEth":"9910514441876667026","tradeAmountUSD":25004.1,"tradeFeeAmountUSD":212.53484999999998,"value":"10000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212.53484999999998,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json new file mode 100644 index 0000000000..0230f73edd --- /dev/null +++ b/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001590.78415524,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446086.557674713,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970753448fc4e1fe300000000000000000000000000000000000000000000000000001603fd567e20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b169ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c8bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e538ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee454ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e016d0ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226863cb429ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6153e1f9ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d479b0ebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c4ff1fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d137b29aee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf429b19ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8999f60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18dc679dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5f22f3ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0572b1c9c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb97dcee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b53444c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab84487eee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ef2296ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceb35c00c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711490","buyAmount":"24450900017164","buyAmountMinusFees":"24450900017164","buyAmountDisplay":"24450900017164","buyAmountDisplayMinimum":"24206391016993","buyAmountInEth":"9776831222749354739274","tradeAmountUSD":25001590.78415524,"tradeFeeAmountUSD":212513.52166531954,"value":"9998996478239664711490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.52166531954,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150047","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json new file mode 100644 index 0000000000..5b3810d952 --- /dev/null +++ b/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.89652037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.552381214,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000015cd8ae2ad590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a22c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a743c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a32ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2cbee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff0b0bee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002210467da25ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414caf6b5ba81e7ddc0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ec999549967582eee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73d69e3208ea646ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c44196e57d532bf7cd4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2b368ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dc8875c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ad76e6ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d28777aee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d332d6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926cf9d30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5afee7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a612344e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c294f3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8344002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b41727c643ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2516fdcfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f7398ef95000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292100000","buyAmount":"24461778153365","buyAmountMinusFees":"24461778153365","buyAmountDisplay":"24461778153365","buyAmountDisplayMinimum":"23972542590298","buyAmountInEth":"9781180907283690852267","tradeAmountUSD":25004095.89652037,"tradeFeeAmountUSD":212534.81512042313,"value":"9999998358877292100000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":1},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"LITEPSM_USDC","part":12.5},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81512042313,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json new file mode 100644 index 0000000000..1b65b65e1d --- /dev/null +++ b/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":6.541213682700177,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":4.999015688689186,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000000000000000000000000091fe08fc7b3b9000000000000000000000000bb289bc97591f70d8216462df40ed713011b968a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006724fc0500000000000000000000000000000000000000006724fbc80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c32b826e3aa8134212b52a20238554da755805cc723b08f4a8b8a473d2195116d1d43fb75084d0961986f0444836822488db25741cca212208b604be99831d87e869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008993ad337a53f30417295190","sellAmount":"2616056439823940","sellAmountMinusFees":"2571958314412928","sellAmountDisplay":"2616056439823940","sellAmountInEth":"2616056439823940","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1999278393819088","tradeAmountUSD":6.541213682700177,"tradeFeeAmountUSD":0.05513169687947425,"value":"2616056439823940","gasPrice":"19580000000","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.05513169687947425,"available":true}},"fee":"22049062705506","feeInEth":"22049062705506","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json new file mode 100644 index 0000000000..93148cc4f6 --- /dev/null +++ b/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2484.330632753106,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000017a972200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000017b28ba000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000009198000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000094325f6c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003c9a2edd119d3a7813a44154","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2484819800","buyAmountMinusFees":"2484819800","buyAmountDisplay":"2484819800","buyAmountDisplayMinimum":"24848198","buyAmountInEth":"993569307734773914","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json b/e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json new file mode 100644 index 0000000000..053521a3fc --- /dev/null +++ b/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001632.681256402,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446126.953069817,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001603ffb8d573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b1712c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0d75c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5ec0eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ef2e7ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e14eefee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686782812ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a615da93dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d48d2860c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8e245baee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d16d6a8dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbfc6526aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8e7a550000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18e6282fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c8fe5c9ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c057aec3ff00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000385101a9c4ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3c16f1bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdabec4061ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f1aa6bb29ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ced9e41a1000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657592","buyAmount":"24450940420513","buyAmountMinusFees":"24450940420513","buyAmountDisplay":"24450940420513","buyAmountDisplayMinimum":"24206431016308","buyAmountInEth":"9776847378257893465691","tradeAmountUSD":25001632.681256402,"tradeFeeAmountUSD":212513.8777906794,"value":"9999013234332130657592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.8777906794,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110589","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json new file mode 100644 index 0000000000..b30b42add8 --- /dev/null +++ b/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b0000000000000000000000000000000000000000000000000000000092bb5300200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2461750017","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json b/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json b/e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json new file mode 100644 index 0000000000..98563804bf --- /dev/null +++ b/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001632.681256402,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446126.953069817,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000015cb11d36946000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204fbac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845722bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03ec42ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000851352b6ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b83e9fee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6e38c84ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005977a7b475ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203892562c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c5985abee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebccb9e303ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b37804f714ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c990e54e50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592feb96f8ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdefaae377ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40e6498a500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf6152b8ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f807c3f70c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff850441ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfb5a0e9aee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ced9e41a1000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657592","buyAmount":"24450940420513","buyAmountMinusFees":"24450940420513","buyAmountDisplay":"24450940420513","buyAmountDisplayMinimum":"23961921612103","buyAmountInEth":"9776847378257893465691","tradeAmountUSD":25001632.681256402,"tradeFeeAmountUSD":212513.8777906794,"value":"9999013234332130657592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.8777906794,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110589","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json new file mode 100644 index 0000000000..c160fe8e82 --- /dev/null +++ b/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2490.4940261746265,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2462.280449282892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000da53e9237c5ead818800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"996034260851071096","buyAmount":"993192819567864978","buyAmountMinusFees":"984750680601538126","buyAmountDisplay":"984750680601538126","buyAmountDisplayMinimum":"974903173795522746","buyAmountInEth":"984750680601538126","tradeAmountUSD":2490.4940261746265,"tradeFeeAmountUSD":21.10880869279332,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.10880869279332,"available":true}},"fee":"8442138966326852","feeInEth":"8442138966326852","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json new file mode 100644 index 0000000000..30ff605a49 --- /dev/null +++ b/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004097.09165418,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456963.70353855,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000015cd8af3e4fe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a25c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a749c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a63ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a334ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff12e6ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000221046984f1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414cb06767961025307c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ed91e13ce614ad8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73ee54240651e98dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c441a6e0e5c3e9bc15dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2e8d5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dcf2c1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ae16e8ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d29b703ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d5e7d3ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926d14750000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5bee92ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a6156dcf00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c2c0d4ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f83445892c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172ab5d3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e251c2cf9ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f73aa812d000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429675000","buyAmount":"24461779304749","buyAmountMinusFees":"24461779304749","buyAmountDisplay":"24461779304749","buyAmountDisplayMinimum":"23972543718655","buyAmountInEth":"9781181367671121690067","tradeAmountUSD":25004097.09165418,"tradeFeeAmountUSD":212534.82527906055,"value":"9999998836852429675000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":1},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":12.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.82527906055,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652237","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json new file mode 100644 index 0000000000..604b254ed5 --- /dev/null +++ b/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2478.072023661925,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000003602102000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3575225","buyAmountMinusFees":"3575225","buyAmountDisplay":"3575225","buyAmountDisplayMinimum":"3539473","buyAmountInEth":"991066274595736368","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json b/e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json b/e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json new file mode 100644 index 0000000000..716cb70de7 --- /dev/null +++ b/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.385219257,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.390655626,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000015cb9c8cd2eb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a740c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a1cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a29eee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff05ceee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000221046722dcee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0ab97ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f5d4e0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c3300f682ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8ef8e00ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f4ff1eee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a12bb0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005932230854ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac019deee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c5101c700a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c2822eee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343da59c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172684bbee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2514c605ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2c6ebc000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020000","buyAmount":"24453315325628","buyAmountMinusFees":"24453315325628","buyAmountDisplay":"24453315325628","buyAmountDisplayMinimum":"23964249019116","buyAmountInEth":"9777796997554651453386","tradeAmountUSD":25004095.385219257,"tradeFeeAmountUSD":212534.8107743637,"value":"9999998154390384020000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8107743637,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264170","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json b/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json b/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json b/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json b/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json b/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json new file mode 100644 index 0000000000..7ea09e2bf5 --- /dev/null +++ b/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456966.508313283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000016067f7993cf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31cac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b432ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77eb9ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724d11ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728f165ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226942598b3ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001449402fdde0101109dac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142dbcdce93e6111dc28ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e7b46523b9bf535c9ebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014fa812b4c8894712d1c7ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000440aa5931cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875eeaac2fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cc043e76b2ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197ab599dffee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000037160fb7a42ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0001c00000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021ea2014d400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000013133936a97ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b448b4a0000a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003852671efdee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a691a5bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3d6ef41ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44e2ad56ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f73d54f7c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"24461782110076","buyAmountMinusFees":"24461782110076","buyAmountDisplay":"24461782110076","buyAmountDisplayMinimum":"24217164288976","buyAmountInEth":"9781182489397053429531","tradeAmountUSD":25004100,"tradeFeeAmountUSD":212534.84999999998,"value":"10000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"LITEPSM_USDC","part":12.5},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"MAVERICK_V2","part":2.25},{"name":"SUSHI","part":1},{"name":"UNISWAP_V3","part":70.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.84999999998,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json b/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json b/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json b/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json new file mode 100644 index 0000000000..1dde06813e --- /dev/null +++ b/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json @@ -0,0 +1,660 @@ +{ + "meta": { + "addresses": ["0xa0Ee7A142d267C1f36714E4a8F75612F20a79720"], + "errors": [], + "currency": "usd", + "status": "ok", + "chain_ids": [ + 1, 10, 56, 137, 8453, 33139, 42161, 43114, 81457, 7777777, 666666666 + ], + "addresses_with_errors": [], + "chain_ids_with_errors": [] + }, + "payload": { + "assets": [ + { + "quantity": "400000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0xb01bf38d1a93090731afd004e22bd17c0d5fc8dd", + "decimals": 18, + "icon_url": "", + "name": "Mentario", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "MIO", + "colors": { "primary": "#6A87C8" }, + "networks": { + "56": { + "address": "0xb01bf38d1a93090731afd004e22bd17c0d5fc8dd", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "10", + "small_balance": true, + "asset": { + "asset_code": "0x54d7afa7c764e1cf6fbefe9ff8239c0b117fd70d", + "decimals": 0, + "icon_url": "", + "name": "FAST PROFIT", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "FP", + "colors": { "primary": "#FFDD86" }, + "networks": { + "56": { + "address": "0x54d7afa7c764e1cf6fbefe9ff8239c0b117fd70d", + "decimals": 0 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "1200000", + "small_balance": true, + "asset": { + "asset_code": "0x8319d05e9dceecec5a575684b8f30b0c12c904dc", + "decimals": 8, + "icon_url": "", + "name": "FUSE", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "FUSE", + "colors": { "primary": "#FF949A" }, + "networks": { + "56": { + "address": "0x8319d05e9dceecec5a575684b8f30b0c12c904dc", + "decimals": 8 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "16000", + "small_balance": true, + "asset": { + "asset_code": "0x0000000000000000000000000000000000000000", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xb8c77482e45f1f44de1745f52c74426c631bdd52.png", + "name": "BNB", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 565.69426719, + "changed_at": 1730476401, + "relative_change_24h": -2.1192494379933757 + }, + "symbol": "BNB", + "type": "native", + "colors": { "primary": "#f3ba2f", "fallback": "#F8D888" }, + "networks": { + "1": { + "address": "0xb8c77482e45f1f44de1745f52c74426c631bdd52", + "decimals": 18 + }, + "56": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "137": { + "address": "0x3ba4c387f786bfee076a58914f5bd38d668b42c3", + "decimals": 18 + }, + "42161": { + "address": "0x20865e63b111b2649ef829ec220536c82c58ad7b", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": false, + "networks": { + "1": { "bridgeable": false }, + "137": { "bridgeable": false }, + "42161": { "bridgeable": false } + } + }, + "probable_spam": false, + "verified": true, + "transferable": true, + "mainnet_address": "0xb8c77482e45f1f44de1745f52c74426c631bdd52" + } + }, + { + "quantity": "10", + "small_balance": true, + "asset": { + "asset_code": "0xe253ca0268b0cfeae37ad30972c771b0753e7e05", + "decimals": 0, + "icon_url": "", + "name": "META BNB", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "MBNB", + "colors": { "primary": "#C5DADB" }, + "networks": { + "56": { + "address": "0xe253ca0268b0cfeae37ad30972c771b0753e7e05", + "decimals": 0 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "240000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0xafa6bcde9c014699a4aaf1f6e17ca0038f46ff21", + "decimals": 18, + "icon_url": "", + "name": "TestCoin", + "network": "bsc", + "chain_id": 56, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "TCT", + "colors": { "primary": "#6A87C8" }, + "networks": { + "56": { + "address": "0xafa6bcde9c014699a4aaf1f6e17ca0038f46ff21", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "2488", + "small_balance": true, + "asset": { + "asset_code": "0x0000000000000000000000000000000000001010", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png", + "name": "Polygon Ecosystem Token", + "network": "polygon", + "chain_id": 137, + "price": { + "value": 0.3131890240000001, + "changed_at": 1730476401, + "relative_change_24h": -2.8802961483251233 + }, + "symbol": "POL", + "type": "native", + "colors": { "primary": "#2891F9", "fallback": "#81D5F8" }, + "networks": { + "1": { + "address": "0x455e53cbb86018ac2b8092fdcd39d8444affc3f6", + "decimals": 18 + }, + "137": { + "address": "0x0000000000000000000000000000000000001010", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": false, + "networks": { "1": { "bridgeable": false } } + }, + "probable_spam": false, + "verified": true, + "transferable": true, + "mainnet_address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" + } + }, + { + "quantity": "100000000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0x187578816b28f4a39fc6a889d8bb904a66385324", + "decimals": 18, + "icon_url": "", + "name": "QuantumaraV1", + "network": "polygon", + "chain_id": 137, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "QMA", + "colors": { "primary": "#E95D72" }, + "networks": { + "137": { + "address": "0x187578816b28f4a39fc6a889d8bb904a66385324", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "100000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0xf5e8f95ffe487e722639eb822093409bff7b3baf", + "decimals": 18, + "icon_url": "", + "name": "Checkem", + "network": "polygon", + "chain_id": 137, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "CHKM", + "colors": { "primary": "#FF9A23" }, + "networks": { + "137": { + "address": "0xf5e8f95ffe487e722639eb822093409bff7b3baf", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "200000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0x835d1867cf1425789a02f771226677cb491980b7", + "decimals": 18, + "icon_url": "", + "name": "UnitedBlockchainToken", + "network": "polygon", + "chain_id": 137, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "UBT", + "colors": { "primary": "#FF9A23" }, + "networks": { + "137": { + "address": "0x835d1867cf1425789a02f771226677cb491980b7", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "150330000000", + "small_balance": true, + "asset": { + "asset_code": "0x0000000000000000000000000000000000000000", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "arbitrum", + "chain_id": 42161, + "price": { + "value": 2487.41, + "changed_at": 1730476401, + "relative_change_24h": -3.3833343061148935 + }, + "symbol": "ETH", + "type": "native", + "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": true, + "networks": { + "1": { "bridgeable": true }, + "10": { "bridgeable": true }, + "56": { "bridgeable": true }, + "8453": { "bridgeable": true }, + "81457": { "bridgeable": true }, + "7777777": { "bridgeable": true } + } + }, + "probable_spam": false, + "verified": true, + "transferable": true, + "mainnet_address": "eth" + } + }, + { + "quantity": "1000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0x50b4f916b2b68c9288a94df76e29649dafd1c1fb", + "decimals": 18, + "icon_url": "", + "name": "TS", + "network": "arbitrum", + "chain_id": 42161, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "TS", + "colors": { "primary": "#6A87C8" }, + "networks": { + "42161": { + "address": "0x50b4f916b2b68c9288a94df76e29649dafd1c1fb", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": true, + "transferable": true + } + }, + { + "quantity": "57400846687", + "small_balance": true, + "asset": { + "asset_code": "0x0000000000000000000000000000000000000000", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "blast", + "chain_id": 81457, + "price": { + "value": 2483, + "changed_at": 1730476401, + "relative_change_24h": -3.3833343061148935 + }, + "symbol": "ETH", + "type": "native", + "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": true, + "networks": { + "1": { "bridgeable": true }, + "10": { "bridgeable": true }, + "56": { "bridgeable": false }, + "8453": { "bridgeable": true }, + "42161": { "bridgeable": true }, + "7777777": { "bridgeable": true } + } + }, + "probable_spam": false, + "verified": true, + "transferable": true, + "mainnet_address": "eth" + } + }, + { + "quantity": "49792635071", + "small_balance": true, + "asset": { + "asset_code": "0x0000000000000000000000000000000000000000", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "base", + "chain_id": 8453, + "price": { + "value": 2483, + "changed_at": 1730476401, + "relative_change_24h": -3.3833343061148935 + }, + "symbol": "ETH", + "type": "native", + "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": true, + "networks": { + "1": { "bridgeable": true }, + "10": { "bridgeable": true }, + "56": { "bridgeable": false }, + "42161": { "bridgeable": true }, + "81457": { "bridgeable": true }, + "7777777": { "bridgeable": true } + } + }, + "probable_spam": false, + "verified": true, + "transferable": true, + "mainnet_address": "eth" + } + }, + { + "quantity": "9960", + "small_balance": true, + "asset": { + "asset_code": "eth", + "decimals": 18, + "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "mainnet", + "chain_id": 1, + "price": { + "value": 2483, + "changed_at": 1730476401, + "relative_change_24h": -3.3833343061148935 + }, + "symbol": "ETH", + "type": "native", + "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "bridging": { + "bridgeable": true, + "networks": { + "10": { "bridgeable": true }, + "56": { "bridgeable": true }, + "8453": { "bridgeable": true }, + "42161": { "bridgeable": true }, + "81457": { "bridgeable": true }, + "7777777": { "bridgeable": true } + } + }, + "probable_spam": false, + "verified": true, + "transferable": true + } + }, + { + "quantity": "45101000000000000000000", + "small_balance": true, + "asset": { + "asset_code": "0x7d97d9dfa4b4da6c193ce2d73be170c47018543e", + "decimals": 18, + "icon_url": "", + "name": "Extremely Cool Test Token WOOOW", + "network": "mainnet", + "chain_id": 1, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "WOOW", + "colors": { "primary": "#9BA1A4" }, + "networks": { + "1": { + "address": "0x7d97d9dfa4b4da6c193ce2d73be170c47018543e", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + }, + { + "quantity": "3892770690740909226214", + "small_balance": true, + "asset": { + "asset_code": "0x2145eaec86935b0414754caa4d8c1582d433c73e", + "decimals": 18, + "icon_url": "", + "name": "All your base are belong to us", + "network": "mainnet", + "chain_id": 1, + "price": { + "value": 0, + "changed_at": 1730476401, + "relative_change_24h": 0 + }, + "symbol": "AYBABTU", + "colors": { "primary": "#71ABFF" }, + "networks": { + "1": { + "address": "0x2145eaec86935b0414754caa4d8c1582d433c73e", + "decimals": 18 + } + }, + "bridging": { "bridgeable": false, "networks": {} }, + "probable_spam": false, + "transferable": true + } + } + ] + } +} diff --git a/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json b/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json b/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json b/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json b/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json b/e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json b/e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json b/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json b/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json b/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json new file mode 100644 index 0000000000..7f670a489f --- /dev/null +++ b/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.4904083599999998e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":0.22696631010100415,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000000000000026940000000000000000000000000000000000000000000000000000000000036de400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000046300000000000000000000000000000000000000000000000000000000044500a007e5c0d20000000000000000000000000000000000000004210001b10000c100001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db000a0bd46a343021a44e35d5451e0b78621a1b3e7a53dfaa306b1d000000000000000000000051babc7d08ef73fe3fb67efd900f4471cca788b089900000000000000000000069d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f4edfad26ee0d23b69ca93112ecce52704e0006f000000000000000000000000ae78736cd615f374d3085123a210448e74fc639351200ec8c15e458e056c96bd6945fe3f80ee1105035eae78736cd615f374d3085123a210448e74fc63930044e331d039000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051bec5aeb61200000000000000000000000042f527f50f16a103b6ccab48bccca214500c10210000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120111111125421ca6dc452d289314280a0f8842a65ae7ab96520de3a18e5e111b5eaab095312d7fe84012456a758688f4aec4a3339b8b392c33c51cf8585bcf02293fc3f567eac57484f4c065c3350000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000000000000376d600000000000000000000000000000000000000000000000000005292275b2484000000000000000000000000000001bcdd006724fbf5000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004108a78dc11ff7d692170c1a10a01e523fd4aa8f5b1d24016304c27a3a7723a621394f114569ad3dfa439556e8e84538b3759bd20d42031c12965f8a3b72ea6dd81b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"227011","buyAmountMinusFees":"227011","buyAmountDisplay":"227011","buyAmountDisplayMinimum":"224741","buyAmountInEth":"90771637491853","tradeAmountUSD":2.4904083599999998e-11,"tradeFeeAmountUSD":2.1003444e-13,"value":"9960","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"ONE_INCH_LP_1_1","part":33.33333333},{"name":"PMM15","part":33.33333333},{"name":"BALANCER_V2","part":33.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.1003444e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json new file mode 100644 index 0000000000..b724e5cee0 --- /dev/null +++ b/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999072.42591346,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24443658.453581896,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629967518d5866de000000000000000000000000000000000000000000000000000016036e07d771000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb58c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5b6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea44a39ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7868ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696fa12ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002267846d1a1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5f081edeee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cfe795e8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee1e54783ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0c49ac481ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfa05561a9ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0c647c6b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1692372eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c270ec3127ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c03841a06c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8ebd4dee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d6172ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd931aee31ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeed37fbfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163c5a7486df000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9997989300120165687090","buyAmount":"24448471434975","buyAmountMinusFees":"24448471434975","buyAmountDisplay":"24448471434975","buyAmountDisplayMinimum":"24203986720626","buyAmountInEth":"9775860140369738425904","tradeAmountUSD":24999072.42591346,"tradeFeeAmountUSD":212492.11562026443,"value":"9997989300120165687090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.11562026443,"available":true}},"fee":"84982909051021408340","feeInEth":"84982909051021408340","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json b/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json new file mode 100644 index 0000000000..9a3a6cc1d5 --- /dev/null +++ b/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999069.18477286,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24452116.427791107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000016056138dbee0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb4fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea449b1ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7747ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696df9fee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022678423b34ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014483a84603cd6f1fcf8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142cbb15efefec1bd0aaee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e79bc7713e38f27348bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014f977aaa7dc0239590f1ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000044072e247eee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875804f249c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cbf9dc956eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197969dd414ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000371340464acee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e865b43d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001312406544bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b0efaecd900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8e4518ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d524fac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd9312e332ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeec54bcbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163e52b06208000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508667090","buyAmount":"24456931074568","buyAmountMinusFees":"24456931074568","buyAmountDisplay":"24456931074568","buyAmountDisplayMinimum":"24212361763823","buyAmountInEth":"9779242775301294707992","tradeAmountUSD":24999069.18477286,"tradeFeeAmountUSD":212492.0880705693,"value":"9997988003876508667090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":0.5},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":1},{"name":"LITEPSM_USDC","part":12.5},{"name":"DODO","part":0.25}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.0880705693,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323670","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json new file mode 100644 index 0000000000..a9e2a6631e --- /dev/null +++ b/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999072.419073477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24452119.546397053,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629964da0c1ce59c000000000000000000000000000000000000000000000000000016056167fa8a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb58c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5b6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea44a39ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7867ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696fa12ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002267846d1a1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014483aaf71364e72d522c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142cbb405cebd5e475acee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e79bcb7e646f9fec929c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014f977d65b6bd00ae6584ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000044072eb68cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000087580614e4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cbf9de4adfee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000019796a13da6ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000371340bcb31ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e865fd0c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001312408e381ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b0f03bda900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8ebd0dee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d616abc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd931ae9d9ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeed37813ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163e52dffa7c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9997989297384621033178","buyAmount":"24456934193788","buyAmountMinusFees":"24456934193788","buyAmountDisplay":"24456934193788","buyAmountDisplayMinimum":"24212364851851","buyAmountInEth":"9779244022539125021668","tradeAmountUSD":24999072.419073477,"tradeFeeAmountUSD":212492.11556212456,"value":"9997989297384621033178","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"LITEPSM_USDC","part":12.5},{"name":"CURVE","part":7.75},{"name":"SUSHI","part":1},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V3","part":70.25},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.11556212456,"available":true}},"fee":"84982909027769278782","feeInEth":"84982909027769278782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json b/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json new file mode 100644 index 0000000000..bf9c17946a --- /dev/null +++ b/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":23535574.92098267,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007d3af7f8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000136c00000000000000000000000000000000000000134e0013200012d60012bc00a0c9e75c480000000000000006030100000000000000000000000000000000000000000000128e000a2c00077200a007e5c0d200000000000000000000000000000000000000074e00068200066800031b00a0c9e75c480000000000150f0803030000000000000000000000000000000002ed0002600001d30001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000221e621223c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000002231eee916ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005b47db3323ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000ab14614eaeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000eee5ccb1d0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000002806030100000000000000000000000000000000000000031f00020f00015f00011049025b6a0771c752e35b2ca2aff4f22a66b1598a2bc5dac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044480fc2a4492231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c4800000000000000002f0300000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000000c460423ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a000000000000000000000000000000000000000000000000000000000c03c26e5ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c480000000000001a11050200000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000017f4e0e5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000003c5d64f5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000d35679bfee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000013bd06a53ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000083e0005d20005b800028e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004355939ca7ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000086dfc13ae4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000047ab0472ba0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000007ecb1ca72f8ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000002009030202020000000000000000000000000002fc00024c0001fd0001cf0001800000b05100debf20617708857ebe4f679508e7b7863a8a8eeea0b86991c6218b36c1d19d4a2e9eb0ce3606eb480044a6417ed600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087207ba7df51001116898dda4015ed8ddefb84b6e8bc24528af2d8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800449169558600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087212facce00000000000000000000000000000000000000000000000000000000672b934802a00000000000000000000000000000000000000000000000000000008722193829ee63c1e50104c8577958ccc170eb3d2cca76f9d51bc6e42d8fa0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0a87a1ae8c9f93163c99695c6526b799ebca2207fdf7d61ada0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a00000000000000000000000000000000000000000000000000000026019bc7efbee63c1e5013416cf6c708da44db2624d63ea0aaef7113527c6a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df0212400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000871f83f8ed60020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000002709010100000000000000000000000000000000000000023e0001ef0001a00000d05100d51a44d3fae010294c616388b506acda1bfaae46dac17f958d2ee523a2206206994597c13d831ec70044394747c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017ee1ed700000000000000000000000000000000000000000000000000000000000000005100f5f5b97624542d72a9e06f04804bf81baa15e2b4dac17f958d2ee523a2206206994597c13d831ec70044394747c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018272e74000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000d81dcdd7ee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000000039b810f74ee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec70020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000007e7ecbee700000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"33955823335","buyAmountMinusFees":"33955823335","buyAmountDisplay":"33955823335","buyAmountDisplayMinimum":"33616265102","buyAmountInEth":"9412686287841862450895","tradeAmountUSD":25004100,"tradeFeeAmountUSD":212534.84999999998,"value":"10000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":3.333333333},{"name":"DODO","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.111111111},{"name":"SYNAPSE","part":0.4444444444},{"name":"UNISWAP_V2","part":2.444444444},{"name":"MAVERICK_V2","part":9.111111111},{"name":"CURVE","part":8.888888889},{"name":"BALANCER_V2","part":0.6666666667},{"name":"CURVE_V2","part":0.2222222222},{"name":"CURVE_V2_TRICRYPTO_NG","part":0.2222222222},{"name":"UNISWAP_V3","part":72.88888889}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.84999999998,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json b/e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json new file mode 100644 index 0000000000..a388f599b3 --- /dev/null +++ b/e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json @@ -0,0 +1 @@ +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json b/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json b/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json b/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json b/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json new file mode 100644 index 0000000000..839e991323 --- /dev/null +++ b/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":47.81806598790465,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000044865e637d8a4f0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006724fc0400000000000000000000000000000000000000006724fbc70000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf6f5e7810658a22fb059c534af75fc68c0b1792fb68c5037c38f1ecb81643442531aef6121778232c9ca948274e90c4696ea354ddef4c4cce528688c7b5582040000000000000000000000000000000000000000000000000000000002faf080869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000010788794117190e3deef2562","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19288038370544207","buyAmountMinusFees":"19124090044394582","buyAmountDisplay":"19124090044394582","buyAmountDisplayMinimum":"191240900443947","buyAmountInEth":"19124090044394582","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4099380341877838,"value":"0","gasPrice":"19580000000","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4099380341877838,"available":true}},"fee":"163948326149625","feeInEth":"163948326149625","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json b/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json b/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json new file mode 100644 index 0000000000..6685a8a97b --- /dev/null +++ b/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.530070126913803,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378369,"available":true},"totalPrice":{"value":1.5176841664326948,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000016ee530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586871b8cb355e1d2c660cda646699a11fcb6ac4c9fa8dbc4727481c222caf80af8e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000017295b000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000001bcb9006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041316ce83806e37e7d816e8908bb9d58c06d34bc36bd4053670a3601d58032ce3e0954598738f064ce234e85f89990395a1ffa13db110ee0d224d31b53d482ff9f1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"1517983","buyAmountMinusFees":"1517983","buyAmountDisplay":"1517983","buyAmountDisplayMinimum":"1502804","buyAmountInEth":"606974122816936","tradeAmountUSD":1.530070126913803,"tradeFeeAmountUSD":0.013005596078765762,"value":"611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.013005596078765762,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json b/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json b/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json new file mode 100644 index 0000000000..9c2b530686 --- /dev/null +++ b/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004097.09165418,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448503.035128824,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000016048bf57990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31c2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b431dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e3fee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724c0dee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728dc3cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022694217403ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639cd49aee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d90631b1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9c499eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc52aa8ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde09ec23ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead50370000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b23c986ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c40c19ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075eeb4b500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000385266b31fee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a690cc6ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cfb7aeee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d5eebdee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b4587b9000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429675000","buyAmount":"24453316970425","buyAmountMinusFees":"24453316970425","buyAmountDisplay":"24453316970425","buyAmountDisplayMinimum":"24208783800721","buyAmountInEth":"9777797655236072317077","tradeAmountUSD":25004097.09165418,"tradeFeeAmountUSD":212534.82527906055,"value":"9999998836852429675000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.82527906055,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652237","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json b/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json b/e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json new file mode 100644 index 0000000000..a388f599b3 --- /dev/null +++ b/e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json @@ -0,0 +1 @@ +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json b/e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json b/e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json new file mode 100644 index 0000000000..311c7ec6da --- /dev/null +++ b/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001619.580935348,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446114.32233582,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000015cb11167fba000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204f96c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000084571e3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03ea24ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000085134e33ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b7ddbeee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6d1260bee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005977a4ada5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203831ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c5075efee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebcca94282ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b377dc3246ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c990cd2800000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592fe8923bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdef9bcbc7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40e3bd8c600a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf5f71c1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f80787661c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff64d61bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfb213afbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163cecdd7d1c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057592","buyAmount":"24450927787292","buyAmountMinusFees":"24450927787292","buyAmountDisplay":"24450927787292","buyAmountDisplayMinimum":"23961909231547","buyAmountInEth":"9776842326792735537375","tradeAmountUSD":25001619.580935348,"tradeFeeAmountUSD":212513.76643795046,"value":"9999007995062950057592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.76643795046,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075489","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json b/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json b/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json b/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/urls.json b/e2e/urls.json new file mode 100644 index 0000000000..22ccbefb84 --- /dev/null +++ b/e2e/urls.json @@ -0,0 +1,174 @@ +{ + "urls": [ + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xff970a61a04b1ca14834a43f5de4533ebddb5cc8&chainId=1¤cy=USD&fromAddress=0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc&refuel=false&sellAmount=1000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&toChainId=42161", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999007995062950057592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2510657864", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=undefined&toChainId=42161&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x0000000000000000000000000000000000001010&chainId=1&sellToken=eth&toChainId=137&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&buyAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996982823151043603690", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01533215", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.984138834155356203", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989300120165687090", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9998994908517291596490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996475296478968045", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.996475296478968045", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03805202", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699952", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998358877292100000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2490.984407", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2490984407", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2490984407", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03691288", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03793298", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99263622658738006", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03694857", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2508601845", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.992850717515502892", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998293713846870000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=eth&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&slippage=5&sellAmount=100000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&buyAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999007995062950057592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999013234332130657592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9960", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&sellAmount=0.00000015033", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=5", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0x4200000000000000000000000000000000000042&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=10", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1&sellToken=eth&toChainId=56&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=137", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&slippage=1&buyAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997988003876508667090", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01535875", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989297384621033178", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.989297384621033178", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998358877292100000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699737", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0380476", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2500885809", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03693362", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=50000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=50", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=5", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9960", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=50", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=99&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2510657864", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=99&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=undefined&toChainId=10&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=1000000000000000000&sellToken=0x4200000000000000000000000000000000000042&slippage=2&toChainId=42161", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=eth&toChainId=10&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=42161", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=eth&toChainId=42161&sellAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01530994", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&sellAmount=0", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9996982823151043603690", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984138834155356203", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0381087", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996478239664711490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998325952559545000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998325952559545000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998154390384020000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2500885809", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998244640204720000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03799746", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2508601845", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998293713846870000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=5000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999013234332130657592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=5000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2510.657864", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.997006106694155433", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998836852429675000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998836852429675000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&sellAmount=1", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=56", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=6119276.94623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984137735925408690", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9997988003876508667090", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998994908517291596490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03708068", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=1000000006119276.94623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99179708219475168", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998154390384020000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2500.885809", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998244640204720000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2508.601845", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=402024595864775", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000402024595864775", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000" + ] +} diff --git a/scripts/e2e-serial-tests.sh b/scripts/e2e-serial-tests.sh index 8aa57a1f27..a4b22f66b5 100755 --- a/scripts/e2e-serial-tests.sh +++ b/scripts/e2e-serial-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash ANVIL_PORT=8545 -MAX_RETRIES=5 +MAX_RETRIES=1 RETRY_COUNT=0 # Function to launch and verify Anvil diff --git a/src/entries/popup/index.ts b/src/entries/popup/index.ts index 64acf80f91..cd80af5aaa 100644 --- a/src/entries/popup/index.ts +++ b/src/entries/popup/index.ts @@ -13,6 +13,9 @@ require('../../core/utils/lockdown'); initThemingLocal(); syncStores(); +// if (process.env.IS_TESTING === 'true') +await import('../../../e2e/mockFetch').then((m) => m.mockFetch()); + const domContainer = document.querySelector('#app') as Element; const root = createRoot(domContainer); root.render(createElement(App)); From 1cd7b09dd543c6ff90be66ceedf7dbca53087e5e Mon Sep 17 00:00:00 2001 From: gregs Date: Mon, 4 Nov 2024 12:22:24 -0300 Subject: [PATCH 03/24] response --- e2e/mockFetch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/mockFetch.ts b/e2e/mockFetch.ts index f6b0ca8edb..f62a9a3dab 100644 --- a/e2e/mockFetch.ts +++ b/e2e/mockFetch.ts @@ -17,10 +17,10 @@ export function mockFetch() { if (!response) throw new Error('no response for request', { - cause: { url: url.toString(), hash }, + cause: { url: url.href, hash }, }); - return Promise.resolve(response); + return new Response(response); } return nativeFetch(input, init); From 2119c2dbb56a2ff424cfab5c96bcc68a402f5f7c Mon Sep 17 00:00:00 2001 From: gregs Date: Tue, 5 Nov 2024 00:24:42 -0300 Subject: [PATCH 04/24] popular in rainbow --- .../{tokenDiscovery.ts => popularInRainbow.ts} | 16 ++++++++-------- .../popup/hooks/useSearchCurrencyLists.ts | 5 ++--- 2 files changed, 10 insertions(+), 11 deletions(-) rename src/core/resources/search/{tokenDiscovery.ts => popularInRainbow.ts} (68%) diff --git a/src/core/resources/search/tokenDiscovery.ts b/src/core/resources/search/popularInRainbow.ts similarity index 68% rename from src/core/resources/search/tokenDiscovery.ts rename to src/core/resources/search/popularInRainbow.ts index e7a1c92ed3..666fb062ad 100644 --- a/src/core/resources/search/tokenDiscovery.ts +++ b/src/core/resources/search/popularInRainbow.ts @@ -7,21 +7,21 @@ import { SearchAsset } from '~/core/types/search'; import { parseTokenSearch } from './parseTokenSearch'; -const tokenSearchDiscoveryHttp = createHttpClient({ +const popularInRainbowHttp = createHttpClient({ baseUrl: 'https://token-search.rainbow.me/v3/discovery', timeout: 30000, }); -const tokenDiscoveryQueryKey = ({ chainId }: { chainId: ChainId }) => +const popularInRainbowQueryKey = ({ chainId }: { chainId: ChainId }) => createQueryKey('TokenDiscovery', { chainId }, { persisterVersion: 1 }); -async function tokenSearchQueryFunction({ +async function popularInRainbowQueryFunction({ queryKey: [{ chainId }], -}: QueryFunctionArgs) { +}: QueryFunctionArgs) { const url = `/${chainId}`; try { - const tokenSearch = await tokenSearchDiscoveryHttp.get<{ + const tokenSearch = await popularInRainbowHttp.get<{ data: SearchAsset[]; }>(url); return tokenSearch.data.data.map((asset) => @@ -32,7 +32,7 @@ async function tokenSearchQueryFunction({ } } -export function useTokenDiscovery({ +export function usePopularInRainbow({ chainId, select, }: { @@ -40,8 +40,8 @@ export function useTokenDiscovery({ select?: (data: SearchAsset[]) => T; }) { return useQuery({ - queryKey: tokenDiscoveryQueryKey({ chainId }), - queryFn: tokenSearchQueryFunction, + queryKey: popularInRainbowQueryKey({ chainId }), + queryFn: popularInRainbowQueryFunction, staleTime: 15 * 60 * 1000, // 15 min gcTime: 24 * 60 * 60 * 1000, // 1 day select, diff --git a/src/entries/popup/hooks/useSearchCurrencyLists.ts b/src/entries/popup/hooks/useSearchCurrencyLists.ts index 6a79c986dd..754ce630ab 100644 --- a/src/entries/popup/hooks/useSearchCurrencyLists.ts +++ b/src/entries/popup/hooks/useSearchCurrencyLists.ts @@ -6,7 +6,7 @@ import { Address } from 'viem'; import { SUPPORTED_CHAINS } from '~/core/references/chains'; import { useAssetSearchMetadataAllNetworks } from '~/core/resources/assets/assetMetadata'; import { useTokenSearch } from '~/core/resources/search'; -import { useTokenDiscovery } from '~/core/resources/search/tokenDiscovery'; +import { usePopularInRainbow } from '~/core/resources/search/popularInRainbow'; import { useTokenSearchAllNetworks } from '~/core/resources/search/tokenSearch'; import { useTestnetModeStore } from '~/core/state/currentSettings/testnetMode'; import { ParsedSearchAsset } from '~/core/types/assets'; @@ -275,14 +275,13 @@ export function useSearchCurrencyLists({ }, ); - const { data: popularAssets = [] } = useTokenDiscovery({ + const { data: popularAssets = [] } = usePopularInRainbow({ chainId: outputChainId, select(popularAssets) { if (!query) return popularAssets.slice(0, 3); const a = popularAssets.filter((asset) => queryMatchesAsset(query, asset), ); - console.log('popularAssets', { a }); return a; }, }); From a5e1c8f55ae17ba9507f0068737ca3e39e684bea Mon Sep 17 00:00:00 2001 From: gregs Date: Tue, 12 Nov 2024 19:46:30 -0300 Subject: [PATCH 05/24] dad can you come pick me up im scared --- e2e/fetchResponses.ts | 11 +- e2e/mockFetch.ts | 27 +- e2e/mocks/mock_swap_quotes_urls.json | 37 + ...ac6c7acead26c6fbd4593ac6840211a966072.json | 0 ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 145 ++ ...0528143a50bb300b9461457d46c445f5f439d.json | 0 ...2874c56de2ef59667a8347ca9dd9412b00323.json | 0 ...ff452497dae4a18eb4ff2202f85e62d381733.json | 2 +- ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 1 + ...341249fe74c24c68b2598964074187873f2ed.json | 0 ...214d6e5a8da3995979e418f485bb55744c15d.json | 0 ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 1 + ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 1 + ...6cc07c56055917e72180d8fc5edf84aa32294.json | 1 + ...66063cd07c1950ec3e5cfe5a5113557cf8e27.json | 0 ...749a11c10eb73c2b2a393932fe283b46db182.json | 0 ...486d626d77e2a94319438381588727f374885.json | 0 ...3743c1005992a1d946a7e393ecaecdf54b634.json | 0 ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 1 + ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 1 + ...a2d931fb516d24ee2fb2a31d5ea109f17518a.json | 0 ...0832a595eee05335e634b8b4777d2e688fcde.json | 1 + ...48003d87b2258ba07063b691b31b205b7656c.json | 1 + ...6dda15a1e718768e1d16afb87a69a2e04753c.json | 0 ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 1 + ...98312e46c68a34c0c0bc5c17732944b249bbf.json | 0 ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 1 + ...bafed7138997a2158b5805084eb9a5285d60a.json | 0 ...60b50641bc80e0b98b4cb34d69916a87fd00b.json | 0 ...02386980a8460ac11d3a0b87b2679bce1909e.json | 1 + ...17ef2b6a391229f1a73de98e4f4ef829b7bc7.json | 0 ...af3ec343beb1d49a5213cbd69eab8cc9f7653.json | 0 ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 1 + ...eb5e727d4c91a6a12cf2f6494cda55145e9df.json | 0 ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 1 + ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 1 + ...ffb96d87c47a6beda5545d0b71edbfe204782.json | 0 ...d1f99c2320f2f82efe312a8583250ce632527.json | 0 ...4762cc774ca5c6f734e4efcaefd73cdd364aa.json | 0 ...2799eb086ed6981a208b8574a3d9886d95702.json | 1 - ...16a1473a0e7b4d661ef5f420cf46fd919813b.json | 1 - ...5bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 1 - ...c739e2a1a737497781513fe28049fc588da14.json | 1 - ...303370f9b4a58c389da6e30cfb5b32b70770b.json | 1 - ...6066699fd1060c241779e3add6232f89e343a.json | 1 - ...1b89fb0dd5458096b3fc57611ec2af361f294.json | 1 - ...60eb387a0d298281df46b7a7d93825a288609.json | 1 - ...fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json | 1 - ...454e78e38b11035c362d16cf1f99517c17e5c.json | 1 - ...136d7a9877e65f829336d06bb78ac9519db5c.json | 1 - ...11edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 1 - ...c420bbb17e5181d59b05fb2faa4e2240b66d9.json | 1 - ...f54b3895736fea6a134746cb02fdf7c77eef9.json | 1 - ...292c6de1c79101ac53e75dd7ea6dd6a91aec0.json | 1 - ...4c502216ee64f288f2030a7752a2856fe6c5e.json | 1 - ...890b77a472475b02eeeefcd097424eb252571.json | 1 - ...170f5302ea1441ff1de0d5a4d1b4e21fba289.json | 1 - ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 1 - ...8ed35d327ab264e51f08388ab3cdd48277dab.json | 1 - ...65df60cac4a76c55ba8396447e7bb39df9564.json | 1 - ...82a4a05f57a74a3d9c103bc50e71ace079371.json | 1 - ...0e44269c6608952e0e07af0729a344914ab0c.json | 1 - ...a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 1 - ...0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 1 - ...1a826a5df474624d13a377d10396721866275.json | 1 - ...f10c31bb0eb22f34db1a99b813f69e3d1393d.json | 1 - ...f6ee94e11151f1b6fd091a8d7fec4253917fa.json | 1 - ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 1 - ...2d9450db0f0266936fbafb0d9855a9390d3b2.json | 1 - ...ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 1 - ...2bb3cfa7f3e8f0431fefad03935708fc32334.json | 1 - ...1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json | 1 - ...f19663913d77ee4cf072b374997b23cf7b3d2.json | 1 - ...4fb2522ae9fc86ba795f24d2ad83dfe167880.json | 1 - ...17601fb8a2e3ac6ee669a4648b026a9c298b8.json | 1 - ...2687af80b253dc1cf535b42b3e03db04acc54.json | 1 - ...6d11143dac6fcff8195ca815c0c65ab208cd3.json | 1 - ...7cebee5db4803e040b797300038eae7cdcf91.json | 1 - ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 1 - ...2ec462b53950e07e59a46092990d81453c1b1.json | 1 - ...45da2605f262260b318098555a15ff38648d1.json | 1 - ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 1 - ...fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 1 - ...6cc07c56055917e72180d8fc5edf84aa32294.json | 1 - ...0fbff89b16ee4b2ed87e39639b8d39feab58a.json | 1 - ...6d9d6f013480a2e3659f9f6a497fa5c7c0999.json | 1 - ...6d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 1 - ...51b698080dedc9238880bc9079f7eacfd2e5c.json | 1 - ...e73d946f4b44e20ad5c5893ae6d6c7d174f67.json | 1 - ...d1ab0946ee5aa2177f20baab2c5509df04be9.json | 1 - ...fd6c870d4d65d34a79ad469fb83607f780b71.json | 1 - ...4f4f3f856d24e9e656f67861ed978d72c0661.json | 1 - ...41fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json | 1 - ...3f12440be839615a3cebaf7f65bcc5f707d29.json | 1 - ...ac467b41b9c8c9bd4782a58703c159c712eeb.json | 1 - ...9d59c8b15516f425a55b7b6674bb71e2d4231.json | 1 - ...0c5031c6068aa2af5e85777111a5b7d9568b3.json | 1 - ...6c7b633177f5cff199b77734c7b1785dc8c25.json | 1 - ...747576e9152fd30d63458c24de6e7df94ecf7.json | 1 - ...851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 1 - ...59c94a8a59532aae82764d52eabb1a0edbf42.json | 1 - ...bdfbd25e52da7a2eb55dc84946298982031ce.json | 1 - ...158b0bc28414091daf5d1838380ff6ce92915.json | 1 - ...b033b9ab72e5fb1261acf521dec9186f86112.json | 1 - ...526cff63831caea15e172a7024c47079a0640.json | 1 - ...a5c3cff6938c2f2e087cca3cd82ed724a7066.json | 1 - ...d46e88adbadd0975870d6413ebe1ca67a7aef.json | 1 - ...fb44ea353f9e92282e510be73c721fe35ee75.json | 1 - ...d285f72e961a5358744c85e27758406575040.json | 1 - ...863cbade141e0e4607dac17daddc9b5e46dc7.json | 1 - ...4b499e94ae4e4b79b142da31252eb4379555a.json | 1 - ...5b40962f6406b1e055e952997ef6c463bd35d.json | 1 - ...a13d5854d705b7125731e11b5a35998446c17.json | 1 - ...7374daca3ad0c13b0a66b932cc16a0febba62.json | 1 - ...566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 1 - ...74ff47d1f6bad7152d538f06ac3b7ca01a06a.json | 1 - ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 1 - ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 1 - ...ef748ededc9c44a2bcccea0b822abe9764fda.json | 1 - ...d60817009bcd206e13e51c24de2dac7fb0a1c.json | 1 - ...245b42357ae32ccba6cd2f750e9fb1874a08b.json | 1 - ...93b268fb523c4d8a19f699edc529c24333380.json | 1 - ...882a0858a67a8e2a0189d33f8510deb60e6d1.json | 1 - ...7bc30e0ee667a698a8d5e7c523753643ea650.json | 1 - ...868ba7081ad54df5eee0afd89713250393d4b.json | 1 - ...b939bae8e743cc757caaed9068f14e9c21afc.json | 1 - ...f43b26d7047709196ae4d3a2e848c2c676a64.json | 1 - ...37de44c317cefde008bf74d8b99494c1c98a7.json | 1 - ...916fdadeba9296ddbb958495e514a151fa456.json | 1 - ...80ab045a671f00b94b780c18cf473bc9a37ed.json | 1 - ...3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json | 1 - ...d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json | 1 - ...21081f306331c381324980c6430ab7a4d1226.json | 1 - ...f4daade3414f42f1ecc86c7b57721fda4788e.json | 1 - ...b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 1 - ...dbbb088e24f25f725b09cb8c602c0c576f7f2.json | 1 - ...0832a595eee05335e634b8b4777d2e688fcde.json | 1 - ...0df74fa8f78414287f43a9432f5b5030cf972.json | 1 - ...bb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 1 - ...e862798dea46cd676fa9874f2ebfb8080841b.json | 1 - ...48003d87b2258ba07063b691b31b205b7656c.json | 1 - ...3bad99e23333214c4e2737a2fa61b2f391a74.json | 1 - ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 1 - ...e9cc7a166bc8da74725e664bdd68ee474ab52.json | 1 - ...a5c68d9aab6a8f76d0962310e3c6638f5d707.json | 1 - ...d524f3b2624e3b427bd49c633034df4bbacaf.json | 1 - ...bb7b133455f21d092c97d992991cba4adff95.json | 1 - ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 1 - ...5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 1 - ...e2ca9f4179fab9384be8075d96abaa43a3643.json | 1 - ...8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json | 1 - ...8f86ab2ac9e040e83db7df9a84d7ea2165085.json | 1 - ...cc85f88eea10a38441d0a1bd578be099031e9.json | 1 - ...7f7c56b76490a1548ae5abc284124f34f8774.json | 1 - ...02386980a8460ac11d3a0b87b2679bce1909e.json | 1 - ...d47863ad987eeb9757ef24c012c787031ad9d.json | 1 - ...d4591952172789fd85ca157965430162016ba.json | 1 - ...db5fe3155f46ee9f598dd39b44ce946ed17ce.json | 660 ------ ...a6b0cbfbcbdff8a3908e65c6da1963cb05376.json | 1 - ...36970b02eec54537026b8f86a905b120ce68f.json | 1 - ...3f9bd4898cda3d816c4ed85376528cba0e94b.json | 1 - ...2d71cc3bf1fbb781355f79de2baad2a5569f2.json | 1 - ...d868c1028049cf34f99c10b27c26a7a935150.json | 1 - ...dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json | 1 - ...ca3b6a336fc922dcd9c1dd20be6c35070425b.json | 1 - ...0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 1 - ...8eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json | 1 - ...e3131b1b8338eaba32ce8eb90a6592914c24d.json | 1 - ...063d811f17eadf2e86ab426641124c7ffd68b.json | 1 - ...dc550701b2853b07b0805c16268525d3f9039.json | 1 - ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 1 - ...a540d15d6dd0f6a4c19884be35da187d7b313.json | 1 - ...db04cabb080833a28048d926d27d6ef2b961d.json | 1 - ...319fc99104106969c4a069cfc8546729e0510.json | 1 - ...8a0a06d8f34b40cec0f0b2f610bc262506a5a.json | 1 - ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 1 - ...0b4de4011ad2e84315c35d510da23a595b165.json | 1 - ...0c70b6f7c9a3361aec2ce8c2f8140d3418200.json | 1 - ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 1 - ...17d2cdfa1945a4261109b278a1876ecdb6076.json | 1 - ...fc75c48fb81edcd86533d27144ca2ae193e81.json | 1 - ...b02921f8d08704f5122d11f75281fd9e5a700.json | 1 - ...58575f34c5e01bbb0ab4ab261958595e30508.json | 1 - ...b84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 1 - ...be461ab9e953ee04c26230ee0c5e0a2fafeee.json | 1 - ...a02538580f6c1d50d5102e0f2fa3c90a43abb.json | 1 - ...2fe814cec266c6331e8d32d57d7279f8fc665.json | 1 - e2e/serial/swap/1_swapFlow1.test.ts | 131 +- e2e/serial/swap/2_swapFlow2.test.ts | 60 +- e2e/serial/vitest.config.ts | 3 +- e2e/urls.json | 174 -- lavamoat/build-webpack/policy.json | 1874 ++++++++++++----- package.json | 8 +- scripts/e2e-serial-tests.sh | 2 +- src/core/raps/actions/swap.ts | 6 +- src/core/raps/actions/unlock.ts | 16 +- .../swap/SwapTokenInput/TokenToBuyInput.tsx | 2 +- .../swap/SwapTokenInput/TokenToSellInput.tsx | 2 +- 198 files changed, 1693 insertions(+), 1628 deletions(-) create mode 100644 e2e/mocks/mock_swap_quotes_urls.json rename e2e/{responses => mocks/swap_quotes}/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json (100%) create mode 100644 e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json rename e2e/{responses => mocks/swap_quotes}/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json (52%) create mode 100644 e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json rename e2e/{responses => mocks/swap_quotes}/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json (100%) create mode 100644 e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json create mode 100644 e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json create mode 100644 e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json rename e2e/{responses => mocks/swap_quotes}/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json (100%) rename e2e/{responses => mocks/swap_quotes}/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json (100%) create mode 100644 e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json create mode 100644 e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json rename e2e/{responses => mocks/swap_quotes}/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json create mode 100644 e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json rename e2e/{responses => mocks/swap_quotes}/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json rename e2e/{responses => mocks/swap_quotes}/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json rename e2e/{responses => mocks/swap_quotes}/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json (100%) rename e2e/{responses => mocks/swap_quotes}/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json rename e2e/{responses => mocks/swap_quotes}/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json (100%) rename e2e/{responses => mocks/swap_quotes}/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json rename e2e/{responses => mocks/swap_quotes}/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json (100%) create mode 100644 e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json create mode 100644 e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json rename e2e/{responses => mocks/swap_quotes}/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json (100%) rename e2e/{responses => mocks/swap_quotes}/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json (100%) rename e2e/{responses => mocks/swap_quotes}/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json (100%) delete mode 100644 e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json delete mode 100644 e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json delete mode 100644 e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json delete mode 100644 e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json delete mode 100644 e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json delete mode 100644 e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json delete mode 100644 e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json delete mode 100644 e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json delete mode 100644 e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json delete mode 100644 e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json delete mode 100644 e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json delete mode 100644 e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json delete mode 100644 e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json delete mode 100644 e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json delete mode 100644 e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json delete mode 100644 e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json delete mode 100644 e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json delete mode 100644 e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json delete mode 100644 e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json delete mode 100644 e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json delete mode 100644 e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json delete mode 100644 e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json delete mode 100644 e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json delete mode 100644 e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json delete mode 100644 e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json delete mode 100644 e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json delete mode 100644 e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json delete mode 100644 e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json delete mode 100644 e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json delete mode 100644 e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json delete mode 100644 e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json delete mode 100644 e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json delete mode 100644 e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json delete mode 100644 e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json delete mode 100644 e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json delete mode 100644 e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json delete mode 100644 e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json delete mode 100644 e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json delete mode 100644 e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json delete mode 100644 e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json delete mode 100644 e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json delete mode 100644 e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json delete mode 100644 e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json delete mode 100644 e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json delete mode 100644 e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json delete mode 100644 e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json delete mode 100644 e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json delete mode 100644 e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json delete mode 100644 e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json delete mode 100644 e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json delete mode 100644 e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json delete mode 100644 e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json delete mode 100644 e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json delete mode 100644 e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json delete mode 100644 e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json delete mode 100644 e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json delete mode 100644 e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json delete mode 100644 e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json delete mode 100644 e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json delete mode 100644 e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json delete mode 100644 e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json delete mode 100644 e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json delete mode 100644 e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json delete mode 100644 e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json delete mode 100644 e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json delete mode 100644 e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json delete mode 100644 e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json delete mode 100644 e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json delete mode 100644 e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json delete mode 100644 e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json delete mode 100644 e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json delete mode 100644 e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json delete mode 100644 e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json delete mode 100644 e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json delete mode 100644 e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json delete mode 100644 e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json delete mode 100644 e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json delete mode 100644 e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json delete mode 100644 e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json delete mode 100644 e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json delete mode 100644 e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json delete mode 100644 e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json delete mode 100644 e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json delete mode 100644 e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json delete mode 100644 e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json delete mode 100644 e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json delete mode 100644 e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json delete mode 100644 e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json delete mode 100644 e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json delete mode 100644 e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json delete mode 100644 e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json delete mode 100644 e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json delete mode 100644 e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json delete mode 100644 e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json delete mode 100644 e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json delete mode 100644 e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json delete mode 100644 e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json delete mode 100644 e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json delete mode 100644 e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json delete mode 100644 e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json delete mode 100644 e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json delete mode 100644 e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json delete mode 100644 e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json delete mode 100644 e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json delete mode 100644 e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json delete mode 100644 e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json delete mode 100644 e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json delete mode 100644 e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json delete mode 100644 e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json delete mode 100644 e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json delete mode 100644 e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json delete mode 100644 e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json delete mode 100644 e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json delete mode 100644 e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json delete mode 100644 e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json delete mode 100644 e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json delete mode 100644 e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json delete mode 100644 e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json delete mode 100644 e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json delete mode 100644 e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json delete mode 100644 e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json delete mode 100644 e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json delete mode 100644 e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json delete mode 100644 e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json delete mode 100644 e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json delete mode 100644 e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json delete mode 100644 e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json delete mode 100644 e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json delete mode 100644 e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json delete mode 100644 e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json delete mode 100644 e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json delete mode 100644 e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json delete mode 100644 e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json delete mode 100644 e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json delete mode 100644 e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json delete mode 100644 e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json delete mode 100644 e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json delete mode 100644 e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json delete mode 100644 e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json delete mode 100644 e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json delete mode 100644 e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json delete mode 100644 e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json delete mode 100644 e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json delete mode 100644 e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json delete mode 100644 e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json delete mode 100644 e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json delete mode 100644 e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json delete mode 100644 e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json delete mode 100644 e2e/urls.json diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts index 722b3a2ece..e03746f53f 100644 --- a/e2e/fetchResponses.ts +++ b/e2e/fetchResponses.ts @@ -1,13 +1,18 @@ import { writeFile } from 'fs/promises'; -import { Hex, sha256 } from 'viem'; +import { Hex, createClient, http, sha256 } from 'viem'; +import { getBlockNumber } from 'viem/actions'; -import { urls } from './urls.json'; +import urls from './mocks/mock_swap_quotes_urls.json'; + +const client = createClient({ transport: http(process.env.ETH_MAINNET_RPC) }); +const blockNumber = await getBlockNumber(client); +console.log(blockNumber); await Promise.all( urls.map(async (url) => { const res = await fetch(url).then((r) => r.text()); const hash = sha256(url as Hex); - writeFile(`./responses/${hash}.json`, res); + writeFile(`./mocks/swap_quotes/${hash}.json`, res); }), ); diff --git a/e2e/mockFetch.ts b/e2e/mockFetch.ts index f62a9a3dab..9da95c0bf3 100644 --- a/e2e/mockFetch.ts +++ b/e2e/mockFetch.ts @@ -1,5 +1,7 @@ import { Hex, sha256 } from 'viem'; +import { AddressAssetsReceivedMessage } from '~/core/types/refraction'; + export function mockFetch() { const nativeFetch = window.fetch; window.fetch = async function mockedFetch( @@ -11,16 +13,37 @@ export function mockFetch() { const url = new URL(input); + // if ( + // url.hostname === 'addys.p.rainbow.me' && + // url.pathname.endsWith('/assets') + // ) { + // const response = await nativeFetch(input, init); + // const data = (await response.json()) as AddressAssetsReceivedMessage; + + // if (data.payload?.assets) { + // const eth = data.payload.assets.find((a) => a.asset.symbol === 'ETH'); + // if (eth?.asset.price) eth.asset.price.value = 3267.8599999999988; + // console.log(eth); + // } + // return new Response(JSON.stringify(data), { + // headers: { 'Content-Type': 'application/json' }, + // }); + // } + if (url.hostname === 'swap.p.rainbow.me') { const hash = sha256(url.href as Hex); - const response = await import(`./responses/${hash}.json`); + const response = await import(`./mocks/swap_quotes/${hash}.json`); + + // fetch('http://127.0.0.1:8008/' + url.href); if (!response) throw new Error('no response for request', { cause: { url: url.href, hash }, }); - return new Response(response); + return new Response(JSON.stringify(response), { + headers: { 'Content-Type': 'application/json' }, + }); } return nativeFetch(input, init); diff --git a/e2e/mocks/mock_swap_quotes_urls.json b/e2e/mocks/mock_swap_quotes_urls.json new file mode 100644 index 0000000000..9cccab0acc --- /dev/null +++ b/e2e/mocks/mock_swap_quotes_urls.json @@ -0,0 +1,37 @@ +[ + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&buyAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&slippage=1&buyAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=eth&toChainId=10&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0x4200000000000000000000000000000000000042&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=10", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x0000000000000000000000000000000000001010&chainId=1&sellToken=eth&toChainId=137&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=137", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=eth&toChainId=42161&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=42161", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1&sellToken=eth&toChainId=56&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=56", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=99&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=5", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=5000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=50", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=99&sellAmount=50000000" +] diff --git a/e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json b/e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json similarity index 100% rename from e2e/responses/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json rename to e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json diff --git a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json new file mode 100644 index 0000000000..98bc4c237b --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -0,0 +1,145 @@ +{ + "sellTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", + "sellTokenAsset": { + "assetCode": "eth", + "decimals": 18, + "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "mainnet", + "symbol": "ETH", + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "chainId": 1, + "price": { "value": 3267.8599999999988, "available": true }, + "totalPrice": { "value": 1.9996940361526865, "available": true } + }, + "buyTokenAddress": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + "buyTokenAsset": { + "assetCode": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + "decimals": 8, + "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png", + "name": "Wrapped Bitcoin", + "network": "mainnet", + "symbol": "WBTC", + "networks": { + "1": { + "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + "decimals": 8 + }, + "10": { + "address": "0x68f180fcce6836688e9084f035309e29bf0a2095", + "decimals": 8 + }, + "137": { + "address": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6", + "decimals": 8 + }, + "42161": { + "address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f", + "decimals": 8 + }, + "43114": { + "address": "0x50b7545627a5162f82a992c33b87adc75187b218", + "decimals": 8 + }, + "81457": { + "address": "0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692", + "decimals": 8 + } + }, + "chainId": 1, + "price": { "value": 88026.25299641998, "available": true }, + "totalPrice": { "value": 1.982351217479378, "available": true } + }, + "allowanceTarget": "0x00000000009726632680fb29d3f7a9734e3010e2", + "allowanceNeeded": false, + "to": "0x111111125421ca6dc452d289314280a0f8842a65", + "data": "0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868af031c15844e3d18ce2298fd9a1ce01978ce06219c9d01a8fca77bacbfddd513000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000008cb000000000000000000000000000000000000000000000000000227d07a230be70000000000000000000000000000027172006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041d781701e289cca84cd1b9d3fb51150bc087e83eedcef324a386c5e5c3b3626f24d4f7e469bdc66ff4ff0886cb0b8bad915a4cf6d5065c440609eb96a4ae8a9021b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312", + "sellAmount": "611927694623603", + "sellAmountMinusFees": "606726309219303", + "sellAmountDisplay": "611927694623603", + "sellAmountInEth": "612191840117769", + "buyAmount": "2252", + "buyAmountMinusFees": "2252", + "buyAmountDisplay": "2252", + "buyAmountDisplayMinimum": "2230", + "buyAmountInEth": "606882461840646", + "tradeAmountUSD": 1.9996940361526865, + "tradeFeeAmountUSD": 0.01699739930729445, + "value": "611927694623603", + "gasPrice": "30798415403", + "source": "1inch", + "protocols": [{ "name": "PMM15", "part": 100 }], + "feeTokenAsset": { + "assetCode": "eth", + "decimals": 18, + "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", + "name": "Ethereum", + "network": "mainnet", + "symbol": "ETH", + "networks": { + "1": { "address": "eth", "decimals": 18 }, + "10": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "42161": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "56": { + "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + "decimals": 18 + }, + "7777777": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "81457": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + }, + "8453": { + "address": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + }, + "chainId": 1, + "price": { "value": 3267.8599999997405, "available": true }, + "totalPrice": { "value": 0.01699739930729445, "available": true } + }, + "fee": "5201385404300", + "feeInEth": "5203630641000", + "feePercentageBasisPoints": "8500000000000000", + "tradeType": "exact_input", + "from": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720", + "defaultGasLimit": "350000", + "swapType": "normal", + "txTarget": "0x00000000009726632680fb29d3f7a9734e3010e2", + "chainId": 1 +} diff --git a/e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json b/e2e/mocks/swap_quotes/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json similarity index 100% rename from e2e/responses/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json rename to e2e/mocks/swap_quotes/0x1fff3bc1f1da3704a60b836efa10528143a50bb300b9461457d46c445f5f439d.json diff --git a/e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json b/e2e/mocks/swap_quotes/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json similarity index 100% rename from e2e/responses/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json rename to e2e/mocks/swap_quotes/0x2522bc7da8c360a103d31c1941b2874c56de2ef59667a8347ca9dd9412b00323.json diff --git a/e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json similarity index 52% rename from e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json rename to e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json index bfcd3b2ee5..01ef1b1b72 100644 --- a/e2e/responses/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json +++ b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":49.34294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a047093f19d51effd082712b2fb15125f6b305bdb4503aa41ccf86f6fde0f5bc21c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000046b39c8812b35e0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000001bc92006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf0806000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004120b4cf975905f2a0acaf863fbac4ff6c796a57fb421d92a697bb009fc940c76a51be112ae4a06b57dbb646145f507d1bca15f6989556fc9691a9b9e184a02a8d1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19903116727294916","buyAmountMinusFees":"19733940235112910","buyAmountDisplay":"19733940235112910","buyAmountDisplayMinimum":"19339261430410652","buyAmountInEth":"19733940235112910","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4230105928168096,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4230105928168096,"available":true}},"fee":"169176492182006","feeInEth":"169176492182006","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224685999999,"available":true},"totalPrice":{"value":49.991123429999995,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":49.25255079361107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04270026c6b205ae9e8af959a328e9ac34fb5a4f1e661eb76a5f9ff52923aad7c1000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000036021ba4d9c9380000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000027178006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041586af44ec310b1fec6b56e6ae26aa24a47606bd84907654c9eb103a95a004e070920521d38c7fa4186f67ee08bac126031abc02cfa9603c10caf48b362941b2e1c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15304420220728926","buyAmount":"15201014265813054","buyAmountMinusFees":"15071805644553644","buyAmountDisplay":"15071805644553644","buyAmountDisplayMinimum":"14770369531662571","buyAmountInEth":"15078311559525195","tradeAmountUSD":49.991123429999995,"tradeFeeAmountUSD":0.42223568506877446,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999915,"available":true},"totalPrice":{"value":0.42223568506877446,"available":true}},"fee":"129208621259410","feeInEth":"129264395618722","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json new file mode 100644 index 0000000000..c52e422664 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":49.99112343,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":49.40191238754859,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a049512c3180521d8df1cce8d3ff70714c69dd10c4dac9fd972559bb0f249202de6000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000036021ba4d9c9380000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000002717a006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf080600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415205a3d67bb63dd5f5c3a9ba2b84461de964a0a45376f7b7f35293dcaa981a115a5d2a4df70bc577b5a747d6809f7311dc8f7dd1b8e9f5a46fea8e78a16360581b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15312670860020400","buyAmount":"15201014265813054","buyAmountMinusFees":"15071805644553644","buyAmountDisplay":"15071805644553644","buyAmountDisplayMinimum":"14921087588108108","buyAmountInEth":"15132190923961722","tradeAmountUSD":49.99112343,"tradeFeeAmountUSD":0.42351614250545355,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.7699999999786,"available":true},"totalPrice":{"value":0.42351614250545355,"available":true}},"fee":"129208621259410","feeInEth":"129726296372842","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json b/e2e/mocks/swap_quotes/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json similarity index 100% rename from e2e/responses/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json rename to e2e/mocks/swap_quotes/0x2d17452c5f161d4c653a5f82922341249fe74c24c68b2598964074187873f2ed.json diff --git a/e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json b/e2e/mocks/swap_quotes/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json similarity index 100% rename from e2e/responses/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json rename to e2e/mocks/swap_quotes/0x2eb23074686a20f6e0cb064d999214d6e5a8da3995979e418f485bb55744c15d.json diff --git a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json new file mode 100644 index 0000000000..1cc6c56fe0 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3350.611910781612,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":3277.77,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000039ed8f0000000000000000000000000000000000000000000000000dfee9681ffb4000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c5a5fa1b58ab49be71a95a8a","sellAmount":"3796367","sellAmountMinusFees":"3796367","sellAmountDisplay":"3796367","sellAmountInEth":"1026318551158490364","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1004006505977596625","tradeAmountUSD":3350.611910781612,"tradeFeeAmountUSD":27.861044999999997,"value":"0","gasPrice":"29499439762","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":27.861044999999997,"available":true}},"fee":"8500000000000000","feeInEth":"8534055300809571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json new file mode 100644 index 0000000000..20ce771345 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":327777,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":325813.81986395555,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000055ffb8fae47fb00000000000000000000000000000000000000000000000000000000000015c897680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002e70000000000000000000000000000000002c900029b00026d00022300020900a0c9e75c48000000000000000021110000000000000000000000000000000000000000000000000001db00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000000767d411ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000012a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120d17b3c9784510e33cd5b87b490e79253bcd81e2ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc2004458d30ac9000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e60c35600000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000673a66c80020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000001600ebaf0000000000000000000000000000162780a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a650020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a6500000000000000000000000000000000000000000000000000d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100400650597759662536","buyAmount":"369159087","buyAmountMinusFees":"369159087","buyAmountDisplay":"369159087","buyAmountDisplayMinimum":"365467497","buyAmountInEth":"99799313216248875656","tradeAmountUSD":327777,"tradeFeeAmountUSD":2786.1045,"value":"100000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":34},{"name":"INTEGRAL","part":66}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":2786.1045,"available":true}},"fee":"850000000000000000","feeInEth":"853405530080957131","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json new file mode 100644 index 0000000000..7af51627b4 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":3275630,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3246330.4324828587,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000d90bd061000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000005400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000002affdc7d723fd8000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000b2bf9bb000000000000000000000000000000000000000000000002bdc04bd652ca4000000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf480000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c1baacf93a3a0da1d33cc6224bb14fc8bef5d4ad8a20488df2892855b4245d734122f0c22c1b4472406c79d4a2e375a293b98dabdf13676e2dfb0a07c7f3080da000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000ec7f3cb1f45f24000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000041a9143a0000000000000000000000000000000000000000000000101c8af65a236df1c0000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf490000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b50d6d52443b2f1fd8694a52c134167f9387d834af9967c85b46f326bd96e8312699ebe83ead6f57b8f47ea114290a312c9d6f31b541a8140a3e260f0e6e09042000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd80000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e21e65a3fcb74eadda3abef6","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1002377702839166910912","buyAmount":"3678212235","buyAmountMinusFees":"3678212235","buyAmountDisplay":"3678212235","buyAmountDisplayMinimum":"3641430113","buyAmountInEth":"993411722804177278016","tradeAmountUSD":3275630,"tradeFeeAmountUSD":27842.855,"value":"1000000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"0x","part":32.5},{"name":"Uniswap_V3","part":67.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":27842.855,"available":true}},"fee":"8500000000000000000","feeInEth":"8520210474132918743","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json b/e2e/mocks/swap_quotes/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json similarity index 100% rename from e2e/responses/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json rename to e2e/mocks/swap_quotes/0x552b526762cd7cf9018a5b432cd66063cd07c1950ec3e5cfe5a5113557cf8e27.json diff --git a/e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json b/e2e/mocks/swap_quotes/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json similarity index 100% rename from e2e/responses/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json rename to e2e/mocks/swap_quotes/0x5bc1b94c5044bd672aec84cf0bb749a11c10eb73c2b2a393932fe283b46db182.json diff --git a/e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json b/e2e/mocks/swap_quotes/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json similarity index 100% rename from e2e/responses/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json rename to e2e/mocks/swap_quotes/0x7f2733a251e1a520c9811b6358e486d626d77e2a94319438381588727f374885.json diff --git a/e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json b/e2e/mocks/swap_quotes/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json similarity index 100% rename from e2e/responses/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json rename to e2e/mocks/swap_quotes/0x80859a5a4665bc984c08fbc08db3743c1005992a1d946a7e393ecaecdf54b634.json diff --git a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json new file mode 100644 index 0000000000..6f6baf89f9 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224685999996,"available":true},"totalPrice":{"value":4.9991123429999975,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999997,"available":true},"totalPrice":{"value":4.925255079361105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a0418f9eb2f206ff466c609f55aa13392b9a0d92a8134bc46619dd14d47ca348063000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000005669c5d4954f100000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000027171006733cf7500000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b4060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2f38911a3c4090576d252431b1b758831a0a6a5b5fc631cafbb4bdc0fd1511f00af090e9a31ceaa1e47f70be1634ba4e437d3dda57c2b487c038ff286702e351b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1530442022072892","buyAmount":"1520101426581305","buyAmountMinusFees":"1507180564455364","buyAmountDisplay":"1507180564455364","buyAmountDisplayMinimum":"1492108758810811","buyAmountInEth":"1507831155952519","tradeAmountUSD":4.9991123429999975,"tradeFeeAmountUSD":0.042223568506876794,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.859999999941,"available":true},"totalPrice":{"value":0.042223568506876794,"available":true}},"fee":"12920862125941","feeInEth":"12926439561872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json new file mode 100644 index 0000000000..9df3f56eb5 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":32678600,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.3974578376,"available":true},"totalPrice":{"value":91558.70354881878,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d40000000000000000000000000000000000000000000000309b80ca0a3b85dc84a0b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b483800000000000000000000000000000000000000000000472ce8df480e01953aa0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024785c7cf1bc3f272978cee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a3ea0befe4851171b1700000000000000000000000000000000000000000000000000000000673520c80000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020c86709c8f7b5c1195000000000000000000000000000000000000000000000000000000000673520c80000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004ea9ff6c0957ffff83cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023b744a1daf83a88d8ff4ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a890bb826aa77f79a88ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000000000000000000000000311931edb26aab6a61c3f0000000000000000add542d7912ba20880a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a0000000000000000000000000000000000000000000000000000000000000089000000000000000000000000000000000000000000030da595bde5318a373325000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000193466e3a56000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10004316612836566637568","buyAmount":"230360795252358583008687","buyAmountMinusFees":"230360795252358583008687","buyAmountDisplay":"230360795252358583008687","buyAmountDisplayMinimum":"192111275437648165244183","buyAmountInEth":"230560095776006792134656","tradeAmountUSD":32678600,"tradeFeeAmountUSD":358770.17975,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":358770.17975,"available":true}},"fee":"109787500000000000000","feeInEth":"109834891013179455968","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"22869e31-a126-4e07-a346-871050cc37df","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"230360795252358583008687","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":43.78843940245906,"receivedValueInUsd":91582.21787059754,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"230360795252358583008687","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3709771583844862484945983","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"toAmount":"3709771583844862484945983","minAmountOut":"3672673868006413860096523","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"8970679492600000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":29.472988059347447}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"fromAmount":"3709771583844862484945983","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"230360795252358583008687","minAmountOut":"192111275437648165244183","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"4357187182120000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":14.315451343111617},"serviceTime":1140,"maxServiceTime":1200}],"gasFees":{"gasAmount":"13327866674720000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":43.78843940245906},"serviceTime":1140,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1140,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file diff --git a/e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json b/e2e/mocks/swap_quotes/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json similarity index 100% rename from e2e/responses/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json rename to e2e/mocks/swap_quotes/0x8de7fe00b0e00a66f07a660733aa2d931fb516d24ee2fb2a31d5ea109f17518a.json diff --git a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json new file mode 100644 index 0000000000..69da852a00 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777.7,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":32581.47845280195,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000022da9292000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10040065059775966254","buyAmount":"36916018","buyAmountMinusFees":"36916018","buyAmountDisplay":"36916018","buyAmountDisplayMinimum":"36546858","buyAmountInEth":"9979960870037262245","tradeAmountUSD":32777.7,"tradeFeeAmountUSD":278.61045,"value":"10000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278.61045,"available":true}},"fee":"85000000000000000","feeInEth":"85340553008095713","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json new file mode 100644 index 0000000000..0c82e64120 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":3267.86,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":3254.9612525657612,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f004a700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006e0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f0c368000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000bec1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000c238a4fb00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008200c3f531225be4b3606dea","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000431661283656663","buyAmount":"3255539213","buyAmountMinusFees":"3255539213","buyAmountDisplay":"3255539213","buyAmountDisplayMinimum":"32555393","buyAmountInEth":"996482803216262743","tradeAmountUSD":3267.86,"tradeFeeAmountUSD":27.776809999999998,"value":"1000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999997,"available":true},"totalPrice":{"value":27.776809999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8503669120911081","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json b/e2e/mocks/swap_quotes/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json similarity index 100% rename from e2e/responses/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json rename to e2e/mocks/swap_quotes/0xa8851b608dc6212889006842c206dda15a1e718768e1d16afb87a69a2e04753c.json diff --git a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json new file mode 100644 index 0000000000..60f3c509a9 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":3275.63,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.999994833,"available":true},"totalPrice":{"value":3253.789283583902,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c000a643200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1002377702839166910","buyAmount":"3253806096","buyAmountMinusFees":"3253806096","buyAmountDisplay":"3253806096","buyAmountDisplayMinimum":"3221268036","buyAmountInEth":"995694210762976972","tradeAmountUSD":3275.63,"tradeFeeAmountUSD":27.842855,"value":"1000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.6299999999997,"available":true},"totalPrice":{"value":27.842855,"available":true}},"fee":"8500000000000000","feeInEth":"8520210474132918","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json b/e2e/mocks/swap_quotes/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json similarity index 100% rename from e2e/responses/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json rename to e2e/mocks/swap_quotes/0xaa0ad349da2ff82c83d4d9c770898312e46c68a34c0c0bc5c17732944b249bbf.json diff --git a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json new file mode 100644 index 0000000000..93f1092750 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":3277.77,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3258.3068868761006,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000037c4d02000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1004006505977596625","buyAmount":"3691782","buyAmountMinusFees":"3691782","buyAmountDisplay":"3691782","buyAmountDisplayMinimum":"3654865","buyAmountInEth":"998044802684512291","tradeAmountUSD":3277.77,"tradeFeeAmountUSD":27.861044999999997,"value":"1000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":27.861044999999997,"available":true}},"fee":"8500000000000000","feeInEth":"8534055300809571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json b/e2e/mocks/swap_quotes/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json similarity index 100% rename from e2e/responses/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json rename to e2e/mocks/swap_quotes/0xb0bc88ed8da89b68c802788b3bbbafed7138997a2158b5805084eb9a5285d60a.json diff --git a/e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json b/e2e/mocks/swap_quotes/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json similarity index 100% rename from e2e/responses/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json rename to e2e/mocks/swap_quotes/0xb4df14eaf68905c60d969030c2460b50641bc80e0b98b4cb34d69916a87fd00b.json diff --git a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json new file mode 100644 index 0000000000..123c0528ab --- /dev/null +++ b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777700,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":32073922.086188484,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001ce26d3f536a00000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000092000000000000000000000000000000000000000000000000000000000000009e00000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000000ca0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000ea88907b2e000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf480000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c03779581988dfa71a9e226ba94ecac891802686a70986de56a10e67422a5c2e228883c56c096ed0130d5d6ede6645d19b43462718f19779093aa14a91c2642c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000d995d0d6b900000000000000000000000000000000000000000000000f7a831fd5d353462c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c91faa8a7e1ee2de80758371925e4cd859404134196dd300fc5ed05f84a7fd300141a7d3517f85a33c417828dde5ccb2934af7d035884b25bd11452341a5e6c030000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd39ccecfceafc800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000002fbf01ad8c5000000000000000000000000000000000000000000000036496cc4c6a3cd8000000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf4b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c090b30635ae3f816c8327472f34ffbbf6eb28b4aece3fd7d9f2328f04a81d2e161724aa4e59a3830f49552f7148d23ab77e1354acd9f6d5039bb0f7ccb60a671000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000ea1d87d122000000000000000000000000000000000000000000000010a98bd702abf08000000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf490000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b4cef07f40eec1ccbbdc1398b68cec135346661b63a1cb97bd79817b7b278ea8e38845373b8f5ab9af98cc51f753a5465782adad9bac03e52e7ba47bfecec778e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f91080507857ac40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb25269eba708070000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000bc1f64a4d3d74e100d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000999fc40e3e4a367822b87344","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10040065059775966254080","buyAmount":"32079617225546","buyAmountMinusFees":"32079617225546","buyAmountDisplay":"32079617225546","buyAmountDisplayMinimum":"31758821053291","buyAmountInEth":"9824492397804534155264","tradeAmountUSD":32777700,"tradeFeeAmountUSD":278610.45,"value":"10000000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":80},{"name":"0x","part":17.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278610.45,"available":true}},"fee":"85000000000000000000","feeInEth":"85340553008095713160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json b/e2e/mocks/swap_quotes/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json similarity index 100% rename from e2e/responses/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json rename to e2e/mocks/swap_quotes/0xd1f1a419f92e46057710f9f0c9617ef2b6a391229f1a73de98e4f4ef829b7bc7.json diff --git a/e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json b/e2e/mocks/swap_quotes/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json similarity index 100% rename from e2e/responses/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json rename to e2e/mocks/swap_quotes/0xd29876457b7fd7b56832bfd10a0af3ec343beb1d49a5213cbd69eab8cc9f7653.json diff --git a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json new file mode 100644 index 0000000000..c3e9fce2ab --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777700,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":29320048.763008237,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007a84e8b13000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000001fdf000000000000000000000000000000000000001fc1001f93001f49001f2f00a0c9e75c4800000000000000080101000000000000000000000000000000000000000000001f01001541000f0600a007e5c0d2000000000000000000000000000000000000000ee200080d0007f30004b600a0c9e75c4800000f0f0f02010100010000000000000004880002d800028900020e0001bf00014400007400005a404097dec872013f6b5fb443861090ad931542878126f39b5b9b0000000000000000000000000000000000000000000000000000000d01aac3c100000000000000000000000000000000000000000000000000000000673a66c84041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051005426178799ee0a0181a89b4f57efddfab49941ecc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4a331a7700000000000000000000000000000000000000000000000000000000000000000c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23aa370aacf4cb08c7e1e7aa8e8ff9418d73c7e0f6ae4071118002dc6c03aa370aacf4cb08c7e1e7aa8e8ff9418d73c7e0f0000000000000000000000000000000000000000000000000000000cce883c77c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a00000000000000000000000000000000000000000000000000000001957e05907ee63c1e5007bea39867e4169dbe237d55c8242a8f2fcdcc387c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca0000000000000000000000000000000000000000000000000000000c0ff748432c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a0000000000000000000000000000000000000000000000000000000c70c75aeb8ee63c1e5001ac1a8feaaea1900c4166deeed0c11cc10669d36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd7c9b6472d91c2fd1af64cabad046f44d158dce085aa2be72641b31d66a495cd3000000000000000000000000ff9e5633a678c6c5d3c3e891511af1e0c061a5980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e063b1fce4000000000000000000000000000000000000000000000015af1d78b58c40000044000000000000000000000000000000000067a858cc00000000000000000000eefc756b81ed6b52ed0777043c13a9db834f342be3d6079ed3f64ef57f748620deb75f225ca1b743831fc5e4540102d4d45d0f2f8310dfc808fc120b703dc7500000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a0c9e75c480000000000000018170300000000000000000000000000000000000000000000030f0002c00002105100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a04442decdb08829e9095f38b7fbb506b8d67229a7cbf6b7c419e2e716e548c0474000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000129204efe3000000000000000000000000000000000000000000000000000000259e09305d0000000000000000000000000000027177006733cf7500000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004104c6941f095bc9655acccb2b9d31aa200e62991d0ce89ed1bab5ff82bd84483d2ffdfdf92f29d4b8b6ebdad3965ccab5bf368380ca07e14d6a19b3506d7daba31b000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df021240000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d2da5c40902a0000000000000000000000000000000000000000000000000000001299452c1fbee63c1e5013416cf6c708da44db2624d63ea0aaef7113527c6a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000001b0907070000000000000000000000000000000000000006a70006580006090002105100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a04d4ed474d49f316e21d6ae822a99b4de64e2dc3fe03e61740e73478a8285a6379000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000018a4e90500000000000000000000000000000000000000000000000000000055027dadd00000000000000000000000000000027173006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e5e1eb6a12b6cd1ecedc31989781904c5105db3b31b10a549169a678aa0301c0257874df749e6e33c4f27bb3895f21cf1262b9b155e8cda96c50df533f91cd231c0000000000000000000000000000000000000000000000000000000000000000a0860a32ec00000000000000000000000000000000000000000000000000000055027dadd00003d05100ead050515e10fdb3540ccd6f8236c46790508a76dac17f958d2ee523a2206206994597c13d831ec700c4e525b10b000000000000000000000000000000000000000000000000000000000000002000000000000000000000000022b1a53ac4be63cdc1f47c99572290eff1edd8020000000000000000000000006a32cc044dd6359c27bb66e7b02dce6dd0fda2470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055027dadd00000000000000000000000000000000000000000000000000000000018a05374000000000000000000000000000000000000000000000000000000006733cf75000000000000000000000000000000000000000000000000000d84421de0623b80e8abc1d4f24a7fa815a56407f610bf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026000000000000000000000000067297ee4eb097e072b4ab6f1620268061ae8046400000000000000000000000060cba82ddbf4b5ddcd4398cdd05354c6a790c309000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041622afcc55ae520a54b96a1d97ed80991fc76e944e835f7c0c0c76dcb80263ccf29a92f57b1ae55a4af264967a741550f2bb62e405f844337d10053dd688e6e541c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004156f6f791aee52b941fca890fdfb5d1d5e7be2ec0f7aa1e9ef731dd1e0658620743f3a541dd16efa10e098cac70936c4add03a41225f5ce3ee8d690ea089535271b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000001e69ccceee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000000005b64506aee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000006170002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001a7796e3b4b77ec907fdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001a8787df245ed3ea6913ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000027bb04be261a83de5696c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000239e417e3fd9e87b9444fee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000000181306010000000000000000000000000000000000000003290002da00028b00007b0c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48004375dff511095cc5a197a54140a24efef3a4166ae4071118002dc6c0004375dff511095cc5a197a54140a24efef3a416000000000000000000000000000000000000000000000000000000000261f4aba0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a0471697798811773bacdb88f1489462e9bdcef508a24244acc4f66ac294622cd31000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000ca24c1c000000000000000000000000000000000000000000000000000000584f529e630000000000000000000000000000027175006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041c9c415effff79800ffcb49d4e9c0b54a408d73e97ddbab96e1f8dea90f17828233c306cc2661de5ef963fbee09766037c83fcca1e6c1051031a5d719ffbde45b1c0000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000004c9890c5ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a00000000000000000000000000000000000000000000000000000000058d9f0fcee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c48001312030202020201010000000009920009050008780007bf0005d100051800040a0002fc00010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e895fb2000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd5d0df1f4e54eace0329ad6f8082025e2e6006f6f79a2c1f4382de8996e1d5968000000000000000000000000d1a045c863db62874288e96accb31c15e529f64a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000ff1b3c9b2aae3ed204480000000000000000000000000000001006957bf580000000000000000000079119fb6bc8405bb87f4db0af4872b067b6f2958ee50ad96eebf41c7cc211660e8ca81bd85c38792a8706678e69e15a2758e77457bcf2137f1d08cb77a93b9810000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003cd111f4000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003bffe581000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000003ca586dec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd9e082880cd3410c11ec40e8e15677025f2cf79ee8ac64d60a179cf654e25bf79000000000000000000000000d1a045c863db62874288e96accb31c15e529f64a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000007b7585e80000000000000000000000000000000000000000000000254dda381b9b62cdc04480000000000000000000000000000001006957bf8900000000000000000000cb9167c1e212bbb01995ccddf9a61e746ee783580e4945fe0e4e37cc5643f0502aca66d55041fb348b6c50ccc5788d331f0b4dae940183fd8efb690ba15a93750000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000005e541470c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000002425c2e18ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000027c858287ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000007bc1b9e950000000000000000000000000000162780a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a6500d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10040065059775966254080","buyAmount":"33220697749","buyAmountMinusFees":"33220697749","buyAmountDisplay":"33220697749","buyAmountDisplayMinimum":"32888490772","buyAmountInEth":"8980959528472300543488","tradeAmountUSD":32777700,"tradeFeeAmountUSD":278610.45,"value":"10000000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":3.333333333},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":5.333333333},{"name":"CURVE","part":5.111111111},{"name":"CURVE_V2_TRICRYPTO_NG","part":2.222222222},{"name":"DEFISWAP","part":0.2222222222},{"name":"UNISWAP_V2","part":2.222222222},{"name":"UNISWAP_V1","part":0.2222222222},{"name":"UNISWAP_V3","part":58},{"name":"SUSHI","part":5.777777778},{"name":"PMM11","part":1.555555556},{"name":"PMM15","part":3.555555556},{"name":"LITEPSM_USDC","part":11.11111111},{"name":"CURVE_V2","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278610.45,"available":true}},"fee":"85000000000000000000","feeInEth":"85340553008095713160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json b/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json similarity index 100% rename from e2e/responses/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json rename to e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json new file mode 100644 index 0000000000..80e7588e96 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999999,"available":true},"totalPrice":{"value":49.99974165,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":46.60460230967496,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000032faedc7b120000000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000007bc7165531437148ac17fe5f90bcafc6a9622d870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c0e35d801d7ecb92232d8a35e20b95c73249cf0b1ee02c96df9321648284a4f8c625cd7a6018c9f3811472a99cccae3115e4e8bf1b435ca7398c047170861b9af0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fcad35cd6867b9945659b179","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15300454012717802","buyAmount":"14349648000000000","buyAmountMinusFees":"14227675992000000","buyAmountDisplay":"14227675992000000","buyAmountDisplayMinimum":"142276759920000","buyAmountInEth":"14261505177600925","tradeAmountUSD":49.99974165,"tradeFeeAmountUSD":0.3995351685650384,"value":"0","gasPrice":"29496439762","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999987,"available":true},"totalPrice":{"value":0.3995351685650384,"available":true}},"fee":"121972008000000","feeInEth":"122262021189720","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json new file mode 100644 index 0000000000..f3aeb1562a --- /dev/null +++ b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999998,"available":true},"totalPrice":{"value":2.0044487143399112,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999995,"available":true},"totalPrice":{"value":1.988219726815589,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000001e08db0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868a290f7e121bb7db5de689b837ce881ca55c5e426a0404f63babfe5513077217b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000001e5535000000000000000000000000000000000000000000000000000227d07a230be70000000000000000000000000000027180006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004181e9d68ceca42a19213d6ad546bcfaa899bf08a63567f905b3ca4d272b11d1fc78b351e0da633e149338b4a30d7b60783b2289c5f2264dbaecf0096fc4f3e6c61c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"613382676840474","buyAmount":"1988230","buyAmountMinusFees":"1988230","buyAmountDisplay":"1988230","buyAmountDisplayMinimum":"1968348","buyAmountInEth":"608416433634118","tradeAmountUSD":2.0044487143399112,"tradeFeeAmountUSD":0.017037814071885884,"value":"611927694623603","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.6299999997455,"available":true},"totalPrice":{"value":0.017037814071885884,"available":true}},"fee":"5201385404300","feeInEth":"5213752753143","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json b/e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json similarity index 100% rename from e2e/responses/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json rename to e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json diff --git a/e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json b/e2e/mocks/swap_quotes/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json similarity index 100% rename from e2e/responses/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json rename to e2e/mocks/swap_quotes/0xf7ef0fb43f50e89350d18de1fb4d1f99c2320f2f82efe312a8583250ce632527.json diff --git a/e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json b/e2e/mocks/swap_quotes/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json similarity index 100% rename from e2e/responses/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json rename to e2e/mocks/swap_quotes/0xfafa8443a4a3eabafe4a84a138a4762cc774ca5c6f734e4efcaefd73cdd364aa.json diff --git a/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json b/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json deleted file mode 100644 index a68064c92e..0000000000 --- a/e2e/responses/0x0126e411d484eae29a4888a7b732799eb086ed6981a208b8574a3d9886d95702.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.005226319746242,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":0.9970886722188793,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000016a8803b1ef3500000000000000000000000000000000000000000000000000000000000f10b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868147f7a92f4b122af4ca5a5d9119f09eeaa40ef63af85c14c4f65d2842ee13dc9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000f377800000000000000000000000000000000000000000000000000016a8803b1ef35000000000000000000000000000001bcc9006724fbf400000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000414217c1757961a64f7d3ea35c4f17ba13ac873744f46caf0f9afed48ec1ff6ed46fa7b332e42fc7add401613cc8247985c20d9be84ebb6c5d01dd6a8df18d421a1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"402024595864775","sellAmountMinusFees":"398607386799925","sellAmountDisplay":"402024595864775","sellAmountInEth":"402024595864775","buyAmount":"997285","buyAmountMinusFees":"997285","buyAmountDisplay":"997285","buyAmountDisplayMinimum":"987313","buyAmountInEth":"398770070595974","tradeAmountUSD":1.005226319746242,"tradeFeeAmountUSD":0.008544423717841587,"value":"402024595864775","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.008544423717841587,"available":true}},"fee":"3417209064850","feeInEth":"3417209064850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json b/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json deleted file mode 100644 index 1b2d81fea9..0000000000 --- a/e2e/responses/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041001.53007013,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":78752416.67364302,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000001a3088e1840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000019340000000000000000000000000000000000000019160018e800189e00188400a0c9e75c4800000000000502010101000000000000000000000000000000001856001100000d82000acf00071000a007e5c0d20000000000000000000000000000000000000000000006ec0002ec0002e600a0c9e75c480000000000001a1007010000000000000000000000000000000000000002b80001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260a26d69263ef43e9a68964ba141263f19d71d516ae4071118002dc6c060a26d69263ef43e9a68964ba141263f19d71d51000000000000000000000000000000000000000000000ebd0b4b902d6272e6b7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000020716c2a49110080eb0cbee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000254dce764887aeadf8018c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000003cb3d66acd32ab0ec7c81c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000001a12020201010000000000000000000000000003d20003830003080002b90000a900007b0c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48f3f82bc165a83425e81b8f2858d786e41ab216716ae4071118002dc6c0f3f82bc165a83425e81b8f2858d786e41ab216710000000000000000000000000000000000000000000000000000000000247ce2a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0a87a1ae82109f78b46a789125598f5ad2b7f243751c2934da0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a040c0c71f0700889fa22778e33ee9f8480fb65f2e93da77d45b1b93b1280d7cb5c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000003ee7ec40000000000000000000000000000000000000000000000000000005c9bbc2924000000000000000000000000000001bc8f006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041bcea8502d8d7095192b76ef237b495d2ec6c557d93232aefb06e2283f69859a01e4d41d5bb9d26673656d36085d9b9cd32983995b66c5eea71b2e14944691b401b0000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000014aa0272ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48004375dff511095cc5a197a54140a24efef3a4166ae4071118002dc6c0004375dff511095cc5a197a54140a24efef3a4160000000000000000000000000000000000000000000000000000000006075c81a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a000000000000000000000000000000000000000000000000000000001521e7fe8ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a007e5c0d200000000000000000000000000000000000000039b0002cb0002b100020100a0c9e75c48000000000000001f10030000000000000000000000000000000000000000000001d30001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000014a6fccf40cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000006f8167917b1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000d77e2196a47ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc251204dece678ceceb27446b35c672dc7d61f30bad69ea0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df0212400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005334a27683235b19578670020d6bdbf78f939e0a03fb07f59a73314e73794be0e57ac1b4e5122e0438eb3703bf871e31ce639bd351109c88666eaf939e0a03fb07f59a73314e73794be0e57ac1b4e0044a64833a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a007e5c0d200000000000000000000000000000000000000000000000000028f00019f00a0c9e75c48000000000000000100310000000000000000000000000000000000000000000001710000f60000dc4160eef417e1d5cc832e619ae18d2f140de2999dd4fb0044d3a4acd3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000098c392716e3f021aeb19a0000000000000000000000000000000000000000000000000000000067264d470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8124041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23fd4cf9303c4bc9e13772618828712c8eac7dd2f6ae4071118002dc6c03fd4cf9303c4bc9e13772618828712c8eac7dd2f0000000000000000000000000000000000000000000016d561e1fa5b8e71a160c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8be57890000000000000000000000000000000000000000000000000000000067264d470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a007e5c0d200000000000000000000000000000000000000000000000000035a00028e00a0c9e75c48000000000000160f07060000000000000000000000000000000000000002600001d300011a00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000042c396d0a69ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000056396201bcbee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000a805fcdd62bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000112185a674b4ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000280a00000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000025b01d20eee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a00000000000000000000000000000000000000000000000000000000640ac8cd0ee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480010080706050402010100000000072800066f00056100045300034500028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc24ab6702b3ed3877e9b1f203f90cbef13d663b0e86ae4071118002625a04ab6702b3ed3877e9b1f203f90cbef13d663b0e80000000000000000000000000000000000000000000000000000000012b3b2d5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a10000000000000000000000000000000000000000000000000000000029bb9aaac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000f76d79d3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000294633084ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000014636938cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016f1d8809000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001baae4bc1000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f940b5d8000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000003e66b71bbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000001a7441dc0a00000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694623603","buyAmount":"113619622922","buyAmountMinusFees":"113619622922","buyAmountDisplay":"113619622922","buyAmountDisplayMinimum":"112483426693","buyAmountInEth":"31495801358034494110048","tradeAmountUSD":250041001.53007013,"tradeFeeAmountUSD":2125348.513005596,"value":"100000000611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"DEFISWAP","part":0.1333333333},{"name":"CURVE_V2","part":2.4},{"name":"PANCAKESWAP_V3","part":1.2},{"name":"CURVE","part":6.666666667},{"name":"LITEPSM_USDC","part":6.666666667},{"name":"UNISWAP_V3","part":29.13333333},{"name":"PMM15","part":0.2666666667},{"name":"VERSE","part":0.5333333333},{"name":"CURVE_V2_LLAMMA","part":6.666666667},{"name":"SUSHI","part":8.533333333},{"name":"UNISWAP_V2","part":11.46666667},{"name":"DODO","part":0.1333333333},{"name":"ETHEREUM_PANCAKESWAP_V2","part":0.4},{"name":"CURVE_V2_TRICRYPTO_NG","part":6},{"name":"ETH_BANCOR_V3","part":19.8}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125348.513005596,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json b/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json b/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json deleted file mode 100644 index 658010abcb..0000000000 --- a/e2e/responses/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2500.3934789622303,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2472.0671882600477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000db320ff2babf15318800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"999993392668494519","buyAmount":"997140427924958210","buyAmountMinusFees":"988664734287596066","buyAmountDisplay":"988664734287596066","buyAmountDisplayMinimum":"978778086944720105","buyAmountInEth":"988664734287596066","tradeAmountUSD":2500.3934789622303,"tradeFeeAmountUSD":21.19270912779668,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.19270912779668,"available":true}},"fee":"8475693637362144","feeInEth":"8475693637362144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json b/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json b/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json b/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json deleted file mode 100644 index 1c0af95a57..0000000000 --- a/e2e/responses/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.89652037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.883860514,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000016048be41484000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4317c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e0eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724ba3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d44cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941fc4dcee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c8d32ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d905a38ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b73d5ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc3a261ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde062a48ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead2c9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b23824eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c2a805ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075eaf34e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526686ccee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a690731cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3ccc073ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d0b208ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b33f5b2000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292100000","buyAmount":"24453315818930","buyAmountMinusFees":"24453315818930","buyAmountDisplay":"24453315818930","buyAmountDisplayMinimum":"24208782660741","buyAmountInEth":"9777797194804257498935","tradeAmountUSD":25004095.89652037,"tradeFeeAmountUSD":212534.81512042313,"value":"9999998358877292100000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81512042313,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json deleted file mode 100644 index 9f4e928e57..0000000000 --- a/e2e/responses/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000913fe58e200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2436883855","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json deleted file mode 100644 index 55716d2349..0000000000 --- a/e2e/responses/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996559.107836284,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441235.200918827,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b411cb61375d00000000000000000000000000000000000000000000000000001602df027dd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae01fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9efdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2b00bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680e3cee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464dffb1ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a5811c3ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbd8870ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb57d189c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb091407ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b8044a24ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf8177facbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3ff4d30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a144932a0ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657f1ac5ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c01967f49d00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e229d53ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df8724bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7abe1215ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3cdeaf4ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9fd5853000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925408690","buyAmount":"24446047705171","buyAmountMinusFees":"24446047705171","buyAmountDisplay":"24446047705171","buyAmountDisplayMinimum":"24201587228120","buyAmountInEth":"9774890998243819910902","tradeAmountUSD":24996559.107836284,"tradeFeeAmountUSD":212470.75241660842,"value":"9996984137735925408690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.75241660842,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365973","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json b/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json b/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json b/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json b/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json b/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json b/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json deleted file mode 100644 index af8a1552e6..0000000000 --- a/e2e/responses/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.530070126913803,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761443,"available":true},"totalPrice":{"value":1.5130883308474232,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586818639110eb780f520da006f00aa1cf9678408111822320207ec30ef347d631c7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000886000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000001bc5b006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041ae239e62ea9a40e29160e3b076a3274ecab7b645f909738b7dd689f7a04396833868752bc10a35c941acc02d5dac059aade0ed15a4bc2784fb378e0a979499c11c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2183","buyAmountMinusFees":"2183","buyAmountDisplay":"2183","buyAmountDisplayMinimum":"2162","buyAmountInEth":"605136090020206","tradeAmountUSD":1.530070126913803,"tradeFeeAmountUSD":0.013005596078765762,"value":"611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.013005596078765762,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json b/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json deleted file mode 100644 index 5fd52b5089..0000000000 --- a/e2e/responses/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":51.585949493406815,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000048ada24aa14b490000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003f8b14a4a1b44a13c563bef4","sellAmount":"20630996313967236","sellAmountMinusFees":"20283225429150734","sellAmountDisplay":"20630996313967236","sellAmountInEth":"20630996313967236","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"19992783938190888","tradeAmountUSD":51.585949493406815,"tradeFeeAmountUSD":0.43478489905201484,"value":"20630996313967236","gasPrice":"19580000000","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.43478489905201484,"available":true}},"fee":"173885442408251","feeInEth":"173885442408251","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json deleted file mode 100644 index 10abdd87dd..0000000000 --- a/e2e/responses/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":51.080204890530275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000047f739cc687f410000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001e19d0f051913c5fde2ef55f","sellAmount":"20428731644222459","sellAmountMinusFees":"20084370277884551","sellAmountDisplay":"20428731644222459","sellAmountInEth":"20428731644222459","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"19992783938190888","tradeAmountUSD":51.080204890530275,"tradeFeeAmountUSD":0.43052230200248426,"value":"20428731644222459","gasPrice":"19580000000","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.43052230200248426,"available":true}},"fee":"172180683168954","feeInEth":"172180683168954","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json b/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json deleted file mode 100644 index 7f6f99fa3a..0000000000 --- a/e2e/responses/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2490.4940261746265,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2462.280449282892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000d81f588fbbc291e18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"996034260851071096","buyAmount":"993192819567864978","buyAmountMinusFees":"984750680601538126","buyAmountDisplay":"984750680601538126","buyAmountDisplayMinimum":"965055666989507364","buyAmountInEth":"984750680601538126","tradeAmountUSD":2490.4940261746265,"tradeFeeAmountUSD":21.10880869279332,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.10880869279332,"available":true}},"fee":"8442138966326852","feeInEth":"8442138966326852","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json deleted file mode 100644 index 0800a98377..0000000000 --- a/e2e/responses/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996555.8208351,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441232.03286562,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001602ded29ff9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae017c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9eebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2af83ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680d17ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464de7e3ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a536b77ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbcc40bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb564a90c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb06c80aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b800133cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf816da55cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3f92e20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a14486ec1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657b476eee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0195da06d00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e22236aee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df77cabc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7ab5e9f1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3bf838bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9ccfeae000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603690","buyAmount":"24446044536494","buyAmountMinusFees":"24446044536494","buyAmountDisplay":"24446044536494","buyAmountDisplayMinimum":"24201584091130","buyAmountInEth":"9774889731230327292605","tradeAmountUSD":24996555.8208351,"tradeFeeAmountUSD":212470.72447709835,"value":"9996982823151043603690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.72447709835,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870631","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json b/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json b/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json b/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json deleted file mode 100644 index 20b824657b..0000000000 --- a/e2e/responses/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":49.34294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a047f9cd4e8c9f7645c4877f38a3f684ca608023e94d42d3d5dde8836f575cb2a80000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000046b39c8812b35e0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000001bc79006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf0806000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004167a07ff7958f8f41f0d866f32886fdd8bca1edcabcb897bf1a6c06ec0e4ef9193a3a31abfc7b1328959abe632f19fe7c443a4e4a7e54107c92ca072526285f1f1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19903116727294916","buyAmountMinusFees":"19733940235112910","buyAmountDisplay":"19733940235112910","buyAmountDisplayMinimum":"19536600832761781","buyAmountInEth":"19733940235112910","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4230105928168096,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4230105928168096,"available":true}},"fee":"169176492182006","feeInEth":"169176492182006","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json b/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json deleted file mode 100644 index 47124e6c94..0000000000 --- a/e2e/responses/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996555.8208351,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441232.03286562,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000015c9f3d84144000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000000420194dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000084504bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e00b815ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000850c7ebcee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b292654bdee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220db079657ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000597312c73cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b1fa6a1b44c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c1ea1dd4bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebb38e4beeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b33a4d8213ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c96c565710000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592b59cd50ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdd8d1f3f6ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b3d0b499a200a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bc893a54ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f7ac1451bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3cecdef56ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068da5538f25ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9ccfeae000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603690","buyAmount":"24446044536494","buyAmountMinusFees":"24446044536494","buyAmountDisplay":"24446044536494","buyAmountDisplayMinimum":"23957123645765","buyAmountInEth":"9774889731230327292605","tradeAmountUSD":24996555.8208351,"tradeFeeAmountUSD":212470.72447709835,"value":"9996982823151043603690","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.72447709835,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870631","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json b/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json b/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json b/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json deleted file mode 100644 index ae44648a84..0000000000 --- a/e2e/responses/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2508.1079959659282,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2479.6938657153396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000dbdf2e9ff94bf3718800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"1003078693480640572","buyAmount":"1000216747394562900","buyAmountMinusFees":"991714905041709116","buyAmountDisplay":"991714905041709116","buyAmountDisplayMinimum":"981797755991292025","buyAmountInEth":"991714905041709116","tradeAmountUSD":2508.1079959659282,"tradeFeeAmountUSD":21.258091637499128,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.258091637499128,"available":true}},"fee":"8501842352853784","feeInEth":"8501842352853784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json deleted file mode 100644 index 823594ba19..0000000000 --- a/e2e/responses/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001586.85920572,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446082.77278996,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001603fd1d4e62000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b1693c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c75c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e493ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee2f7ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46dff9b7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686371fceee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6152f776ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d477de11c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c24105ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d132aa4fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf364440ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8925030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18db7dbcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5a918dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0571ec74100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb064bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b40ef8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab7a8b19ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ddef8aee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceafbfc6e000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596490","buyAmount":"24450896231534","buyAmountMinusFees":"24450896231534","buyAmountDisplay":"24450896231534","buyAmountDisplayMinimum":"24206387269219","buyAmountInEth":"9776829709043701540602","tradeAmountUSD":25001586.85920572,"tradeFeeAmountUSD":212513.48830324863,"value":"9998994908517291596490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.48830324863,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978570","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json b/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json b/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json b/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json deleted file mode 100644 index 79b6f3476a..0000000000 --- a/e2e/responses/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2548.3450303093355,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x803ba26d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000003819c30000000000000000000000000000000000000000000000000dfee9681ffb40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bfee1c2d14bd9f1a2aa9dcfe","sellAmount":"3676611","sellAmountMinusFees":"3676611","sellAmountDisplay":"3676611","sellAmountInEth":"1019170868101365616","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":2548.3450303093355,"tradeFeeAmountUSD":21.253484999999998,"value":"0","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json b/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json deleted file mode 100644 index 428cb1fe36..0000000000 --- a/e2e/responses/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2510.163610213377,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2481.7260737299725,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000dc0d4fccd17516318800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"1003900804353436878","buyAmount":"1001036464908296634","buyAmountMinusFees":"992527654956576113","buyAmountDisplay":"992527654956576113","buyAmountDisplayMinimum":"982602378407010352","buyAmountInEth":"992527654956576113","tradeAmountUSD":2510.163610213377,"tradeFeeAmountUSD":21.275513491381506,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.275513491381506,"available":true}},"fee":"8508809951720521","feeInEth":"8508809951720521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json deleted file mode 100644 index af94ea85ae..0000000000 --- a/e2e/responses/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":247770.24364151203,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000151800562000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"357469178","buyAmountMinusFees":"357469178","buyAmountDisplay":"357469178","buyAmountDisplayMinimum":"353894487","buyAmountInEth":"99091846393796239967","tradeAmountUSD":250041,"tradeFeeAmountUSD":2125.3485,"value":"100000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125.3485,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json deleted file mode 100644 index ce3cb9bae9..0000000000 --- a/e2e/responses/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.63267756323309,"available":true},"totalPrice":{"value":16.63267756323309,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":17.07229044851938,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000f786ad08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"6651980100556746","buyAmount":"17075652","buyAmountMinusFees":"17075652","buyAmountDisplay":"17075652","buyAmountDisplayMinimum":"16221870","buyAmountInEth":"6827796420794742","tradeAmountUSD":16.63267756323309,"tradeFeeAmountUSD":0.14137775928748042,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.632677563232992,"available":true},"totalPrice":{"value":0.14137775928748042,"available":true}},"fee":"8500000000000000","feeInEth":"56541830854732","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json deleted file mode 100644 index f2e46d6bc6..0000000000 --- a/e2e/responses/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500410,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2471051.3686641175,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000035bfd39ccecfce000000000000000000000000000000000000000000000000000000000000d25f0ea40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012650000000000000000000000000000000000000012470012190011cf0011b500a0c9e75c4800000000000000000604000000000000000000000000000000000000000000000000001187000b1c00a007e5c0d2000000000000000000000000000000000000000000000000000af800042300a0c9e75c48000000000000220906010000000000000000000000000000000000000003f50001a700011a00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000493f82db5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000001b7c59635eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000002935750759ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0489e84031311e323db237544692be778872682f1710df896c17f9ae390c209388000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000009d0f6d303b00000000000000000000000000000000000000000000000e9eac3f21b98c0000000000000000000000000000000001bc75006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041479049df2ac70bc39ab6c132ff44c6107a13176fe7739435df79737b7290229b6a038dbaa4f2cff4ecb3b1e18e1a46c2ec49e459c927e08f2aa56dc33702bb681b0000000000000000000000000000000000000000000000000000000000000000a0c9e75c480000000000001e0a08020000000000000000000000000000000000000006a70006580006090003f900a0860a32ec000000000000000000000000000000000000000000000000000000093e9d35070003d05100ead050515e10fdb3540ccd6f8236c46790508a76dac17f958d2ee523a2206206994597c13d831ec700c4e525b10b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000009e2505ff3565d7c83a9cbcfd260c4a545780b40200000000000000000000000004f57b77cd9102a3774570de93008e9c57b9f1460000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000093e9d3507000000000000000000000000000000000000000000000000000000000366e164000000000000000000000000000000000000000000000000000000006724fc210000000000000000000000000000000000000000000000000008ea9f76370e35fc99dc0feca54fa2a447cfdd1a25b945000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026000000000000000000000000067297ee4eb097e072b4ab6f1620268061ae8046400000000000000000000000060cba82ddbf4b5ddcd4398cdd05354c6a790c309000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004161bd420af176032a0b428bdc2f4b7d55b3dc7bf56909584f03f3269faa75601021120aa646ec4ada93f473887262602a56aaa8504fbf4c50e6ac471a83e4cda71c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a2bedf1af26c1fc1777cdfea86db59f6b4bcc9fcb5b908f2e8526e7e12ddb8db1060ebd3b443d3094e12bea7ee8e6a4563826612a9000b46426e2a7eb7c996651b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a047b154e2064f1638a14d5dea8494392767933b02622581522473bbeace1fb779e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000000d9378bb00000000000000000000000000000000000000000000000000000024fa74d41c000000000000000000000000000001bc6d006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419edaf2acd8fcf35221151318b7c9bc9c9336ad474cd3c363e33723bcdfb45ca50b47a343b3a929801476e314dfffb19b90c0fd0ed72e97082908dd39e0de95b01b0000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000010cef9d4ee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000000326e580cee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000026050401010100000000000000000000000000063d0005b00003620002d50001c700010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002862f32000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000002846ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002857d95000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000000a13371bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040c88907ad98182b8b795b3f5b4b0b7dd4335b7053aafee2150019d31f96d888b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000cc03df90000000000000000000000000000000000000000000000033996efcef7fd0000000000000000000000000000000001bcb8006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2e4e6de30e0f820d5b6311680218d17645f388472da92d086f309f25496d1c409f5e34d7cb4fac9901ef228bd327c8c9690a3d0488d18123f4aca431574ccdd1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000006010182aee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000d47f0c3400000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3565095988","buyAmountMinusFees":"3565095988","buyAmountDisplay":"3565095988","buyAmountDisplayMinimum":"3529445029","buyAmountInEth":"988258473076062639437","tradeAmountUSD":2500410,"tradeFeeAmountUSD":21253.485,"value":"1000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":26},{"name":"PMM11","part":1},{"name":"CURVE_V2_TRICRYPTO_NG","part":1},{"name":"SUSHI","part":1},{"name":"CURVE_V2","part":1},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"UNISWAP_V3","part":69.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21253.485,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json b/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json deleted file mode 100644 index a388f599b3..0000000000 --- a/e2e/responses/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json +++ /dev/null @@ -1 +0,0 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json b/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json deleted file mode 100644 index 26bd7b8b32..0000000000 --- a/e2e/responses/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999069.18477286,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24443655.32877717,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000015ca816c6b83000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000000420343fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000008453aebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e024e1eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000850fe018ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b296e8fc9ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220e8d25ecfee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000597557738bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b1feee195ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c256c5b9dee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebc0044854ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b358db3d93ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c97e6f9f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592d9cebccee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bde4218c04ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b3ef3ea3b600a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bdf1ae6bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f7d978448c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3e6ebe8a8ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dcfea174fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163c5a44d633000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508667090","buyAmount":"24448468309555","buyAmountMinusFees":"24448468309555","buyAmountDisplay":"24448468309555","buyAmountDisplayMinimum":"23959498943364","buyAmountInEth":"9775858890652802903893","tradeAmountUSD":24999069.18477286,"tradeFeeAmountUSD":212492.0880705693,"value":"9997988003876508667090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.0880705693,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323670","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json deleted file mode 100644 index eaf8fc9b75..0000000000 --- a/e2e/responses/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001586.85920572,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446082.77278996,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000015cb0f3ea057000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204f3cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845712ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03e4daee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000851342efee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b6ecd9ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6a32c6aee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000059779d1e56ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203741220c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c39d3c2ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebcc7fbab0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b377765d6bee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c99090d5d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592fe1081aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdef761922ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40dd6103b00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf5ac069ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f806f01e3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff147501ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfa934a36ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceafbfc6e000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596490","buyAmount":"24450896231534","buyAmountMinusFees":"24450896231534","buyAmountDisplay":"24450896231534","buyAmountDisplayMinimum":"23961878306904","buyAmountInEth":"9776829709043701540602","tradeAmountUSD":25001586.85920572,"tradeFeeAmountUSD":212513.48830324863,"value":"9998994908517291596490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.48830324863,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978570","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json b/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json deleted file mode 100644 index e85078a5b5..0000000000 --- a/e2e/responses/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":16.63267756323309,"available":true},"totalPrice":{"value":2476.743891364981,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000007ab31283f6e1482c60000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000063121cc6ea8f00000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000040813abbf84dd47d000000000000000000000000000000000000000000000000006e4c7c32cb1d800000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8000000006724fc0300000000000000000000000000000000000000006724fbc70000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b874ecfa6e292168b09ffd452dff7159710857255677c0d85593cc08fe23b9c2f37969e228dd10491a81bdf82a0520b01bd2a165655d2722c3c7088a2653cc957000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000007916232c023d00000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb8c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b9b938a42a49e604dd7c8a4a","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"148908309077059209640","buyAmountMinusFees":"148908309077059209640","buyAmountDisplay":"148908309077059209640","buyAmountDisplayMinimum":"141462893623206249158","buyAmountInEth":"990535108788151334","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":55},{"name":"0x","part":45}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json deleted file mode 100644 index b4b1d2de95..0000000000 --- a/e2e/responses/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250.041,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250.041,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100000000000000000","tradeAmountUSD":250.041,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json b/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json b/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json deleted file mode 100644 index 33450b1c5d..0000000000 --- a/e2e/responses/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.733585037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.725971602,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000016048be1b1cf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4316c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e07ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b94ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f8806ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c8376ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d9059028c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b56b0ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc36ce6ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde05a726ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead27c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b237899ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c2777aee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075ea703c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526680c1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a69066eec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc58f1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44cffb3fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b318cd2000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870000","buyAmount":"24453315661010","buyAmountMinusFees":"24453315661010","buyAmountDisplay":"24453315661010","buyAmountDisplayMinimum":"24208782504400","buyAmountInEth":"9777797131659048708553","tradeAmountUSD":25004095.733585037,"tradeFeeAmountUSD":212534.81373547282,"value":"9999998293713846870000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81373547282,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698395","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json deleted file mode 100644 index eab3a60bae..0000000000 --- a/e2e/responses/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.814195037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.4726969,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000016067f3c9a400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4316c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e0bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b9bee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941fa7c4ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014493ff82191df8160d9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142dbca6013867ec6818ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e7b45fe5776950c32a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014fa80f2c0acc189e075dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000440aa4d617ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875ee93415c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cc043c4091ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197ab553370ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000037160f1e665ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021ea1fb69a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000013133901a9fee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b447fe14500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526683bfee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6906cf5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc8c27ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d055acee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f7397b841000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545000","buyAmount":"24461778073665","buyAmountMinusFees":"24461778073665","buyAmountDisplay":"24461778073665","buyAmountDisplayMinimum":"24217160292929","buyAmountInEth":"9781180875415193254791","tradeAmountUSD":25004095.814195037,"tradeFeeAmountUSD":212534.8144206578,"value":"9999998325952559545000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":70.25},{"name":"LITEPSM_USDC","part":12.5},{"name":"SUSHI","part":1},{"name":"CURVE","part":7.75}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8144206578,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756132","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json deleted file mode 100644 index fedbd81c8a..0000000000 --- a/e2e/responses/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.733585037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.3945033,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000015cd8ae050da0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a21c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a742c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a2bee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2bcee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022104679decee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414caf48fef62ca719dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ec77bb77ef1b996ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73d362aa78d6e04dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c44194b7b2d1e9475c8ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2ac1fee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dc79f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ad6115ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d284be9ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d2d45cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0001c00000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926cf63200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5ade3aee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a611c3c100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c28ef8ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343f41dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b417275fcdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e251648dfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f739686c0000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870000","buyAmount":"24461777995456","buyAmountMinusFees":"24461777995456","buyAmountDisplay":"24461777995456","buyAmountDisplayMinimum":"23972542435547","buyAmountInEth":"9781180844142880474351","tradeAmountUSD":25004095.733585037,"tradeFeeAmountUSD":212534.81373547282,"value":"9999998293713846870000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V3","part":70.25},{"name":"SUSHI","part":1},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":12.5},{"name":"PANCAKESWAP_V3","part":0.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81373547282,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698395","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json b/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json deleted file mode 100644 index d06447e818..0000000000 --- a/e2e/responses/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":250041001.53007013,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":191040938.99529606,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000ac0c0db5c18a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000013ac00000000000000000000000000000000000000138e0013600013160012fc00a0c9e75c48000000000000000603010000000000000000000000000000000000000000000012ce000f0600046300a007e5c0d200000000000000000000000000000000000000000000000000043f00037300a0c9e75c480000000000131206060100000000000000000000000000000000034500028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a10000000000000000000000000000000000000000000000000000000017446fe2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000a48cb4acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000ee13e662ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000286f03dc6ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000001ff234b92c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000509a72742dee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000f9c8b76ce7aee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d2000000000000000000000000000000000000000000000000000a7f0004c400a0c9e75c48000000001210070502020000000000000000000000000004960003dd0003500002c300023600012800a007e5c0d20000000000000000000000000000000000000000000001040000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c9ebbc5ce000000000000000000000000000000000000000000000000000000000000000000020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e0863a01c9000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005a1185e785bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000062ab251d035ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000001208de136c26ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000010232cc4e951c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48001e070502020101010100000000058d0004dd00048e00043f0003f00003400002300001800000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae73330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fdab3426c60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000051001116898dda4015ed8ddefb84b6e8bc24528af2d8dac17f958d2ee523a2206206994597c13d831ec7004491695586000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fdd7345ee600000000000000000000000000000000000000000000000000000000672b93475100debf20617708857ebe4f679508e7b7863a8a8eeedac17f958d2ee523a2206206994597c13d831ec70044a6417ed6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fd921ab5e8490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fa3127b84600a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a0000000000000000000000000000000000000000000000000000004f58e87012bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000006eb5897edb7ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001db5578be7a500a0c9e75c480000000000220707010100000000000000000000000000000000039a00030d0002800001c700010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f977e079a2000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca0000000000000000000000000000000000000000000000000000001b6247d456ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000c9ad804969ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000f226e279c72ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000004b2fc59a7b7bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000adc8f1676e2a000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694623603","buyAmount":"191078555151914","buyAmountMinusFees":"191078555151914","buyAmountDisplay":"191078555151914","buyAmountDisplayMinimum":"189167769600395","buyAmountInEth":"76403845367478161018540","tradeAmountUSD":250041001.53007013,"tradeFeeAmountUSD":2125348.513005596,"value":"100000000611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"BALANCER_V2","part":0.6666666667},{"name":"VERSE","part":0.3333333333},{"name":"DODO","part":0.3333333333},{"name":"CURVE","part":11},{"name":"UNISWAP_V2","part":12.66666667},{"name":"CURVE_V2","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":4.666666667},{"name":"SYNAPSE","part":0.3333333333},{"name":"UNISWAP_V3","part":60.66666667},{"name":"SUSHI","part":7},{"name":"CURVE_V2_TRICRYPTO_NG","part":1.333333333},{"name":"MAVERICK_V2","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2125348.513005596,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json b/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json deleted file mode 100644 index 5a69dc0c73..0000000000 --- a/e2e/responses/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json deleted file mode 100644 index e0a6b1c2ff..0000000000 --- a/e2e/responses/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2508.1079959659282,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2479.6938657153396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000d9a69fee850031a18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"1003078693480640572","buyAmount":"1000216747394562900","buyAmountMinusFees":"991714905041709116","buyAmountDisplay":"991714905041709116","buyAmountDisplayMinimum":"971880606940874934","buyAmountInEth":"991714905041709116","tradeAmountUSD":2508.1079959659282,"tradeFeeAmountUSD":21.258091637499128,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.258091637499128,"available":true}},"fee":"8501842352853784","feeInEth":"8501842352853784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json b/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json b/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json b/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json b/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json deleted file mode 100644 index 19fe012b8d..0000000000 --- a/e2e/responses/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":0.9974711742214777,"available":true},"totalPrice":{"value":2472.396910993516,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x629d99d6be36c4d2a8fe8282272ecb6e29f75c839b6c4a2055a115bccd4a377d","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2478665023","buyAmountMinusFees":"2478665023","buyAmountDisplay":"2478665023","buyAmountDisplayMinimum":"2478665023","buyAmountInEth":"988796601754718652","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":27.50451,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":27.50451,"available":true}},"fee":"11000000000000000","feeInEth":"11000000000000000","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file diff --git a/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json deleted file mode 100644 index 1ac6df1dcc..0000000000 --- a/e2e/responses/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001590.77679607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446086.550603107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219707531a18be605b100000000000000000000000000000000000000000000000000001603fd5662c6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b169ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c8bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e538ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee453ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e016d0ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226863cb183ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6153e188ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d479b00bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c4fdceee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d137b02fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf42952dee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8999bd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18dc672dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5f20c2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0572b16b100a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb9797ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b533b8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab8443d1ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ef1a55ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceb35a46b000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478968045","buyAmount":"24450900010091","buyAmountMinusFees":"24450900010091","buyAmountDisplay":"24450900010091","buyAmountDisplayMinimum":"24206391009991","buyAmountInEth":"9776831219921175523377","tradeAmountUSD":25001590.77679607,"tradeFeeAmountUSD":212513.5216027666,"value":"9998996475296478968045","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.5216027666,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071228","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json b/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json b/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json b/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json b/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json deleted file mode 100644 index 765d4476cd..0000000000 --- a/e2e/responses/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.4904083599999998e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":0.22696631010100415,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000000000000002694000000000000000000000000000000000000000000000000000000000003650600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000046300000000000000000000000000000000000000000000000000000000044500a007e5c0d20000000000000000000000000000000000000004210001b10000c100001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db000a0bd46a343021a44e35d5451e0b78621a1b3e7a53dfaa306b1d000000000000000000000051babc7d08ef73fe3fb67efd900f4471cca788b089900000000000000000000069d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f4edfad26ee0d23b69ca93112ecce52704e0006f000000000000000000000000ae78736cd615f374d3085123a210448e74fc639351200ec8c15e458e056c96bd6945fe3f80ee1105035eae78736cd615f374d3085123a210448e74fc63930044e331d039000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050eb640247a000000000000000000000000042f527f50f16a103b6ccab48bccca214500c10210000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120111111125421ca6dc452d289314280a0f8842a65ae7ab96520de3a18e5e111b5eaab095312d7fe84012456a75868c80b9d8af342de2252f5472ec9e2bec4601f147f0af4f2aefe861cb005ee2661000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000000000000376a700000000000000000000000000000000000000000000000000005292275b2484000000000000000000000000000001bc86006724fbf4000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004100c114f5674e70e45bf93869d1c81e4190bdf1b62803d97f692cb1e227e56614076ef1bb7e5de8dc046e4b78d7a5c0747bfd97ef0be7db3d84fef75672b639b11b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"227011","buyAmountMinusFees":"227011","buyAmountDisplay":"227011","buyAmountDisplayMinimum":"222471","buyAmountInEth":"90771637491853","tradeAmountUSD":2.4904083599999998e-11,"tradeFeeAmountUSD":2.1003444e-13,"value":"9960","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"BALANCER_V2","part":33.33333333},{"name":"ONE_INCH_LP_1_1","part":33.33333333},{"name":"PMM15","part":33.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.1003444e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json deleted file mode 100644 index b7dc9b3d6c..0000000000 --- a/e2e/responses/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.385219257,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.390655626,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000016048bdca0d3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4314c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77df8ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b76ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728cf02ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f0bb4ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c6ea6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d90566b8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b185fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc2fa8dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde048ec8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead1d5f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b2363d7ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c20fafee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075e9580000a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000038526673d6ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6904ce7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cb7ba3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44ce7473ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2c6ebc000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020000","buyAmount":"24453315325628","buyAmountMinusFees":"24453315325628","buyAmountDisplay":"24453315325628","buyAmountDisplayMinimum":"24208782172372","buyAmountInEth":"9777796997554651453386","tradeAmountUSD":25004095.385219257,"tradeFeeAmountUSD":212534.8107743637,"value":"9999998154390384020000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8107743637,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264170","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json deleted file mode 100644 index 8c6ca1cee9..0000000000 --- a/e2e/responses/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2500.3934789622303,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2472.0671882600477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000d8fb40eb1b1f6a518800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"999993392668494519","buyAmount":"997140427924958210","buyAmountMinusFees":"988664734287596066","buyAmountDisplay":"988664734287596066","buyAmountDisplayMinimum":"968891439601844145","buyAmountInEth":"988664734287596066","tradeAmountUSD":2500.3934789622303,"tradeFeeAmountUSD":21.19270912779668,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.19270912779668,"available":true}},"fee":"8475693637362144","feeInEth":"8475693637362144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json deleted file mode 100644 index 6beb1f9dc0..0000000000 --- a/e2e/responses/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.610880814,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.60779987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000016048bdfe8ba000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b4315c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e02ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724b89ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728d1a7ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226941f5b0fee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639c7c21ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d9058190c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9b40bcee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc344a0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde054466ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead24170000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b237149ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c252ecee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075ea0d8700a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003852667c34ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a6905dc3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cc0afeee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44cf7198ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2fbf1f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720000","buyAmount":"24453315542815","buyAmountMinusFees":"24453315542815","buyAmountDisplay":"24453315542815","buyAmountDisplayMinimum":"24208782387387","buyAmountInEth":"9777797084398106757063","tradeAmountUSD":25004095.610880814,"tradeFeeAmountUSD":212534.8126924869,"value":"9999998244640204720000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8126924869,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json deleted file mode 100644 index 9a7f7d37ab..0000000000 --- a/e2e/responses/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001619.580935348,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446114.32233582,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001603fef9fe6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b16eec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0d2cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e9ebee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866eee58ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e0ed11ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686659188ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a615a9a85ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d4871228c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8d91e52ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d15c9e9dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf9d231dee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8cf3ff0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18e31b8fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c80a6acee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0578599ae00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850ffc3e5ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3bd9c29c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdabcbbe2bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f1a6d5318ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163cecdd7d1c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057592","buyAmount":"24450927787292","buyAmountMinusFees":"24450927787292","buyAmountDisplay":"24450927787292","buyAmountDisplayMinimum":"24206418509420","buyAmountInEth":"9776842326792735537375","tradeAmountUSD":25001619.580935348,"tradeFeeAmountUSD":212513.76643795046,"value":"9999007995062950057592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.76643795046,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075489","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json b/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json deleted file mode 100644 index f2c2d26763..0000000000 --- a/e2e/responses/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":4.999015688689186,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":4.934294150327867,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a040d01cd17ff7a99615da24f4288087715bc02ab128e82c325bed28c6e09d942f8000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000711f60d9b785500000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000001bc67006724fbf400000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004199136486c5471910e54713e26134df2333edf4cb7ca64119b8e3b97b74fb0e8d2d34bbc031b9e7e38092825954a7662b77c33d6ebff68b78ba5ada1c20cc2e621c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1999278393819088","buyAmount":"1990311672729491","buyAmountMinusFees":"1973394023511291","buyAmountDisplay":"1973394023511291","buyAmountDisplayMinimum":"1953660083276179","buyAmountInEth":"1973394023511291","tradeAmountUSD":4.999015688689186,"tradeFeeAmountUSD":0.04230105928167946,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.04230105928167946,"available":true}},"fee":"16917649218200","feeInEth":"16917649218200","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json deleted file mode 100644 index 6a22ba6b07..0000000000 --- a/e2e/responses/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.32,"available":true},"totalPrice":{"value":65169.3418631943,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d400000000000000000000000000000000000000000000002f818c6f9c82b021619ac00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b483800000000000000000000000000000000000000000000436e7f9775c7f0a96a1cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000231c8b6b743c92ff004a2ee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000039b1ee2cbb63957ffebc0000000000000000000000000000000000000000000000000000000067264d4b0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000215208dd521e795e70450000000000000000000000000000000000000000000000000000000067264d4b0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004c955083b5fca7de401c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000022d0c0ad55a9f3c636cc3ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a4f15e3ee00d81d658a1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000002ffc647b150a7905462560000000000000000db07deb3c4f7dbcc80a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a000000000000000000000000000000000000000000000000000000000000008900000000000000000000000000000000000000000002fbef87558c6949353e010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001930c8418f1000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"203654193322482184716344","buyAmountMinusFees":"203654193322482184716344","buyAmountDisplay":"203654193322482184716344","buyAmountDisplayMinimum":"166378795219004368272720","buyAmountInEth":"203654193322482184716344","tradeAmountUSD":25004100,"tradeFeeAmountUSD":274513.76287499996,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":274513.76287499996,"available":true}},"fee":"109787500000000000000","feeInEth":"109787500000000000000","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"a6e4cf70-3764-4f01-a555-d8b12cd71b41","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"203654193322482184716344","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":22.81638852181598,"receivedValueInUsd":64307.47019147818,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"203654193322482184716344","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"MATIC","name":"MATIC","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3625712713686540552004182","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"3625712713686540552004182","minAmountOut":"3589455586549675146484140","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"6141768314500000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":15.357184581991525}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"fromAmount":"3625712713686540552004182","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"MATIC","name":"MATIC","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"203654193322482184716344","minAmountOut":"166378795219004368272720","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"2983144609900000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":7.459203939824454},"serviceTime":1200,"maxServiceTime":1200}],"gasFees":{"gasAmount":"9124912924400000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/eth.svg","logoURI":"https://assets.polygon.technology/tokenAssets/eth.svg","chainAgnosticId":null},"feesInUsd":22.81638852181598},"serviceTime":1200,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1200,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file diff --git a/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json b/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json deleted file mode 100644 index 75c656e969..0000000000 --- a/e2e/responses/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000008ccd9d39200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2362285370","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json b/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json b/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json b/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json deleted file mode 100644 index 018695e5bb..0000000000 --- a/e2e/responses/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2510.163610213377,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2481.7260737299725,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000d9d449d281c410d18800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"1003900804353436878","buyAmount":"1001036464908296634","buyAmountMinusFees":"992527654956576113","buyAmountDisplay":"992527654956576113","buyAmountDisplayMinimum":"972677101857444592","buyAmountInEth":"992527654956576113","tradeAmountUSD":2510.163610213377,"tradeFeeAmountUSD":21.275513491381506,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.275513491381506,"available":true}},"fee":"8508809951720521","feeInEth":"8508809951720521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json b/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json b/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json b/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json b/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json b/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json deleted file mode 100644 index ea021cb129..0000000000 --- a/e2e/responses/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.610880814,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.60779987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000015cb9c901256000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a21c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a741c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a26ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2b1ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022104677169ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0b8f0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f5ef72c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c33011e77ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8efd753ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f5b2e6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a19620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000059322315a3ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac05c6dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c51b57900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c28a77ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343eb09c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172712a4ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2515c09cee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2fbf1f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720000","buyAmount":"24453315542815","buyAmountMinusFees":"24453315542815","buyAmountDisplay":"24453315542815","buyAmountDisplayMinimum":"23964249231959","buyAmountInEth":"9777797084398106757063","tradeAmountUSD":25004095.610880814,"tradeFeeAmountUSD":212534.8126924869,"value":"9999998244640204720000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8126924869,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json b/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json b/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json deleted file mode 100644 index 32775ba962..0000000000 --- a/e2e/responses/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24996559.11058231,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24441235.203986224,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b50f5294399c00000000000000000000000000000000000000000000000000001602df0289b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042ae01fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085a9efdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea2b00cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086680e3cee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b464dffb1ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002266a581468ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5cbd8899ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cb57d1ddc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010edb091484ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0b8044b0bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bf8177fd01ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0b3ff4e80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a144932c9ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c2657f1b97ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c01967f6d200a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384e229d6cee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc000000000000000000000000000000000000000000000000000000709df87280c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd7abe13d3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069ec3cdee09ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163bc9fd644f000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356203","buyAmount":"24446047708239","buyAmountMinusFees":"24446047708239","buyAmountDisplay":"24446047708239","buyAmountDisplayMinimum":"24201587231157","buyAmountInEth":"9774890999470577133350","tradeAmountUSD":24996559.11058231,"tradeFeeAmountUSD":212470.75243994963,"value":"9996984138834155356203","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212470.75243994963,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320527","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json b/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json deleted file mode 100644 index 345cc1210c..0000000000 --- a/e2e/responses/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.814195037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.804171205,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000015cb9c930238000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a22c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a742c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a2fee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2c3ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff086cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002210467bd58ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0c4f6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f60763c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c33014278ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8f01962ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f654e0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a1f620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000059322321a1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac09863ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c52575f00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c291eeee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343fa14c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b41727927fee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2516a262ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b32be59000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545000","buyAmount":"24453315739225","buyAmountMinusFees":"24453315739225","buyAmountDisplay":"24453315739225","buyAmountDisplayMinimum":"23964249424441","buyAmountInEth":"9777797162933760623065","tradeAmountUSD":25004095.814195037,"tradeFeeAmountUSD":212534.8144206578,"value":"9999998325952559545000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8144206578,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756132","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json b/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json deleted file mode 100644 index 06a2138144..0000000000 --- a/e2e/responses/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004.1,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":24780.349415612836,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000021c12952000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"35751715","buyAmountMinusFees":"35751715","buyAmountDisplay":"35751715","buyAmountDisplayMinimum":"35394198","buyAmountInEth":"9910514441876667026","tradeAmountUSD":25004.1,"tradeFeeAmountUSD":212.53484999999998,"value":"10000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212.53484999999998,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json deleted file mode 100644 index 0230f73edd..0000000000 --- a/e2e/responses/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001590.78415524,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446086.557674713,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970753448fc4e1fe300000000000000000000000000000000000000000000000000001603fd567e20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b169ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0c8bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5e538ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ee454ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e016d0ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226863cb429ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a6153e1f9ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d479b0ebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8c4ff1fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d137b29aee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbf429b19ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8999f60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18dc679dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c5f22f3ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c0572b1c9c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003850fb97dcee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3b53444c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdab84487eee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f19ef2296ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ceb35c00c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711490","buyAmount":"24450900017164","buyAmountMinusFees":"24450900017164","buyAmountDisplay":"24450900017164","buyAmountDisplayMinimum":"24206391016993","buyAmountInEth":"9776831222749354739274","tradeAmountUSD":25001590.78415524,"tradeFeeAmountUSD":212513.52166531954,"value":"9998996478239664711490","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.52166531954,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150047","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json deleted file mode 100644 index 5b3810d952..0000000000 --- a/e2e/responses/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.89652037,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456962.552381214,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000015cd8ae2ad590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a22c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a743c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a32ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a2cbee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff0b0bee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002210467da25ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414caf6b5ba81e7ddc0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ec999549967582eee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73d69e3208ea646ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c44196e57d532bf7cd4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2b368ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dc8875c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ad76e6ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d28777aee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d332d6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926cf9d30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5afee7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a612344e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c294f3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8344002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b41727c643ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2516fdcfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f7398ef95000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292100000","buyAmount":"24461778153365","buyAmountMinusFees":"24461778153365","buyAmountDisplay":"24461778153365","buyAmountDisplayMinimum":"23972542590298","buyAmountInEth":"9781180907283690852267","tradeAmountUSD":25004095.89652037,"tradeFeeAmountUSD":212534.81512042313,"value":"9999998358877292100000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":1},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"LITEPSM_USDC","part":12.5},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.81512042313,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982850","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json deleted file mode 100644 index 1b65b65e1d..0000000000 --- a/e2e/responses/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":6.541213682700177,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":4.999015688689186,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000000000000000000000000091fe08fc7b3b9000000000000000000000000bb289bc97591f70d8216462df40ed713011b968a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006724fc0500000000000000000000000000000000000000006724fbc80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c32b826e3aa8134212b52a20238554da755805cc723b08f4a8b8a473d2195116d1d43fb75084d0961986f0444836822488db25741cca212208b604be99831d87e869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008993ad337a53f30417295190","sellAmount":"2616056439823940","sellAmountMinusFees":"2571958314412928","sellAmountDisplay":"2616056439823940","sellAmountInEth":"2616056439823940","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1999278393819088","tradeAmountUSD":6.541213682700177,"tradeFeeAmountUSD":0.05513169687947425,"value":"2616056439823940","gasPrice":"19580000000","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.05513169687947425,"available":true}},"fee":"22049062705506","feeInEth":"22049062705506","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json deleted file mode 100644 index 93148cc4f6..0000000000 --- a/e2e/responses/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2484.330632753106,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000017a972200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000017b28ba000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000009198000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000094325f6c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003c9a2edd119d3a7813a44154","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2484819800","buyAmountMinusFees":"2484819800","buyAmountDisplay":"2484819800","buyAmountDisplayMinimum":"24848198","buyAmountInEth":"993569307734773914","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19580000000","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json deleted file mode 100644 index 053521a3fc..0000000000 --- a/e2e/responses/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001632.681256402,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446126.953069817,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001603ffb8d573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b1712c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b0d75c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea5ec0eee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866ef2e7ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b46e14eefee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022686782812ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a615da93dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d48d2860c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee8e245baee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0d16d6a8dee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfbfc6526aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0d8e7a550000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a18e6282fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c27c8fe5c9ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c057aec3ff00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000385101a9c4ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a3c16f1bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdabec4061ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f1aa6bb29ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ced9e41a1000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657592","buyAmount":"24450940420513","buyAmountMinusFees":"24450940420513","buyAmountDisplay":"24450940420513","buyAmountDisplayMinimum":"24206431016308","buyAmountInEth":"9776847378257893465691","tradeAmountUSD":25001632.681256402,"tradeFeeAmountUSD":212513.8777906794,"value":"9999013234332130657592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.8777906794,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110589","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json deleted file mode 100644 index b30b42add8..0000000000 --- a/e2e/responses/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2486.126657114069,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b0000000000000000000000000000000000000000000000000000000092bb5300200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"2486616178","buyAmountMinusFees":"2486616178","buyAmountDisplay":"2486616178","buyAmountDisplayMinimum":"2461750017","buyAmountInEth":"994287599679280303","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json b/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json deleted file mode 100644 index 98563804bf..0000000000 --- a/e2e/responses/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001632.681256402,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446126.953069817,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000015cb11d36946000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204fbac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845722bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03ec42ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000851352b6ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b83e9fee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6e38c84ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005977a7b475ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203892562c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c5985abee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebccb9e303ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b37804f714ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c990e54e50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592feb96f8ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdefaae377ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40e6498a500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf6152b8ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f807c3f70c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff850441ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfb5a0e9aee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163ced9e41a1000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657592","buyAmount":"24450940420513","buyAmountMinusFees":"24450940420513","buyAmountDisplay":"24450940420513","buyAmountDisplayMinimum":"23961921612103","buyAmountInEth":"9776847378257893465691","tradeAmountUSD":25001632.681256402,"tradeFeeAmountUSD":212513.8777906794,"value":"9999013234332130657592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.8777906794,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110589","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json deleted file mode 100644 index c160fe8e82..0000000000 --- a/e2e/responses/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":2490.4940261746265,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2462.280449282892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000da53e9237c5ead818800000000000003b6d0340b4e16d0168e52d35cacd2c6185b44281ec28c9dcd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"996034260851071096","buyAmount":"993192819567864978","buyAmountMinusFees":"984750680601538126","buyAmountDisplay":"984750680601538126","buyAmountDisplayMinimum":"974903173795522746","buyAmountInEth":"984750680601538126","tradeAmountUSD":2490.4940261746265,"tradeFeeAmountUSD":21.10880869279332,"value":"0","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.10880869279332,"available":true}},"fee":"8442138966326852","feeInEth":"8442138966326852","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json deleted file mode 100644 index 30ff605a49..0000000000 --- a/e2e/responses/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004097.09165418,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456963.70353855,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000015cd8af3e4fe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a25c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a749c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a63ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a334ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff12e6ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000221046984f1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001414cb06767961025307c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000013f98ed91e13ce614ad8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e2c73ee54240651e98dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014c441a6e0e5c3e9bc15dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000435ab2e8d5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000008600dcf2c1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000c9f4ae16e8ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001938d29b703ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000036879d5e7d3ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021926d14750000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000012e1e5bee92ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410a6156dcf00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c2c0d4ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f83445892c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172ab5d3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e251c2cf9ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f73aa812d000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429675000","buyAmount":"24461779304749","buyAmountMinusFees":"24461779304749","buyAmountDisplay":"24461779304749","buyAmountDisplayMinimum":"23972543718655","buyAmountInEth":"9781181367671121690067","tradeAmountUSD":25004097.09165418,"tradeFeeAmountUSD":212534.82527906055,"value":"9999998836852429675000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":1},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":12.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.82527906055,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652237","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json deleted file mode 100644 index 604b254ed5..0000000000 --- a/e2e/responses/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":2500.41,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":2478.072023661925,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000003602102000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3575225","buyAmountMinusFees":"3575225","buyAmountDisplay":"3575225","buyAmountDisplayMinimum":"3539473","buyAmountInEth":"991066274595736368","tradeAmountUSD":2500.41,"tradeFeeAmountUSD":21.253484999999998,"value":"1000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":21.253484999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json deleted file mode 100644 index 716cb70de7..0000000000 --- a/e2e/responses/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004095.385219257,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448501.390655626,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000015cb9c8cd2eb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004206a20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000000845a740c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e057a1cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000008516a29eee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29ff05ceee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000221046722dcee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005979e0ab97ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b207f5d4e0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c3300f682ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebd8ef8e00ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b395f4ff1eee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9a2a12bb0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005932230854ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdfac019deee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b42c5101c700a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037c0c2822eee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f8343da59c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b4172684bbee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068e2514c605ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b2c6ebc000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020000","buyAmount":"24453315325628","buyAmountMinusFees":"24453315325628","buyAmountDisplay":"24453315325628","buyAmountDisplayMinimum":"23964249019116","buyAmountInEth":"9777796997554651453386","tradeAmountUSD":25004095.385219257,"tradeFeeAmountUSD":212534.8107743637,"value":"9999998154390384020000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.8107743637,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264170","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json b/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json b/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json b/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json b/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json b/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json deleted file mode 100644 index 7ea09e2bf5..0000000000 --- a/e2e/responses/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24456966.508313283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000016067f7993cf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31cac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b432ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77eb9ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724d11ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728f165ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000226942598b3ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001449402fdde0101109dac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142dbcdce93e6111dc28ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e7b46523b9bf535c9ebc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014fa812b4c8894712d1c7ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000440aa5931cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875eeaac2fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cc043e76b2ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197ab599dffee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000037160fb7a42ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0001c00000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021ea2014d400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000013133936a97ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b448b4a0000a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003852671efdee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a691a5bfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3d6ef41ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44e2ad56ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163f73d54f7c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"24461782110076","buyAmountMinusFees":"24461782110076","buyAmountDisplay":"24461782110076","buyAmountDisplayMinimum":"24217164288976","buyAmountInEth":"9781182489397053429531","tradeAmountUSD":25004100,"tradeFeeAmountUSD":212534.84999999998,"value":"10000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO","part":0.25},{"name":"CURVE","part":7.75},{"name":"LITEPSM_USDC","part":12.5},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"MAVERICK_V2","part":2.25},{"name":"SUSHI","part":1},{"name":"UNISWAP_V3","part":70.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.84999999998,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json b/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json b/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json b/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json deleted file mode 100644 index 1dde06813e..0000000000 --- a/e2e/responses/0xc6382d5de8201fc7634ef925125db5fe3155f46ee9f598dd39b44ce946ed17ce.json +++ /dev/null @@ -1,660 +0,0 @@ -{ - "meta": { - "addresses": ["0xa0Ee7A142d267C1f36714E4a8F75612F20a79720"], - "errors": [], - "currency": "usd", - "status": "ok", - "chain_ids": [ - 1, 10, 56, 137, 8453, 33139, 42161, 43114, 81457, 7777777, 666666666 - ], - "addresses_with_errors": [], - "chain_ids_with_errors": [] - }, - "payload": { - "assets": [ - { - "quantity": "400000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0xb01bf38d1a93090731afd004e22bd17c0d5fc8dd", - "decimals": 18, - "icon_url": "", - "name": "Mentario", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "MIO", - "colors": { "primary": "#6A87C8" }, - "networks": { - "56": { - "address": "0xb01bf38d1a93090731afd004e22bd17c0d5fc8dd", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "10", - "small_balance": true, - "asset": { - "asset_code": "0x54d7afa7c764e1cf6fbefe9ff8239c0b117fd70d", - "decimals": 0, - "icon_url": "", - "name": "FAST PROFIT", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "FP", - "colors": { "primary": "#FFDD86" }, - "networks": { - "56": { - "address": "0x54d7afa7c764e1cf6fbefe9ff8239c0b117fd70d", - "decimals": 0 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "1200000", - "small_balance": true, - "asset": { - "asset_code": "0x8319d05e9dceecec5a575684b8f30b0c12c904dc", - "decimals": 8, - "icon_url": "", - "name": "FUSE", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "FUSE", - "colors": { "primary": "#FF949A" }, - "networks": { - "56": { - "address": "0x8319d05e9dceecec5a575684b8f30b0c12c904dc", - "decimals": 8 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "16000", - "small_balance": true, - "asset": { - "asset_code": "0x0000000000000000000000000000000000000000", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xb8c77482e45f1f44de1745f52c74426c631bdd52.png", - "name": "BNB", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 565.69426719, - "changed_at": 1730476401, - "relative_change_24h": -2.1192494379933757 - }, - "symbol": "BNB", - "type": "native", - "colors": { "primary": "#f3ba2f", "fallback": "#F8D888" }, - "networks": { - "1": { - "address": "0xb8c77482e45f1f44de1745f52c74426c631bdd52", - "decimals": 18 - }, - "56": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "137": { - "address": "0x3ba4c387f786bfee076a58914f5bd38d668b42c3", - "decimals": 18 - }, - "42161": { - "address": "0x20865e63b111b2649ef829ec220536c82c58ad7b", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": false, - "networks": { - "1": { "bridgeable": false }, - "137": { "bridgeable": false }, - "42161": { "bridgeable": false } - } - }, - "probable_spam": false, - "verified": true, - "transferable": true, - "mainnet_address": "0xb8c77482e45f1f44de1745f52c74426c631bdd52" - } - }, - { - "quantity": "10", - "small_balance": true, - "asset": { - "asset_code": "0xe253ca0268b0cfeae37ad30972c771b0753e7e05", - "decimals": 0, - "icon_url": "", - "name": "META BNB", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "MBNB", - "colors": { "primary": "#C5DADB" }, - "networks": { - "56": { - "address": "0xe253ca0268b0cfeae37ad30972c771b0753e7e05", - "decimals": 0 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "240000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0xafa6bcde9c014699a4aaf1f6e17ca0038f46ff21", - "decimals": 18, - "icon_url": "", - "name": "TestCoin", - "network": "bsc", - "chain_id": 56, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "TCT", - "colors": { "primary": "#6A87C8" }, - "networks": { - "56": { - "address": "0xafa6bcde9c014699a4aaf1f6e17ca0038f46ff21", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "2488", - "small_balance": true, - "asset": { - "asset_code": "0x0000000000000000000000000000000000001010", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png", - "name": "Polygon Ecosystem Token", - "network": "polygon", - "chain_id": 137, - "price": { - "value": 0.3131890240000001, - "changed_at": 1730476401, - "relative_change_24h": -2.8802961483251233 - }, - "symbol": "POL", - "type": "native", - "colors": { "primary": "#2891F9", "fallback": "#81D5F8" }, - "networks": { - "1": { - "address": "0x455e53cbb86018ac2b8092fdcd39d8444affc3f6", - "decimals": 18 - }, - "137": { - "address": "0x0000000000000000000000000000000000001010", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": false, - "networks": { "1": { "bridgeable": false } } - }, - "probable_spam": false, - "verified": true, - "transferable": true, - "mainnet_address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" - } - }, - { - "quantity": "100000000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0x187578816b28f4a39fc6a889d8bb904a66385324", - "decimals": 18, - "icon_url": "", - "name": "QuantumaraV1", - "network": "polygon", - "chain_id": 137, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "QMA", - "colors": { "primary": "#E95D72" }, - "networks": { - "137": { - "address": "0x187578816b28f4a39fc6a889d8bb904a66385324", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "100000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0xf5e8f95ffe487e722639eb822093409bff7b3baf", - "decimals": 18, - "icon_url": "", - "name": "Checkem", - "network": "polygon", - "chain_id": 137, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "CHKM", - "colors": { "primary": "#FF9A23" }, - "networks": { - "137": { - "address": "0xf5e8f95ffe487e722639eb822093409bff7b3baf", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "200000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0x835d1867cf1425789a02f771226677cb491980b7", - "decimals": 18, - "icon_url": "", - "name": "UnitedBlockchainToken", - "network": "polygon", - "chain_id": 137, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "UBT", - "colors": { "primary": "#FF9A23" }, - "networks": { - "137": { - "address": "0x835d1867cf1425789a02f771226677cb491980b7", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "150330000000", - "small_balance": true, - "asset": { - "asset_code": "0x0000000000000000000000000000000000000000", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "arbitrum", - "chain_id": 42161, - "price": { - "value": 2487.41, - "changed_at": 1730476401, - "relative_change_24h": -3.3833343061148935 - }, - "symbol": "ETH", - "type": "native", - "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": true, - "networks": { - "1": { "bridgeable": true }, - "10": { "bridgeable": true }, - "56": { "bridgeable": true }, - "8453": { "bridgeable": true }, - "81457": { "bridgeable": true }, - "7777777": { "bridgeable": true } - } - }, - "probable_spam": false, - "verified": true, - "transferable": true, - "mainnet_address": "eth" - } - }, - { - "quantity": "1000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0x50b4f916b2b68c9288a94df76e29649dafd1c1fb", - "decimals": 18, - "icon_url": "", - "name": "TS", - "network": "arbitrum", - "chain_id": 42161, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "TS", - "colors": { "primary": "#6A87C8" }, - "networks": { - "42161": { - "address": "0x50b4f916b2b68c9288a94df76e29649dafd1c1fb", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": true, - "transferable": true - } - }, - { - "quantity": "57400846687", - "small_balance": true, - "asset": { - "asset_code": "0x0000000000000000000000000000000000000000", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "blast", - "chain_id": 81457, - "price": { - "value": 2483, - "changed_at": 1730476401, - "relative_change_24h": -3.3833343061148935 - }, - "symbol": "ETH", - "type": "native", - "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": true, - "networks": { - "1": { "bridgeable": true }, - "10": { "bridgeable": true }, - "56": { "bridgeable": false }, - "8453": { "bridgeable": true }, - "42161": { "bridgeable": true }, - "7777777": { "bridgeable": true } - } - }, - "probable_spam": false, - "verified": true, - "transferable": true, - "mainnet_address": "eth" - } - }, - { - "quantity": "49792635071", - "small_balance": true, - "asset": { - "asset_code": "0x0000000000000000000000000000000000000000", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "base", - "chain_id": 8453, - "price": { - "value": 2483, - "changed_at": 1730476401, - "relative_change_24h": -3.3833343061148935 - }, - "symbol": "ETH", - "type": "native", - "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": true, - "networks": { - "1": { "bridgeable": true }, - "10": { "bridgeable": true }, - "56": { "bridgeable": false }, - "42161": { "bridgeable": true }, - "81457": { "bridgeable": true }, - "7777777": { "bridgeable": true } - } - }, - "probable_spam": false, - "verified": true, - "transferable": true, - "mainnet_address": "eth" - } - }, - { - "quantity": "9960", - "small_balance": true, - "asset": { - "asset_code": "eth", - "decimals": 18, - "icon_url": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "mainnet", - "chain_id": 1, - "price": { - "value": 2483, - "changed_at": 1730476401, - "relative_change_24h": -3.3833343061148935 - }, - "symbol": "ETH", - "type": "native", - "colors": { "primary": "#808088", "fallback": "#E8EAF5" }, - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "bridging": { - "bridgeable": true, - "networks": { - "10": { "bridgeable": true }, - "56": { "bridgeable": true }, - "8453": { "bridgeable": true }, - "42161": { "bridgeable": true }, - "81457": { "bridgeable": true }, - "7777777": { "bridgeable": true } - } - }, - "probable_spam": false, - "verified": true, - "transferable": true - } - }, - { - "quantity": "45101000000000000000000", - "small_balance": true, - "asset": { - "asset_code": "0x7d97d9dfa4b4da6c193ce2d73be170c47018543e", - "decimals": 18, - "icon_url": "", - "name": "Extremely Cool Test Token WOOOW", - "network": "mainnet", - "chain_id": 1, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "WOOW", - "colors": { "primary": "#9BA1A4" }, - "networks": { - "1": { - "address": "0x7d97d9dfa4b4da6c193ce2d73be170c47018543e", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - }, - { - "quantity": "3892770690740909226214", - "small_balance": true, - "asset": { - "asset_code": "0x2145eaec86935b0414754caa4d8c1582d433c73e", - "decimals": 18, - "icon_url": "", - "name": "All your base are belong to us", - "network": "mainnet", - "chain_id": 1, - "price": { - "value": 0, - "changed_at": 1730476401, - "relative_change_24h": 0 - }, - "symbol": "AYBABTU", - "colors": { "primary": "#71ABFF" }, - "networks": { - "1": { - "address": "0x2145eaec86935b0414754caa4d8c1582d433c73e", - "decimals": 18 - } - }, - "bridging": { "bridgeable": false, "networks": {} }, - "probable_spam": false, - "transferable": true - } - } - ] - } -} diff --git a/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json b/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json b/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json b/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json b/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json b/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json b/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json b/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json deleted file mode 100644 index 7f670a489f..0000000000 --- a/e2e/responses/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.4904083599999998e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378371,"available":true},"totalPrice":{"value":0.22696631010100415,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000000000000026940000000000000000000000000000000000000000000000000000000000036de400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000046300000000000000000000000000000000000000000000000000000000044500a007e5c0d20000000000000000000000000000000000000004210001b10000c100001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db000a0bd46a343021a44e35d5451e0b78621a1b3e7a53dfaa306b1d000000000000000000000051babc7d08ef73fe3fb67efd900f4471cca788b089900000000000000000000069d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f4edfad26ee0d23b69ca93112ecce52704e0006f000000000000000000000000ae78736cd615f374d3085123a210448e74fc639351200ec8c15e458e056c96bd6945fe3f80ee1105035eae78736cd615f374d3085123a210448e74fc63930044e331d039000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051bec5aeb61200000000000000000000000042f527f50f16a103b6ccab48bccca214500c10210000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120111111125421ca6dc452d289314280a0f8842a65ae7ab96520de3a18e5e111b5eaab095312d7fe84012456a758688f4aec4a3339b8b392c33c51cf8585bcf02293fc3f567eac57484f4c065c3350000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000000000000376d600000000000000000000000000000000000000000000000000005292275b2484000000000000000000000000000001bcdd006724fbf5000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004108a78dc11ff7d692170c1a10a01e523fd4aa8f5b1d24016304c27a3a7723a621394f114569ad3dfa439556e8e84538b3759bd20d42031c12965f8a3b72ea6dd81b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"227011","buyAmountMinusFees":"227011","buyAmountDisplay":"227011","buyAmountDisplayMinimum":"224741","buyAmountInEth":"90771637491853","tradeAmountUSD":2.4904083599999998e-11,"tradeFeeAmountUSD":2.1003444e-13,"value":"9960","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"ONE_INCH_LP_1_1","part":33.33333333},{"name":"PMM15","part":33.33333333},{"name":"BALANCER_V2","part":33.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.1003444e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json deleted file mode 100644 index b724e5cee0..0000000000 --- a/e2e/responses/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999072.42591346,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24443658.453581896,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629967518d5866de000000000000000000000000000000000000000000000000000016036e07d771000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb58c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5b6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea44a39ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7868ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696fa12ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002267846d1a1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a5f081edeee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3cfe795e8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010ee1e54783ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0c49ac481ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfa05561a9ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0c647c6b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1692372eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c270ec3127ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c03841a06c00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8ebd4dee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d6172ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd931aee31ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeed37fbfee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163c5a7486df000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9997989300120165687090","buyAmount":"24448471434975","buyAmountMinusFees":"24448471434975","buyAmountDisplay":"24448471434975","buyAmountDisplayMinimum":"24203986720626","buyAmountInEth":"9775860140369738425904","tradeAmountUSD":24999072.42591346,"tradeFeeAmountUSD":212492.11562026443,"value":"9997989300120165687090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.11562026443,"available":true}},"fee":"84982909051021408340","feeInEth":"84982909051021408340","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json b/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json deleted file mode 100644 index 9a3a6cc1d5..0000000000 --- a/e2e/responses/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999069.18477286,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24452116.427791107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000016056138dbee0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb4fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea449b1ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7747ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696df9fee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022678423b34ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014483a84603cd6f1fcf8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142cbb15efefec1bd0aaee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e79bc7713e38f27348bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014f977aaa7dc0239590f1ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000044072e247eee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000875804f249c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cbf9dc956eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000197969dd414ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000371340464acee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e865b43d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001312406544bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b0efaecd900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8e4518ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d524fac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd9312e332ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeec54bcbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163e52b06208000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508667090","buyAmount":"24456931074568","buyAmountMinusFees":"24456931074568","buyAmountDisplay":"24456931074568","buyAmountDisplayMinimum":"24212361763823","buyAmountInEth":"9779242775301294707992","tradeAmountUSD":24999069.18477286,"tradeFeeAmountUSD":212492.0880705693,"value":"9997988003876508667090","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":0.5},{"name":"CURVE","part":7.75},{"name":"UNISWAP_V3","part":70.25},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":1},{"name":"LITEPSM_USDC","part":12.5},{"name":"DODO","part":0.25}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.0880705693,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323670","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json deleted file mode 100644 index a9e2a6631e..0000000000 --- a/e2e/responses/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":24999072.419073477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24452119.546397053,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629964da0c1ce59c000000000000000000000000000000000000000000000000000016056167fa8a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000012140000000000000000000000000000000000000011f60011c800117e00116400a0c9e75c4800000000000005030101000000000000000000000000000000000000001136000ea800087c0003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042afb58c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085ad5b6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea44a39ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000866b7867ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4696fa12ee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a0000000000000000000000000000000000000000000000000000002267846d1a1ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d20000000000000000000000000000000000000000000000000004ae0004a800a0c9e75c480000000000210a03020200000000000000000000000000000000047a0003ed0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f0000000000000000000000000000000000000000000014483aaf71364e72d522c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000142cbb405cebd5e475acee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000001e79bcb7e646f9fec929c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bde41a81ad5937d4317fc90b2ea0c6b0bfc48261d86f3dc23c2b3127ac4d3de076000000000000000000000000a7277c7b0ef6fe2e1c4f69df847fd79dcf6ca3c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000006e537772a7b213a0000000000000000000000000000000000000000000000000000b8727707fdd1bd14044000000000000000000000000000000040068feadb0000000000000000000004ab885cc8946e056e6127cd6b1fcca98dfbb8e224e43be19f608b3934a848c3489ab4cec37790acc9b8256deffd4c34b2c1638497281d20422d479397cfa66e50000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000014f977d65b6bd00ae6584ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a007e5c0d200000000000000000000000000000000000000000000000000060800031b00a0c9e75c4800000000001a0c0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000044072eb68cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000087580614e4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000cbf9de4adfee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000019796a13da6ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000371340bcb31ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000001f0909010000000000000000000000000000000000000002bf00020f0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae7333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e865fd0c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001312408e381ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df021240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b0f03bda900a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000384f8ebd0dee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a0d616abc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bd931ae9d9ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069eeed37813ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163e52dffa7c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9997989297384621033178","buyAmount":"24456934193788","buyAmountMinusFees":"24456934193788","buyAmountDisplay":"24456934193788","buyAmountDisplayMinimum":"24212364851851","buyAmountInEth":"9779244022539125021668","tradeAmountUSD":24999072.419073477,"tradeFeeAmountUSD":212492.11556212456,"value":"9997989297384621033178","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":2.5},{"name":"LITEPSM_USDC","part":12.5},{"name":"CURVE","part":7.75},{"name":"SUSHI","part":1},{"name":"MAVERICK_V2","part":2.25},{"name":"UNISWAP_V3","part":70.25},{"name":"PANCAKESWAP_V3","part":0.5},{"name":"DODO","part":0.25}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212492.11556212456,"available":true}},"fee":"84982909027769278782","feeInEth":"84982909027769278782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json b/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json deleted file mode 100644 index bf9c17946a..0000000000 --- a/e2e/responses/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004100,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":69312.33764761449,"available":true},"totalPrice":{"value":23535574.92098267,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007d3af7f8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000136c00000000000000000000000000000000000000134e0013200012d60012bc00a0c9e75c480000000000000006030100000000000000000000000000000000000000000000128e000a2c00077200a007e5c0d200000000000000000000000000000000000000074e00068200066800031b00a0c9e75c480000000000150f0803030000000000000000000000000000000002ed0002600001d30001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000221e621223c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000002231eee916ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005b47db3323ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000ab14614eaeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000eee5ccb1d0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000002806030100000000000000000000000000000000000000031f00020f00015f00011049025b6a0771c752e35b2ca2aff4f22a66b1598a2bc5dac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044480fc2a4492231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c4800000000000000002f0300000000000000000000000000000000000000000000000000009e00004f02a0000000000000000000000000000000000000000000000000000000000c460423ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a000000000000000000000000000000000000000000000000000000000c03c26e5ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c480000000000001a11050200000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000017f4e0e5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000003c5d64f5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000000d35679bfee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000013bd06a53ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000083e0005d20005b800028e00a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004355939ca7ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000086dfc13ae4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000047ab0472ba0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000007ecb1ca72f8ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000002009030202020000000000000000000000000002fc00024c0001fd0001cf0001800000b05100debf20617708857ebe4f679508e7b7863a8a8eeea0b86991c6218b36c1d19d4a2e9eb0ce3606eb480044a6417ed600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087207ba7df51001116898dda4015ed8ddefb84b6e8bc24528af2d8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800449169558600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087212facce00000000000000000000000000000000000000000000000000000000672b934802a00000000000000000000000000000000000000000000000000000008722193829ee63c1e50104c8577958ccc170eb3d2cca76f9d51bc6e42d8fa0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0a87a1ae8c9f93163c99695c6526b799ebca2207fdf7d61ada0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a00000000000000000000000000000000000000000000000000000026019bc7efbee63c1e5013416cf6c708da44db2624d63ea0aaef7113527c6a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df0212400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000871f83f8ed60020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000002709010100000000000000000000000000000000000000023e0001ef0001a00000d05100d51a44d3fae010294c616388b506acda1bfaae46dac17f958d2ee523a2206206994597c13d831ec70044394747c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017ee1ed700000000000000000000000000000000000000000000000000000000000000005100f5f5b97624542d72a9e06f04804bf81baa15e2b4dac17f958d2ee523a2206206994597c13d831ec70044394747c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018272e74000000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000d81dcdd7ee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000000039b810f74ee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec70020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000007e7ecbee700000000000000000000000000001c2480a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"33955823335","buyAmountMinusFees":"33955823335","buyAmountDisplay":"33955823335","buyAmountDisplayMinimum":"33616265102","buyAmountInEth":"9412686287841862450895","tradeAmountUSD":25004100,"tradeFeeAmountUSD":212534.84999999998,"value":"10000000000000000000000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":3.333333333},{"name":"DODO","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.111111111},{"name":"SYNAPSE","part":0.4444444444},{"name":"UNISWAP_V2","part":2.444444444},{"name":"MAVERICK_V2","part":9.111111111},{"name":"CURVE","part":8.888888889},{"name":"BALANCER_V2","part":0.6666666667},{"name":"CURVE_V2","part":0.2222222222},{"name":"CURVE_V2_TRICRYPTO_NG","part":0.2222222222},{"name":"UNISWAP_V3","part":72.88888889}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.84999999998,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json b/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xe21fcae39b2f0209678604f9a89a540d15d6dd0f6a4c19884be35da187d7b313.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json b/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json b/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json b/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json deleted file mode 100644 index 839e991323..0000000000 --- a/e2e/responses/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378375,"available":true},"totalPrice":{"value":49.990156886891874,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":47.81806598790465,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000044865e637d8a4f0000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006724fc0400000000000000000000000000000000000000006724fbc70000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf6f5e7810658a22fb059c534af75fc68c0b1792fb68c5037c38f1ecb81643442531aef6121778232c9ca948274e90c4696ea354ddef4c4cce528688c7b5582040000000000000000000000000000000000000000000000000000000002faf080869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000010788794117190e3deef2562","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"19992783938190888","buyAmount":"19288038370544207","buyAmountMinusFees":"19124090044394582","buyAmountDisplay":"19124090044394582","buyAmountDisplayMinimum":"191240900443947","buyAmountInEth":"19124090044394582","tradeAmountUSD":49.990156886891874,"tradeFeeAmountUSD":0.4099380341877838,"value":"0","gasPrice":"19580000000","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.4099380341877838,"available":true}},"fee":"163948326149625","feeInEth":"163948326149625","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json b/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json b/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json deleted file mode 100644 index 6685a8a97b..0000000000 --- a/e2e/responses/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":1.530070126913803,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378369,"available":true},"totalPrice":{"value":1.5176841664326948,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000016ee530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586871b8cb355e1d2c660cda646699a11fcb6ac4c9fa8dbc4727481c222caf80af8e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000017295b000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000001bcb9006724fbf40000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041316ce83806e37e7d816e8908bb9d58c06d34bc36bd4053670a3601d58032ce3e0954598738f064ce234e85f89990395a1ffa13db110ee0d224d31b53d482ff9f1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"1517983","buyAmountMinusFees":"1517983","buyAmountDisplay":"1517983","buyAmountDisplayMinimum":"1502804","buyAmountInEth":"606974122816936","tradeAmountUSD":1.530070126913803,"tradeFeeAmountUSD":0.013005596078765762,"value":"611927694623603","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":0.013005596078765762,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json b/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xf09b3b4be343d16393c1db0ea4317d2cdfa1945a4261109b278a1876ecdb6076.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json b/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json deleted file mode 100644 index 9c2b530686..0000000000 --- a/e2e/responses/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25004097.09165418,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24448503.035128824,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000016048bf57990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d94000000000000000000000000000000000000000000000000000000000042b31c2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000085b431dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003ea77e3fee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000086724c0dee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b4728dc3cee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a00000000000000000000000000000000000000000000000000000022694217403ee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005a639cd49aee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b3d90631b1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010eef9c499eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001f0ddc52aa8ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004bfde09ec23ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d0ead50370000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000005a1b23c986ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001c287c40c19ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c075eeb4b500a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000385266b31fee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000070a690cc6ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003bdc3cfb7aeee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000069f44d5eebdee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163d7b4587b9000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429675000","buyAmount":"24453316970425","buyAmountMinusFees":"24453316970425","buyAmountDisplay":"24453316970425","buyAmountDisplayMinimum":"24208783800721","buyAmountInEth":"9777797655236072317077","tradeAmountUSD":25004097.09165418,"tradeFeeAmountUSD":212534.82527906055,"value":"9999998836852429675000","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333},{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212534.82527906055,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652237","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json b/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json deleted file mode 100644 index 311c7ec6da..0000000000 --- a/e2e/responses/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json +++ /dev/null @@ -1 +0,0 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":25001619.580935348,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998031377378376,"available":true},"totalPrice":{"value":24446114.32233582,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000015cb11167fba000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000d91000000000000000000000000000000000000000d73000d45000cfb000ce100a0c9e75c4800000000000000050401000000000000000000000000000000000000000000000cb3000a250003aa00a007e5c0d20000000000000000000000000000000000000000000000000003860002ba00a0c9e75c48000000000000200f020100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d9400000000000000000000000000000000000000000000000000000000004204f96c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a5800000000000000000000000000000000000000000000000000000000084571e3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000003e03ea24ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000085134e33ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000310100000000000000000000000000000000000000000000000000009e00004f02a00000000000000000000000000000000000000000000000000000000b29b7ddbeee63c1e5019a772018fbd77fcd2d25657e5c547baff3fd7d162260fac5e5542a773aa44fbcfedf7c193bc2c59902a000000000000000000000000000000000000000000000000000000220f6d1260bee63c1e50199ac8ca7087fa4a2a1fb6357269965a2014abc352260fac5e5542a773aa44fbcfedf7c193bc2c59900a007e5c0d200000000000000000000000000000000000000000000000000065700031b00a0c9e75c4800000000001b0b0604020000000000000000000000000000000002ed0002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000005977a4ada5ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000b203831ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000010c2c5075efee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000001ebcca94282ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004b377dc3246ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c4800000000001b0a0a020100000000000000000000000000000000030e00025e00014e0000ff0000b05100c9f93163c99695c6526b799ebca2207fdf7d61addac17f958d2ee523a2206206994597c13d831ec700048dae733300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c990cd2800000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000592fe8923bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000001bdef9bcbc7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b40e3bd8c600a0c9e75c480000000000001e1102010000000000000000000000000000000000000002600001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000037bf5f71c1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc0000000000000000000000000000000000000000000000000000006f80787661c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000003b3ff64d61bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000068dfb213afbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000163cecdd7d1c000000000000000000000000004c362d80a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057592","buyAmount":"24450927787292","buyAmountMinusFees":"24450927787292","buyAmountDisplay":"24450927787292","buyAmountDisplayMinimum":"23961909231547","buyAmountInEth":"9776842326792735537375","tradeAmountUSD":25001619.580935348,"tradeFeeAmountUSD":212513.76643795046,"value":"9999007995062950057592","gasPrice":"19358018001","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":3.333333333},{"name":"CURVE","part":9},{"name":"UNISWAP_V2","part":3},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":82.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":2500.41,"available":true},"totalPrice":{"value":212513.76643795046,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075489","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json b/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json b/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json b/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json deleted file mode 100644 index 2465aa9aea..0000000000 --- a/e2e/responses/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/serial/swap/1_swapFlow1.test.ts b/e2e/serial/swap/1_swapFlow1.test.ts index e74a2cc6a6..e326fb577d 100644 --- a/e2e/serial/swap/1_swapFlow1.test.ts +++ b/e2e/serial/swap/1_swapFlow1.test.ts @@ -124,6 +124,7 @@ it('should be able to go to swap settings and check rows are visible', async () id: 'swap-settings-navbar-button', driver, }); + await delay(1_000); const routeRow = await findElementByTestId({ id: 'swap-settings-route-row', driver, @@ -268,7 +269,7 @@ it.skip('should be able to set default values for settings and go back to swap', it('should be able to open token to sell input and select assets', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, + id: `token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -290,7 +291,7 @@ it('should be able to open token to sell input and select assets', async () => { driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); @@ -304,7 +305,7 @@ it('should be able to open token to sell input and select assets', async () => { driver, }); const toBuyInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputEthSelected).toBeTruthy(); @@ -334,7 +335,7 @@ it('should be able to select same asset than asset to buy as asset to sell and r driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); @@ -357,7 +358,7 @@ it('should be able to open press max on token to sell input', async () => { driver, }); const ethValueBeforeGas = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(ethValueBeforeGas).toEqual('10000'); @@ -370,7 +371,7 @@ it('should be able to open press max on token to sell input', async () => { it('should be able to remove token to sell and select it again', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, + id: `token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -378,13 +379,13 @@ it('should be able to remove token to sell and select it again', async () => { driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); // should clear input value const ethValueAfterSelection = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(ethValueAfterSelection).not.toEqual(''); @@ -406,7 +407,7 @@ it('should be able to open token to buy input and select assets', async () => { }); expect(elementFound).toBeFalsy(); const toBuyInputDaiSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputDaiSelected).toBeTruthy(); @@ -434,19 +435,19 @@ it('should be able to type native amount on sell input', async () => { id: 'token-to-sell-info-fiat-value-input', driver, }); - await delayTime('very-long'); + // await delayTime('very-long'); expect(fiatValueText).toBe('1'); - await delay(10_000); + // await delay(10_000); const assetToSellInputText = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputText).not.toBe(''); const assetToBuyInputText = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputText).not.toBe(''); @@ -454,7 +455,7 @@ it('should be able to type native amount on sell input', async () => { it('should be able to open remove token to buy and check favorites and verified lists are visible', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); const favoritesSection = await findElementByTestId({ @@ -502,24 +503,24 @@ it('should be able to check price and balance of token to buy', async () => { it('should be able to flip correctly', async () => { await findElementByTestIdAndDoubleClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); await typeOnTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, text: 1, driver, }); const assetToSellInputText = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputText).toBe('1'); const assetToBuyInputText = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputText).not.toBe(''); @@ -530,14 +531,14 @@ it('should be able to flip correctly', async () => { }); const assetToSellInputTextAfterFlip = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputTextAfterFlip).not.toEqual(''); const assetToBuyInputTextAfterFlip = await getTextFromTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputTextAfterFlip).toEqual('1'); @@ -558,7 +559,7 @@ it('should be able to check insufficient native asset for gas', async () => { }); await typeOnTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, text: `\b10000`, driver, }); @@ -580,7 +581,7 @@ it.skip('should be able to see small market warning', async () => { it('should be able to filter assets to buy by network', async () => { // OP await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -603,7 +604,7 @@ it('should be able to filter assets to buy by network', async () => { }); // POLYGON await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -626,7 +627,7 @@ it('should be able to filter assets to buy by network', async () => { }); // ARBITRUM await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.POL_POLYGON_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -661,7 +662,7 @@ it('should be able to filter assets to buy by network', async () => { // BNB await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.GMX_ARBITRUM_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -683,12 +684,13 @@ it('should be able to filter assets to buy by network', async () => { driver, }); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.UNI_BNB_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); }); -it('should be able to see no route explainer', async () => { +// the list shouldn't be including an asset with no routes to it +it.skip('should be able to see no route explainer', async () => { await findElementByTestIdAndClick({ id: 'token-to-buy-networks-trigger', driver, @@ -713,7 +715,7 @@ it('should be able to see no route explainer', async () => { }); await delayTime('long'); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -771,9 +773,10 @@ it('should be able to see no route explainer', async () => { }); }); -it('should be able to find exact match on other networks', async () => { +// same asset on other networks does not show in testnet mode (makes sense we won't crosschain sepolia -> mainnet) +it.skip('should be able to find exact match on other networks', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-sell-token-input-remove`, + id: `token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -785,7 +788,7 @@ it('should be able to find exact match on other networks', async () => { driver, }); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.GMX_ARBITRUM_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -812,26 +815,26 @@ it('should be able to find exact match on other networks', async () => { driver, }); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ - id: 'token-to-buy-search-token-input', + id: `token-to-sell-token-input-remove`, driver, }); }); it('should be able to go to review a swap', async () => { - await findElementByTestIdAndClick({ - id: 'token-to-sell-search-token-input', - driver, - }); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-row`, - driver, - }); + // await findElementByTestIdAndClick({ + // id: 'token-to-sell-search-token-input', + // driver, + // }); + // await findElementByTestIdAndClick({ + // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-row`, + // driver, + // }); const toSellInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); @@ -839,28 +842,48 @@ it('should be able to go to review a swap', async () => { id: 'token-to-buy-search-token-input', driver, }); + await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-favorites-token-to-buy-row`, + id: 'token-to-buy-networks-trigger', driver, }); - const toBuyInputDaiSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, + await findElementByTestIdAndClick({ + id: `switch-network-item-${ChainId.mainnet}`, driver, }); - expect(toBuyInputDaiSelected).toBeTruthy(); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + + await typeOnTextInput({ + id: 'token-to-buy-search-token-input', driver, + text: 'usdc', }); - await clearInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + await findElementByTestIdAndClick({ + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-favorites-token-to-buy-row`, driver, }); - await typeOnTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, - text: 1, + const toBuyInputUSDCSelected = await findElementByTestId({ + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); + expect(toBuyInputUSDCSelected).toBeTruthy(); + + await delay(2000); + + toSellInputEthSelected.clear(); + // await findElementByTestIdAndClick({ + // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + // driver, + // }); + // await clearInput({ + // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + // driver, + // }); + toSellInputEthSelected.sendKeys('1'); + // await typeOnTextInput({ + // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + // text: 1, + // driver, + // }); await findElementByTestIdAndClick({ id: 'swap-confirmation-button-ready', driver, @@ -1019,7 +1042,7 @@ it('should be able to execute swap', async () => { await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); // waiting for balances to update / swap to execute - await delay(20_000); + await delay(10_000); const ethBalanceAfterSwap = await provider.getBalance(WALLET_TO_USE_ADDRESS); diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index 863e11984b..4548101675 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -1,9 +1,7 @@ import 'chromedriver'; import 'geckodriver'; -import { Contract } from '@ethersproject/contracts'; -import { StaticJsonRpcProvider } from '@ethersproject/providers'; import { Key, WebDriver } from 'selenium-webdriver'; -import { erc20Abi } from 'viem'; +import { Address, createClient, erc20Abi, getContract, http } from 'viem'; import { afterAll, afterEach, @@ -135,7 +133,7 @@ describe('Swap Flow 2', () => { it('should be able to go to review a unlock and swap', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, + id: `token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -143,16 +141,16 @@ describe('Swap Flow 2', () => { driver, }); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); await delayTime('very-long'); await clearInput({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); await typeOnTextInput({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, text: `\b50`, driver, }); @@ -160,18 +158,17 @@ describe('Swap Flow 2', () => { }); it('should be able to execute unlock and swap', async () => { - const provider = new StaticJsonRpcProvider('http://127.0.0.1:8545'); - await provider.ready; - await delayTime('short'); - const tokenContract = new Contract( - SWAP_VARIABLES.USDC_MAINNET_ADDRESS, - erc20Abi, - provider, - ); - await delayTime('long'); - const usdcBalanceBeforeSwap = await tokenContract.balanceOf( - WALLET_TO_USE_ADDRESS, - ); + const client = createClient({ + transport: http('http://127.0.0.1:8545'), + }); + const tokenContract = getContract({ + abi: erc20Abi, + address: SWAP_VARIABLES.USDC_MAINNET_ADDRESS as Address, + client, + }); + const usdcBalanceBeforeSwap = await tokenContract.read.balanceOf([ + WALLET_TO_USE_ADDRESS as Address, + ]); await findElementByTestIdAndClick({ id: 'swap-settings-navbar-button', @@ -203,16 +200,17 @@ describe('Swap Flow 2', () => { id: 'swap-confirmation-button-ready', driver, }); - await delay(10_000); + await delay(5_000); await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); - // waiting for balances to update / swap to execute + // waiting for balances to update await delay(20_000); - const usdcBalanceAfterSwap = await tokenContract.balanceOf( - WALLET_TO_USE_ADDRESS, - ); + const usdcBalanceAfterSwap = await tokenContract.read.balanceOf([ + WALLET_TO_USE_ADDRESS as Address, + ]); + const balanceDifference = subtract( usdcBalanceBeforeSwap.toString(), usdcBalanceAfterSwap.toString(), @@ -238,7 +236,7 @@ describe('Swap Flow 2', () => { }); await delayTime('medium'); const toSellInputDaiSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputDaiSelected).toBeTruthy(); @@ -270,7 +268,7 @@ describe('Swap Flow 2', () => { driver, }); const toBuyInputUsdcSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.USDC_ARBITRUM_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputUsdcSelected).toBeTruthy(); @@ -454,7 +452,7 @@ describe('Swap Flow 2', () => { it.skip('should be able to go to review a bridge', async () => { await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-token-input-remove`, + id: `token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -463,12 +461,12 @@ describe('Swap Flow 2', () => { }); await delayTime('medium'); const toSellInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_ARBITRUM_ID}-token-to-buy-token-input-remove`, + id: `token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -489,12 +487,12 @@ describe('Swap Flow 2', () => { driver, }); const toBuyInputEthSelected = await findElementByTestId({ - id: `${SWAP_VARIABLES.ETH_OPTIMISM_ID}-token-to-buy-swap-token-input-swap-input-mask`, + id: `token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputEthSelected).toBeTruthy(); await typeOnTextInput({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, text: 1, driver, }); diff --git a/e2e/serial/vitest.config.ts b/e2e/serial/vitest.config.ts index d9e2cb9d54..41496ab83f 100644 --- a/e2e/serial/vitest.config.ts +++ b/e2e/serial/vitest.config.ts @@ -7,8 +7,9 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - threads: false, + retry: 0, bail: 1, + threads: false, sequence: { shuffle: false, sequencer: class Sequencer { diff --git a/e2e/urls.json b/e2e/urls.json deleted file mode 100644 index 22ccbefb84..0000000000 --- a/e2e/urls.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "urls": [ - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xff970a61a04b1ca14834a43f5de4533ebddb5cc8&chainId=1¤cy=USD&fromAddress=0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc&refuel=false&sellAmount=1000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&toChainId=42161", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999007995062950057592", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2510657864", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=undefined&toChainId=42161&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x0000000000000000000000000000000000001010&chainId=1&sellToken=eth&toChainId=137&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&buyAmount=1", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996982823151043603690", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01533215", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.984138834155356203", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989300120165687090", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9998994908517291596490", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996475296478968045", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.996475296478968045", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9998.99647823966471149", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03805202", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699952", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998358877292100000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2490.984407", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2490984407", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2490984407", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03691288", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03793298", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99263622658738006", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03694857", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2508601845", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.992850717515502892", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998293713846870000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=eth&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&slippage=5&sellAmount=100000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&buyAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999007995062950057592", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999013234332130657592", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9960", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&sellAmount=0.00000015033", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=5", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0x4200000000000000000000000000000000000042&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=10", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1&sellToken=eth&toChainId=56&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=137", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&slippage=1&buyAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997988003876508667090", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01535875", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989297384621033178", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.989297384621033178", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998358877292100000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699737", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0380476", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2500885809", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03693362", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&slippage=5&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=50000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=50", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=5", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9960", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=50", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=99&sellAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2510657864", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=99&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=undefined&toChainId=10&buyAmount=", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=1000000000000000000&sellToken=0x4200000000000000000000000000000000000042&slippage=2&toChainId=42161", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=eth&toChainId=10&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=42161", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=eth&toChainId=42161&sellAmount=10000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01530994", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=10000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&sellAmount=0", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9996982823151043603690", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984138834155356203", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9996.98413773592540869", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9997.98930012016568709", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0381087", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996478239664711490", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998325952559545000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998325952559545000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998154390384020000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2500885809", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998244640204720000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03799746", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2508601845", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998293713846870000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=5000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999013234332130657592", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=5000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2510.657864", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.997006106694155433", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998836852429675000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998836852429675000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&sellAmount=1", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=56", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=6119276.94623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984137735925408690", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9997988003876508667090", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998994908517291596490", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03708068", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=1000000006119276.94623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99179708219475168", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998154390384020000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", - "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2500.885809", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998244640204720000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2508.601845", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=402024595864775", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000402024595864775", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000" - ] -} diff --git a/lavamoat/build-webpack/policy.json b/lavamoat/build-webpack/policy.json index 19440ec708..739b3722b7 100644 --- a/lavamoat/build-webpack/policy.json +++ b/lavamoat/build-webpack/policy.json @@ -1,64 +1,85 @@ { "resources": { - "@testing-library/react>@testing-library/dom>@babel/code-frame": { + "@graphql-eslint/eslint-plugin>@babel/code-frame": { "globals": { "console.warn": true, - "process.emitWarning": true + "exports": true, + "process": true, + "require": true }, "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": true + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "react>loose-envify>js-tokens": true, + "vitest>picocolors": true } }, - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": { - "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": true, - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true, - "react>loose-envify>js-tokens": true + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": { + "globals": { + "exports": true } }, - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": { + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": { "globals": { - "process.env.TERM": true, - "process.platform": true + "console.log": true, + "exports": true, + "require": true }, "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true, - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true, - "supports-color": true + "@graphql-eslint/eslint-plugin>@babel/code-frame": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse>globals": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, + "eslint>debug": true, + "jest>@jest/core>jest-snapshot>@babel/generator": true } }, - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles": { - "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse>globals": { + "globals": { + "module.exports": "write", + "require": true } }, - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": { + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": { + "globals": { + "console.warn": true, + "exports": true, + "process.env": true, + "require": true + }, "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "lavamoat>lavamoat-core>@babel/types>@babel/helper-string-parser": true } }, - "@vanilla-extract/css": { + "@rudderstack/analytics-js-service-worker>ms": { "globals": { - "process.env.NODE_ENV": true - }, - "packages": { - "@vanilla-extract/css>@vanilla-extract/private": true, - "@vanilla-extract/css>ahocorasick": true, - "@vanilla-extract/css>css-what": true, - "@vanilla-extract/css>cssesc": true, - "@vanilla-extract/css>media-query-parser": true, - "@vanilla-extract/css>outdent": true + "module.exports": "write" } }, "@vanilla-extract/css>@vanilla-extract/private": { "globals": { "console.warn": true, - "process.env.NODE_ENV": true + "exports": true, + "module.exports": "write", + "process.env.NODE_ENV": true, + "require": true } }, - "@vanilla-extract/css>ahocorasick": { + "@vanilla-extract/css>cssesc": { "globals": { - "AhoCorasick": "write" + "module.exports": "write" + } + }, + "@vanilla-extract/css>media-query-parser": { + "globals": { + "exports": true + } + }, + "@vanilla-extract/css>outdent": { + "globals": { + "exports": true, + "module": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration": { @@ -73,51 +94,105 @@ "globals": { "Buffer.from": true, "console": true, - "process": true + "exports": true, + "module.exports": "write", + "process": true, + "require": true }, "packages": { "$root$": true, - "@vanilla-extract/css": true, "@vanilla-extract/css>outdent": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/babel-plugin-debug-ids": true, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>esbuild": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>javascript-stringify": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true, - "lodash": true + "lodash": true, + "vitest>vite-node>mlly": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript": { + "globals": { + "exports": true, + "require": true + }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript>@babel/helper-plugin-utils": true } }, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript>@babel/helper-plugin-utils": { + "globals": { + "exports": true + } + }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/babel-plugin-debug-ids": { "globals": { - "process.env.NODE_ENV": true + "exports": true, + "module.exports": "write", + "process.env.NODE_ENV": true, + "require": true }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true } }, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css": { + "globals": { + "exports": true, + "module.exports": "write", + "process.env.NODE_ENV": true, + "require": true + }, + "packages": { + "@vanilla-extract/css>@vanilla-extract/private": true, + "@vanilla-extract/css>cssesc": true, + "@vanilla-extract/css>media-query-parser": true, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": true, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>dedent": true, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>modern-ahocorasick": true + } + }, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": { + "globals": { + "exports": true, + "require": true + } + }, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>dedent": { + "globals": { + "exports": true, + "module.exports": "write" + } + }, + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>modern-ahocorasick": { + "globals": { + "module.exports": "write" + } + }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>esbuild": { "builtin": { "child_process.execFileSync": true, "child_process.spawn": true, "crypto.randomBytes": true, + "fs.chmodSync": true, + "fs.copyFileSync": true, "fs.existsSync": true, + "fs.mkdirSync": true, "fs.readFile": true, "fs.readFileSync": true, "fs.unlink": true, "fs.unlinkSync": true, "fs.writeFile": true, "fs.writeFileSync": true, + "os.arch": true, + "os.endianness": true, "os.tmpdir": true, "path.basename": true, + "path.dirname": true, "path.join": true, - "path.resolve": true, "tty.isatty": true, "worker_threads": true }, @@ -125,15 +200,21 @@ "Buffer": true, "TextDecoder": true, "TextEncoder": true, + "URL": true, + "WebAssembly.Module": true, "__dirname": true, "__filename": true, - "console.error": true, "console.log": true, + "console.warn": true, + "module.exports": "write", "process.cwd": true, "process.env.ESBUILD_BINARY_PATH": true, "process.env.ESBUILD_MAX_BUFFER": true, "process.env.ESBUILD_WORKER_THREADS": true, - "process.platform": true + "process.platform": true, + "process.versions.node.split": true, + "require": true, + "setTimeout": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval": { @@ -142,9 +223,10 @@ }, "globals": { "Buffer.isBuffer": true, - "URL": true, "console": true, - "process": true + "module.exports": "write", + "module.parent": true, + "require": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval>require-like": true @@ -156,7 +238,9 @@ "path.dirname": true }, "globals": { - "process.mainModule": true + "module.exports": "write", + "process.mainModule": true, + "require": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up": { @@ -165,6 +249,10 @@ "path.parse": true, "path.resolve": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path": true, "eslint>find-up>path-exists": true @@ -180,20 +268,28 @@ "util.promisify": true }, "globals": { - "process.cwd": true + "module.exports": "write", + "process.cwd": true, + "require": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path>p-locate": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path>p-locate": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "jest>@jest/core>jest-runner>p-limit": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>javascript-stringify": { "globals": { - "Buffer": true + "Buffer": true, + "exports": true, + "require": true } }, "@vanilla-extract/webpack-plugin": { @@ -202,7 +298,10 @@ }, "globals": { "console.warn": true, - "process.env.NODE_ENV": true + "exports": true, + "module.exports": "write", + "process.env.NODE_ENV": true, + "require": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration": true, @@ -252,16 +351,28 @@ "audit-ci>event-stream>duplexer": { "builtin": { "stream": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "browserify>crypto-browserify>randombytes": { "builtin": { "crypto.randomBytes": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "browserify>readable-stream>util-deprecate": { "builtin": { "util.deprecate": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "circular-dependency-plugin": { @@ -270,7 +381,9 @@ "util._extend": true }, "globals": { - "process.cwd": true + "module.exports": "write", + "process.cwd": true, + "require": true } }, "copy-webpack-plugin": { @@ -287,24 +400,19 @@ "path.resolve": true, "path.sep": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { - "copy-webpack-plugin>glob-parent": true, "copy-webpack-plugin>globby": true, "copy-webpack-plugin>schema-utils": true, "copy-webpack-plugin>serialize-javascript": true, + "eslint>glob-parent": true, "globby>fast-glob": true, "lint-staged>normalize-path": true } }, - "copy-webpack-plugin>glob-parent": { - "builtin": { - "os.platform": true, - "path.posix.dirname": true - }, - "packages": { - "eslint>is-glob": true - } - }, "copy-webpack-plugin>globby": { "builtin": { "fs.Stats": true, @@ -320,7 +428,9 @@ "util.promisify": true }, "globals": { - "process.cwd": true + "module.exports": "write", + "process.cwd": true, + "require": true }, "packages": { "eslint>ignore": true, @@ -332,6 +442,12 @@ } }, "copy-webpack-plugin>schema-utils": { + "globals": { + "exports": true, + "module.exports": "write", + "process": true, + "require": true + }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true, "copy-webpack-plugin>schema-utils>ajv-formats": true, @@ -340,31 +456,51 @@ }, "copy-webpack-plugin>schema-utils>ajv": { "globals": { - "console": true + "console": true, + "exports": "write", + "module.exports": "write", + "require": true }, "packages": { - "eslint>ajv>uri-js": true, + "copy-webpack-plugin>schema-utils>ajv>fast-uri": true, "eslint>fast-deep-equal": true, "web-ext>addons-linter>ajv>json-schema-traverse": true } }, "copy-webpack-plugin>schema-utils>ajv-formats": { + "globals": { + "exports": "write", + "module.exports": "write", + "require": true + }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true } }, "copy-webpack-plugin>schema-utils>ajv-keywords": { "globals": { - "Buffer": true + "Buffer": true, + "exports": true, + "module.exports": "write", + "require": true }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true, "eslint>fast-deep-equal": true } }, + "copy-webpack-plugin>schema-utils>ajv>fast-uri": { + "globals": { + "URL.domainToASCII": true, + "module.exports": "write", + "require": true + } + }, "copy-webpack-plugin>serialize-javascript": { "globals": { - "URL": true + "URL": true, + "module.exports": "write", + "require": true }, "packages": { "browserify>crypto-browserify>randombytes": true @@ -377,7 +513,10 @@ }, "globals": { "Buffer.allocUnsafe": true, - "Buffer.from": true + "Buffer.from": true, + "exports": true, + "module.exports": "write", + "require": true }, "packages": { "css-loader>icss-utils": true, @@ -390,6 +529,12 @@ "semver": true } }, + "css-loader>icss-utils": { + "globals": { + "module.exports": "write", + "require": true + } + }, "css-loader>postcss": { "builtin": { "fs.existsSync": true, @@ -409,8 +554,10 @@ "atob": true, "btoa": true, "console": true, + "module.exports": "write", "process.env.LANG": true, - "process.env.NODE_ENV": true + "process.env.NODE_ENV": true, + "require": true }, "packages": { "css-loader>postcss>nanoid": true, @@ -418,7 +565,17 @@ "vitest>picocolors": true } }, + "css-loader>postcss-modules-extract-imports": { + "globals": { + "module.exports": "write", + "require": true + } + }, "css-loader>postcss-modules-local-by-default": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "css-loader>icss-utils": true, "css-loader>postcss-modules-scope>postcss-selector-parser": true, @@ -426,21 +583,80 @@ } }, "css-loader>postcss-modules-scope": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "css-loader>postcss-modules-scope>postcss-selector-parser": true } }, "css-loader>postcss-modules-scope>postcss-selector-parser": { + "globals": { + "exports": true, + "module.exports": "write", + "require": true + }, "packages": { "@vanilla-extract/css>cssesc": true, "browserify>readable-stream>util-deprecate": true } }, "css-loader>postcss-modules-values": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "css-loader>icss-utils": true } }, + "css-loader>postcss-value-parser": { + "globals": { + "module.exports": "write", + "require": true + } + }, + "css-loader>postcss>nanoid": { + "globals": { + "module.exports": "write" + } + }, + "css-loader>postcss>source-map-js": { + "globals": { + "console": true, + "exports.ArraySet": "write", + "exports.BasicSourceMapConsumer": "write", + "exports.GREATEST_LOWER_BOUND": "write", + "exports.IndexedSourceMapConsumer": "write", + "exports.LEAST_UPPER_BOUND": "write", + "exports.MappingList": "write", + "exports.SourceMapConsumer": "write", + "exports.SourceMapGenerator": "write", + "exports.SourceNode": "write", + "exports.compareByGeneratedPositionsDeflated": "write", + "exports.compareByGeneratedPositionsDeflatedNoLine": "write", + "exports.compareByGeneratedPositionsInflated": "write", + "exports.compareByOriginalPositions": "write", + "exports.compareByOriginalPositionsNoSource": "write", + "exports.computeSourceURL": "write", + "exports.decode": "write", + "exports.encode": "write", + "exports.fromSetString": "write", + "exports.getArg": "write", + "exports.isAbsolute": "write", + "exports.join": "write", + "exports.normalize": "write", + "exports.parseSourceMapInput": "write", + "exports.quickSort": "write", + "exports.relative": "write", + "exports.search": "write", + "exports.toSetString": "write", + "exports.urlGenerate": "write", + "exports.urlParse": "write", + "require": true + } + }, "dotenv-webpack": { "builtin": { "fs": true @@ -448,8 +664,11 @@ "globals": { "console.log": true, "console.warn": true, + "exports": true, + "module.exports": "write", "process.env": true, - "process.exit": true + "process.exit": true, + "require": true }, "packages": { "dotenv-webpack>dotenv-defaults": true, @@ -457,6 +676,10 @@ } }, "dotenv-webpack>dotenv-defaults": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "dotenv-webpack>dotenv-defaults>dotenv": true } @@ -468,8 +691,11 @@ }, "globals": { "console.log": true, + "module.exports.config": true, + "module.exports.parse": true, "process.cwd": true, - "process.env": true + "process.env": true, + "require": true } }, "esbuild": { @@ -505,12 +731,14 @@ "__filename": true, "console.error": true, "console.log": true, + "module.exports": "write", "process.cwd": true, "process.env.ESBUILD_BINARY_PATH": true, "process.env.ESBUILD_MAX_BUFFER": true, "process.env.ESBUILD_WORKER_THREADS": true, "process.platform": true, - "process.versions.node.split": true + "process.versions.node.split": true, + "require": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": { @@ -519,88 +747,96 @@ "fs": true, "module": true, "path": true, + "process": true, "url": true, - "util": true + "util": true, + "v8": true }, "globals": { + "URL": true, "console.error": true, "console.log": true, - "process": true + "exports": true, + "module.exports": "write", + "process.env.BABEL_ENV": true, + "process.env.BABEL_SHOW_CONFIG_FOR": true, + "process.env.NODE_ENV": true, + "process.versions.node": true, + "process.versions.pnp": true, + "require": true }, "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame": true, + "@graphql-eslint/eslint-plugin>@babel/code-frame": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/parser": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>gensync": true, "eslint>debug": true, "file-loader>loader-utils>json5": true, - "jest>@jest/core>@jest/transform>convert-source-map": true, "jest>@jest/core>jest-snapshot>@babel/generator": true, - "jest>@jest/core>jest-snapshot>@babel/traverse": true, - "jest>@jest/core>jest-snapshot>@babel/types": true, + "lavamoat-browserify>convert-source-map": true, "semver": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping": { "globals": { - "define": true - }, - "packages": { - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping>@jridgewell/gen-mapping": true, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping>@jridgewell/gen-mapping": { - "globals": { - "define": true + "define": true, + "exports": true, + "module": true, + "require": true }, "packages": { - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true, - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true + "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets": { "globals": { "console.warn": true, - "process.versions.node": true + "exports": true, + "process.env.BROWSERSLIST": true, + "process.env.BROWSERSLIST_CONFIG": true, + "process.versions.node": true, + "require": true }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/compat-data": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/helper-validator-option": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist": true, - "semver": true + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache": true, + "semver": true, + "webpack>browserslist": true } }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist": { - "builtin": { - "fs.existsSync": true, - "fs.readFileSync": true, - "fs.statSync": true, - "path.basename": true, - "path.dirname": true, - "path.join": true, - "path.resolve": true - }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/compat-data": { "globals": { - "console.warn": true, - "process.env.BROWSERSLIST": true, - "process.env.BROWSERSLIST_CONFIG": true, - "process.env.BROWSERSLIST_DANGEROUS_EXTEND": true, - "process.env.BROWSERSLIST_DISABLE_CACHE": true, - "process.env.BROWSERSLIST_ENV": true, - "process.env.BROWSERSLIST_IGNORE_OLD_DATA": true, - "process.env.BROWSERSLIST_STATS": true, - "process.env.NODE_ENV": true, - "process.versions.node": true + "module.exports": "write", + "require": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/helper-validator-option": { + "globals": { + "exports": true, + "require": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache": { + "globals": { + "module.exports": "write", + "require": true }, "packages": { - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>caniuse-lite": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>electron-to-chromium": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>node-releases": true + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache>yallist": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache>yallist": { + "globals": { + "module.exports": "write", + "require": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms": { @@ -609,47 +845,53 @@ "path.basename": true, "path.extname": true }, + "globals": { + "exports": true, + "require": true + }, "packages": { - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-environment-visitor": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-split-export-declaration": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, - "jest>@jest/core>jest-snapshot>@babel/traverse": true, - "jest>@jest/core>jest-snapshot>@babel/types": true, - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": { "builtin": { "assert": true }, + "globals": { + "exports": true, + "require": true + }, "packages": { - "jest>@jest/core>jest-snapshot>@babel/types": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access": { - "packages": { - "jest>@jest/core>jest-snapshot>@babel/types": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-split-export-declaration": { - "packages": { - "jest>@jest/core>jest-snapshot>@babel/types": true + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers": { + "globals": { + "exports": true, + "require": true + }, "packages": { - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, - "jest>@jest/core>jest-snapshot>@babel/traverse": true, - "jest>@jest/core>jest-snapshot>@babel/types": true + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": { + "globals": { + "exports": true, + "require": true + }, "packages": { - "@testing-library/react>@testing-library/dom>@babel/code-frame": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/parser": true, - "jest>@jest/core>jest-snapshot>@babel/types": true + "@graphql-eslint/eslint-plugin>@babel/code-frame": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>gensync": { + "globals": { + "module.exports": "write" } }, "eslint>@nodelib/fs.walk": { @@ -659,6 +901,8 @@ "stream.Readable": true }, "globals": { + "exports": true, + "require": true, "setImmediate": true }, "packages": { @@ -677,7 +921,9 @@ "path.sep": true }, "globals": { - "process.versions.node": true + "exports": true, + "process.versions.node": true, + "require": true }, "packages": { "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel": true, @@ -685,24 +931,40 @@ } }, "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel>queue-microtask": true } }, "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel>queue-microtask": { "globals": { + "module.exports": "write", "queueMicrotask": true, "setTimeout": true } }, "eslint>@nodelib/fs.walk>fastq": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "eslint>@nodelib/fs.walk>fastq>reusify": true } }, + "eslint>@nodelib/fs.walk>fastq>reusify": { + "globals": { + "module.exports": "write" + } + }, "eslint>ajv": { "globals": { - "console": true + "console": true, + "module.exports": "write", + "require": true }, "packages": { "eslint>ajv>fast-json-stable-stringify": true, @@ -711,64 +973,136 @@ "eslint>fast-deep-equal": true } }, + "eslint>ajv>fast-json-stable-stringify": { + "globals": { + "module.exports": "write" + } + }, + "eslint>ajv>json-schema-traverse": { + "globals": { + "module.exports": "write" + } + }, "eslint>ajv>uri-js": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true } }, "eslint>debug": { "builtin": { "tty.isatty": true, "util.deprecate": true, - "util.format": true, + "util.formatWithOptions": true, "util.inspect": true }, "globals": { "console": true, "document": true, + "exports": true, "localStorage": true, + "module.exports": "write", "navigator": true, - "process": true + "process": true, + "require": true }, "packages": { - "eslint>debug>ms": true, + "@rudderstack/analytics-js-service-worker>ms": true, "supports-color": true } }, "eslint>eslint-scope>esrecurse": { + "globals": { + "exports.Visitor": "write", + "exports.version": "write", + "exports.visit": "write", + "require": true + }, "packages": { "eslint>esquery>estraverse": true } }, + "eslint>esquery>estraverse": { + "globals": { + "exports": true + } + }, + "eslint>fast-deep-equal": { + "globals": { + "module.exports": "write" + } + }, "eslint>find-up>path-exists": { "builtin": { "fs.access": true, "fs.accessSync": true, "util.promisify": true + }, + "globals": { + "module.exports": "write", + "require": true + } + }, + "eslint>glob-parent": { + "builtin": { + "os.platform": true, + "path.posix.dirname": true + }, + "globals": { + "module.exports": "write", + "require": true + }, + "packages": { + "eslint>is-glob": true } }, "eslint>ignore": { "globals": { + "module.exports": "write", "process": true } }, "eslint>is-glob": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "eslint>is-glob>is-extglob": true } }, + "eslint>is-glob>is-extglob": { + "globals": { + "module.exports": "write" + } + }, "eslint>strip-ansi": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "eslint>strip-ansi>ansi-regex": true } }, + "eslint>strip-ansi>ansi-regex": { + "globals": { + "module.exports": "write" + } + }, "file-loader": { "builtin": { "path": true }, + "globals": { + "exports": true, + "module.exports": "write", + "require": true + }, "packages": { "file-loader>loader-utils": true, - "file-loader>schema-utils": true + "webpack>schema-utils": true } }, "file-loader>loader-utils": { @@ -784,7 +1118,19 @@ "globals": { "Buffer.from": true, "WebAssembly.Instance": true, - "WebAssembly.Module": true + "WebAssembly.Module": true, + "exports.getCurrentRequest": "write", + "exports.getHashDigest": "write", + "exports.getOptions": "write", + "exports.getRemainingRequest": "write", + "exports.interpolateName": "write", + "exports.isUrlRequest": "write", + "exports.parseQuery": "write", + "exports.parseString": "write", + "exports.stringifyRequest": "write", + "exports.urlToRequest": "write", + "module.exports": "write", + "require": true }, "packages": { "file-loader>loader-utils>big.js": true, @@ -794,18 +1140,25 @@ }, "file-loader>loader-utils>big.js": { "globals": { - "define": true + "define": true, + "module": true + } + }, + "file-loader>loader-utils>emojis-list": { + "globals": { + "module.exports": "write" } }, "file-loader>loader-utils>json5": { "globals": { - "console.warn": true + "console.warn": true, + "module.exports": "write", + "require": true } }, - "file-loader>schema-utils": { - "packages": { - "eslint>ajv": true, - "webpack>schema-utils>ajv-keywords": true + "globby>array-union": { + "globals": { + "module.exports": "write" } }, "globby>dir-glob": { @@ -816,7 +1169,9 @@ "path.posix.join": true }, "globals": { - "process.cwd": true + "module.exports": "write", + "process.cwd": true, + "require": true }, "packages": { "globby>dir-glob>path-type": true @@ -826,6 +1181,15 @@ "builtin": { "fs": true, "util.promisify": true + }, + "globals": { + "exports.isDirectory": "write", + "exports.isDirectorySync": "write", + "exports.isFile": "write", + "exports.isFileSync": "write", + "exports.isSymlink": "write", + "exports.isSymlinkSync": "write", + "require": true } }, "globby>fast-glob": { @@ -837,19 +1201,23 @@ "fs.stat": true, "fs.statSync": true, "os.cpus": true, + "os.platform": true, "path.basename": true, "path.resolve": true, "stream.PassThrough": true, "stream.Readable": true }, "globals": { - "process.cwd": true + "exports": true, + "module.exports": "write", + "process.cwd": true, + "require": true }, "packages": { "eslint>@nodelib/fs.walk": true, "globby>fast-glob>@nodelib/fs.stat": true, + "globby>fast-glob>glob-parent": true, "globby>merge2": true, - "msw>chokidar>glob-parent": true, "ts-loader>micromatch": true } }, @@ -859,6 +1227,23 @@ "fs.lstatSync": true, "fs.stat": true, "fs.statSync": true + }, + "globals": { + "exports": true, + "require": true + } + }, + "globby>fast-glob>glob-parent": { + "builtin": { + "os.platform": true, + "path.posix.dirname": true + }, + "globals": { + "module.exports": "write", + "require": true + }, + "packages": { + "eslint>is-glob": true } }, "globby>merge2": { @@ -866,12 +1251,21 @@ "stream.PassThrough": true }, "globals": { - "process.nextTick": true + "module.exports": "write", + "process.nextTick": true, + "require": true + } + }, + "globby>slash": { + "globals": { + "module.exports": "write" } }, "happy-dom>he": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true } }, "html-webpack-plugin": { @@ -895,7 +1289,9 @@ }, "globals": { "__dirname": true, - "console.error": true + "console.error": true, + "module.exports": "write", + "require": true }, "packages": { "html-webpack-plugin>html-minifier-terser": true, @@ -909,7 +1305,17 @@ "ActiveX": true, "ActiveXObject": true, "DOMDocument": true, - "document": true + "document": true, + "exports.HTMLParser": "write", + "exports.HTMLtoDOM": "write", + "exports.HTMLtoXML": "write", + "exports.createMap": "write", + "exports.createMapFromString": "write", + "exports.endTag": "write", + "exports.minify": "write", + "exports.replaceAsync": "write", + "module.exports": "write", + "require": true }, "packages": { "happy-dom>he": true, @@ -936,19 +1342,55 @@ }, "globals": { "Buffer": true, + "module.exports": "write", "process.cwd": true, "process.env.HTTP_PROXY": true, "process.env.http_proxy": true, "process.nextTick": true, - "process.platform": true + "process.platform": true, + "require": true }, "packages": { "html-webpack-plugin>html-minifier-terser>clean-css>source-map": true } }, + "html-webpack-plugin>html-minifier-terser>clean-css>source-map": { + "globals": { + "exports.ArraySet": "write", + "exports.BasicSourceMapConsumer": "write", + "exports.GREATEST_LOWER_BOUND": "write", + "exports.IndexedSourceMapConsumer": "write", + "exports.LEAST_UPPER_BOUND": "write", + "exports.MappingList": "write", + "exports.SourceMapConsumer": "write", + "exports.SourceMapGenerator": "write", + "exports.SourceNode": "write", + "exports.compareByGeneratedPositionsDeflated": "write", + "exports.compareByGeneratedPositionsInflated": "write", + "exports.compareByOriginalPositions": "write", + "exports.decode": "write", + "exports.encode": "write", + "exports.fromSetString": "write", + "exports.getArg": "write", + "exports.isAbsolute": "write", + "exports.join": "write", + "exports.normalize": "write", + "exports.quickSort": "write", + "exports.relative": "write", + "exports.search": "write", + "exports.toSetString": "write", + "exports.urlGenerate": "write", + "exports.urlParse": "write", + "require": true + } + }, "html-webpack-plugin>html-minifier-terser>relateurl": { "builtin": { "url.parse": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "html-webpack-plugin>pretty-error": { @@ -956,7 +1398,9 @@ "path": true }, "globals": { - "console.error": true + "console.error": true, + "module.exports": "write", + "require": true }, "packages": { "html-webpack-plugin>pretty-error>renderkid": true, @@ -969,8 +1413,10 @@ }, "globals": { "console.log": true, + "module.exports": "write", "process.stdout.columns": true, - "process.stdout.getWindowSize": true + "process.stdout.getWindowSize": true, + "require": true }, "packages": { "eslint>strip-ansi": true, @@ -981,19 +1427,31 @@ } }, "html-webpack-plugin>pretty-error>renderkid>css-select": { + "globals": { + "exports": true, + "require": true + }, "packages": { + "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": true, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils": true, "html-webpack-plugin>pretty-error>renderkid>css-select>nth-check": true, - "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true, - "web-ext>addons-linter>cheerio>cheerio-select>css-what": true + "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domhandler": { + "globals": { + "exports": true, + "require": true + }, "packages": { "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils": { + "globals": { + "exports": true, + "require": true + }, "packages": { "html-webpack-plugin>pretty-error>renderkid>css-select>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer": true, @@ -1001,19 +1459,35 @@ } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer": { + "globals": { + "exports": true, + "require": true + }, "packages": { "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer>entities": true, "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, + "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer>entities": { + "globals": { + "exports": true, + "require": true + } + }, "html-webpack-plugin>pretty-error>renderkid>css-select>nth-check": { + "globals": { + "exports": true, + "require": true + }, "packages": { "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true } }, "html-webpack-plugin>pretty-error>renderkid>dom-converter": { "globals": { - "inspect": true + "inspect": true, + "module.exports": "write", + "require": true }, "packages": { "html-webpack-plugin>pretty-error>renderkid>dom-converter>utila": true @@ -1022,10 +1496,16 @@ "html-webpack-plugin>pretty-error>renderkid>dom-converter>utila": { "globals": { "clearTimeout": true, + "module.exports": "write", + "require": true, "setTimeout": true } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2": { + "globals": { + "exports": true, + "require": true + }, "packages": { "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils": true, @@ -1034,11 +1514,19 @@ } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": { + "globals": { + "exports": true, + "require": true + }, "packages": { "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils": { + "globals": { + "exports": true, + "require": true + }, "packages": { "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils>dom-serializer": true, @@ -1046,300 +1534,115 @@ } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils>dom-serializer": { - "packages": { - "html-webpack-plugin>pretty-error>renderkid>htmlparser2>entities": true, - "web-ext>addons-linter>cheerio>domutils>domelementtype": true - } - }, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": { "globals": { - "define": true + "exports": true, + "require": true }, "packages": { - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true + "html-webpack-plugin>pretty-error>renderkid>htmlparser2>entities": true, + "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/resolve-uri": { + "html-webpack-plugin>pretty-error>renderkid>htmlparser2>entities": { "globals": { - "define": true + "exports": true, + "require": true } }, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { + "jest>@jest/core>jest-runner>p-limit": { "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true - } - }, - "jest>@jest/core>@jest/transform>convert-source-map": { - "builtin": { - "fs.readFileSync": true, - "path.resolve": true + "module.exports": "write", + "require": true }, - "globals": { - "Buffer": true, - "atob": true, - "btoa": true, - "value": true - } - }, - "jest>@jest/core>jest-runner>p-limit": { "packages": { "jest>@jest/core>jest-runner>p-limit>yocto-queue": true } }, + "jest>@jest/core>jest-runner>p-limit>yocto-queue": { + "globals": { + "module.exports": "write" + } + }, "jest>@jest/core>jest-snapshot>@babel/generator": { "globals": { - "console.error": true + "console.error": true, + "console.warn": true, + "exports": true, + "require": true }, "packages": { + "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, "jest>@jest/core>jest-snapshot>@babel/generator>jsesc": true, - "jest>@jest/core>jest-snapshot>@babel/types": true + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true, + "require": true }, "packages": { - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": true, - "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true, - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true + "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true, + "vitest>magic-string>@jridgewell/sourcemap-codec": true, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>jsesc": { - "globals": { - "Buffer.isBuffer": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse": { - "globals": { - "console.log": true - }, - "packages": { - "eslint>debug": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/parser": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>globals": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-environment-visitor": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame": { - "globals": { - "console.warn": true, - "process.emitWarning": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>@babel/highlight": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk": { - "globals": { - "process.env.TERM": true, - "process.platform": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>ansi-styles": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>escape-string-regexp": true, - "supports-color": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>ansi-styles": { - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>ansi-styles>color-convert": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>ansi-styles>color-convert": { - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk>ansi-styles>color-convert>color-name": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator": { - "globals": { - "console.error": true, - "console.warn": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, - "jest>@jest/core>jest-snapshot>@babel/generator>jsesc": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator>@jridgewell/trace-mapping": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator>@jridgewell/trace-mapping": { - "globals": { - "define": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/generator>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { "globals": { "Buffer": true, - "TextDecoder": true, - "define": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types": { - "globals": { - "console.warn": true, - "process.env.BABEL_TYPES_8_BREAKING": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types>@babel/helper-string-parser": true, - "jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types>@babel/helper-validator-identifier": true, - "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true - } - }, - "jest>@jest/core>jest-snapshot>@babel/types": { - "globals": { - "console.trace": true, - "process.env.BABEL_TYPES_8_BREAKING": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-string-parser": true, - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true, - "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true + "module.exports": "write" } }, - "lavamoat>@babel/highlight": { - "packages": { - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, - "lavamoat>@babel/highlight>chalk": true, - "react>loose-envify>js-tokens": true - } - }, - "lavamoat>@babel/highlight>chalk": { + "lavamoat-browserify>convert-source-map": { "globals": { - "process.env.TERM": true, - "process.platform": true - }, - "packages": { - "lavamoat>@babel/highlight>chalk>ansi-styles": true, - "lavamoat>@babel/highlight>chalk>escape-string-regexp": true, - "supports-color": true - } - }, - "lavamoat>@babel/highlight>chalk>ansi-styles": { - "packages": { - "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": true - } - }, - "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": { - "packages": { - "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/parser": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": true + "Buffer": true, + "atob": true, + "btoa": true, + "exports": true, + "value": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame": { + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": { "globals": { - "console.warn": true, - "process.emitWarning": true - }, - "packages": { - "lavamoat>@babel/highlight": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": true + "exports": true, + "require": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": { + "lavamoat>lavamoat-core>@babel/types>@babel/helper-string-parser": { "globals": { - "process.env.TERM": true, - "process.platform": true - }, - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>escape-string-regexp": true, - "supports-color": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert>color-name": true + "exports": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": { - "globals": { - "console.warn": true, - "process.env.BABEL_TYPES_8_BREAKING": true + "lint-staged>execa>merge-stream": { + "builtin": { + "stream.PassThrough": true }, - "packages": { - "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types>@babel/helper-string-parser": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types>@babel/helper-validator-identifier": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types": { "globals": { - "console.warn": true, - "process.env.BABEL_TYPES_8_BREAKING": true - }, - "packages": { - "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types>@babel/helper-string-parser": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types>@babel/helper-validator-identifier": true + "module.exports": "write", + "require": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration": { - "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types": true - } - }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types": { + "lint-staged>normalize-path": { "globals": { - "console.warn": true, - "process.env.BABEL_TYPES_8_BREAKING": true - }, - "packages": { - "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types>@babel/helper-string-parser": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types>@babel/helper-validator-identifier": true - } - }, - "lint-staged>execa>merge-stream": { - "builtin": { - "stream.PassThrough": true + "module.exports": "write" } }, "lodash": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true, + "require": true } }, "mini-css-extract-plugin": { @@ -1352,13 +1655,21 @@ }, "globals": { "Buffer": true, - "__dirname": true + "__dirname": true, + "module.exports": "write", + "require": true }, "packages": { "mini-css-extract-plugin>schema-utils": true } }, "mini-css-extract-plugin>schema-utils": { + "globals": { + "exports": true, + "module.exports": "write", + "process": true, + "require": true + }, "packages": { "mini-css-extract-plugin>schema-utils>ajv": true, "mini-css-extract-plugin>schema-utils>ajv-formats": true, @@ -1367,22 +1678,33 @@ }, "mini-css-extract-plugin>schema-utils>ajv": { "globals": { - "console": true + "console": true, + "exports": "write", + "module.exports": "write", + "require": true }, "packages": { - "eslint>ajv>uri-js": true, + "copy-webpack-plugin>schema-utils>ajv>fast-uri": true, "eslint>fast-deep-equal": true, "web-ext>addons-linter>ajv>json-schema-traverse": true } }, "mini-css-extract-plugin>schema-utils>ajv-formats": { + "globals": { + "exports": "write", + "module.exports": "write", + "require": true + }, "packages": { "mini-css-extract-plugin>schema-utils>ajv": true } }, "mini-css-extract-plugin>schema-utils>ajv-keywords": { "globals": { - "Buffer": true + "Buffer": true, + "exports": true, + "module.exports": "write", + "require": true }, "packages": { "eslint>fast-deep-equal": true, @@ -1390,13 +1712,33 @@ } }, "msw>chalk>ansi-styles>color-convert": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "msw>chalk>ansi-styles>color-convert>color-name": true } }, + "msw>chalk>ansi-styles>color-convert>color-name": { + "globals": { + "module.exports": "write" + } + }, "msw>chokidar>braces": { "globals": { - "console.log": true + "console.log": true, + "exports.encloseBrace": "write", + "exports.escapeNode": "write", + "exports.exceedsLimit": "write", + "exports.find": "write", + "exports.flatten": "write", + "exports.isInteger": "write", + "exports.isInvalidBrace": "write", + "exports.isOpenOrClose": "write", + "exports.reduce": "write", + "module.exports": "write", + "require": true }, "packages": { "msw>chokidar>braces>fill-range": true @@ -1406,48 +1748,72 @@ "builtin": { "util.inspect": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "msw>chokidar>braces>fill-range>to-regex-range": true } }, "msw>chokidar>braces>fill-range>to-regex-range": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "msw>chokidar>braces>fill-range>to-regex-range>is-number": true } }, - "msw>chokidar>glob-parent": { - "builtin": { - "os.platform": true, - "path.posix.dirname": true - }, - "packages": { - "eslint>is-glob": true + "msw>chokidar>braces>fill-range>to-regex-range>is-number": { + "globals": { + "module.exports": "write" + } + }, + "react>loose-envify>js-tokens": { + "globals": { + "exports": true } }, "semver": { "globals": { "console.error": true, - "process": true + "exports": "write", + "module.exports": "write", + "process": true, + "require": true }, "packages": { "semver>lru-cache": true } }, "semver>lru-cache": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "semver>lru-cache>yallist": true } }, + "semver>lru-cache>yallist": { + "globals": { + "module.exports": "write", + "require": true + } + }, "supports-color": { "builtin": { "os.release": true }, "globals": { + "module.exports": "write", "process.env": true, "process.platform": true, "process.stderr": true, "process.stdout": true, - "process.versions.node.split": true + "process.versions.node.split": true, + "require": true }, "packages": { "supports-color>has-flag": true @@ -1455,6 +1821,7 @@ }, "supports-color>has-flag": { "globals": { + "module.exports": "write", "process.argv": true } }, @@ -1474,8 +1841,11 @@ "globals": { "__dirname": true, "console.log.call": true, + "exports": true, + "module.exports": "write", "process.stderr": true, - "process.stdout": true + "process.stdout": true, + "require": true }, "packages": { "semver": true, @@ -1486,12 +1856,20 @@ } }, "ts-loader>chalk": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "supports-color": true, "ts-loader>chalk>ansi-styles": true } }, "ts-loader>chalk>ansi-styles": { + "globals": { + "module": true, + "require": true + }, "packages": { "msw>chalk>ansi-styles>color-convert": true } @@ -1500,6 +1878,10 @@ "builtin": { "util.inspect": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "msw>chokidar>braces": true, "ts-loader>micromatch>picomatch": true @@ -1511,8 +1893,21 @@ "path.sep": true }, "globals": { + "exports.escapeLast": "write", + "exports.escapeRegex": "write", + "exports.hasRegexChars": "write", + "exports.isObject": "write", + "exports.isRegexChar": "write", + "exports.isWindows": "write", + "exports.removeBackslashes": "write", + "exports.removePrefix": "write", + "exports.supportsLookbehinds": "write", + "exports.toPosixSlashes": "write", + "exports.wrapOutput": "write", + "module.exports": "write", "process.platform": true, - "process.version.slice": true + "process.version.slice": true, + "require": true } }, "typescript": { @@ -1537,9 +1932,11 @@ "clearTimeout": true, "console": true, "gc": true, + "module": true, "onProfilerEvent": true, "performance": true, "process": true, + "require": true, "setTimeout": true }, "packages": { @@ -1572,9 +1969,11 @@ "globals": { "Buffer": true, "clearTimeout": true, + "module.exports": "write", "process.env.WS_NO_BUFFER_UTIL": true, "process.env.WS_NO_UTF_8_VALIDATE": true, "process.nextTick": true, + "require": true, "setImmediate": true, "setTimeout": true }, @@ -1585,7 +1984,9 @@ }, "viem>ws>bufferutil": { "globals": { - "__dirname": true + "__dirname": true, + "module.exports": "write", + "require": true }, "native": true, "packages": { @@ -1605,12 +2006,16 @@ "globals": { "__non_webpack_require__": true, "__webpack_require__": true, - "process": true + "module.exports": "write", + "process": true, + "require": true } }, "viem>ws>utf-8-validate": { "globals": { - "__dirname": true + "__dirname": true, + "module.exports": "write", + "require": true }, "native": true, "packages": { @@ -1620,50 +2025,251 @@ "vitest>acorn": { "globals": { "console": true, - "define": true + "define": true, + "exports": true, + "module": true } }, "vitest>acorn-walk": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true + } + }, + "vitest>magic-string>@jridgewell/sourcemap-codec": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "define": true, + "exports": true, + "module": true + } + }, + "vitest>pathe": { + "globals": { + "exports": true, + "process": true, + "require": true } }, "vitest>picocolors": { + "globals": { + "module.exports": "write", + "process": true + } + }, + "vitest>vite-node>mlly": { "builtin": { - "tty.isatty": true + "node:assert": true, + "node:fs": true, + "node:module.builtinModules": true, + "node:module.createRequire": true, + "node:path": true, + "node:process": true, + "node:url.URL": true, + "node:url.fileURLToPath": true, + "node:url.pathToFileURL": true, + "node:util.format": true, + "node:util.inspect": true, + "node:v8": true }, "globals": { - "process.argv.includes": true, - "process.env": true, - "process.platform": true + "Buffer.from": true, + "URL": true, + "exports.DYNAMIC_IMPORT_RE": "write", + "exports.ESM_STATIC_IMPORT_RE": "write", + "exports.EXPORT_DECAL_RE": "write", + "exports.EXPORT_DECAL_TYPE_RE": "write", + "exports.createCommonJS": "write", + "exports.createResolve": "write", + "exports.detectSyntax": "write", + "exports.evalModule": "write", + "exports.fileURLToPath": "write", + "exports.findDynamicImports": "write", + "exports.findExportNames": "write", + "exports.findExports": "write", + "exports.findStaticImports": "write", + "exports.findTypeExports": "write", + "exports.findTypeImports": "write", + "exports.getProtocol": "write", + "exports.hasCJSSyntax": "write", + "exports.hasESMSyntax": "write", + "exports.interopDefault": "write", + "exports.isNodeBuiltin": "write", + "exports.isValidNodeImport": "write", + "exports.loadModule": "write", + "exports.loadURL": "write", + "exports.lookupNodeModuleSubpath": "write", + "exports.normalizeid": "write", + "exports.parseNodeModulePath": "write", + "exports.parseStaticImport": "write", + "exports.parseTypeImport": "write", + "exports.pathToFileURL": "write", + "exports.resolve": "write", + "exports.resolveImports": "write", + "exports.resolveModuleExportNames": "write", + "exports.resolvePath": "write", + "exports.resolvePathSync": "write", + "exports.resolveSync": "write", + "exports.sanitizeFilePath": "write", + "exports.sanitizeURIComponent": "write", + "exports.toDataURL": "write", + "exports.transformModule": "write", + "process.cwd": true, + "require": true + }, + "packages": { + "vitest>acorn": true, + "vitest>pathe": true, + "vitest>vite-node>mlly>pkg-types": true, + "vitest>vite-node>mlly>ufo": true + } + }, + "vitest>vite-node>mlly>pkg-types": { + "builtin": { + "node:fs.promises.readFile": true, + "node:fs.promises.writeFile": true, + "node:fs.statSync": true + }, + "globals": { + "exports.definePackageJSON": "write", + "exports.defineTSConfig": "write", + "exports.findFarthestFile": "write", + "exports.findFile": "write", + "exports.findNearestFile": "write", + "exports.findWorkspaceDir": "write", + "exports.readPackageJSON": "write", + "exports.readTSConfig": "write", + "exports.resolveLockfile": "write", + "exports.resolvePackageJSON": "write", + "exports.resolveTSConfig": "write", + "exports.writePackageJSON": "write", + "exports.writeTSConfig": "write", + "process.cwd": true, + "require": true + }, + "packages": { + "vitest>pathe": true, + "vitest>vite-node>mlly": true, + "vitest>vite-node>mlly>pkg-types>confbox": true + } + }, + "vitest>vite-node>mlly>pkg-types>confbox": { + "globals": { + "console.warn": true, + "exports.getFormat": "write", + "exports.parseJSON": "write", + "exports.parseJSON5": "write", + "exports.parseJSONC": "write", + "exports.parseTOML": "write", + "exports.parseYAML": "write", + "exports.storeFormat": "write", + "exports.stringifyJSON": "write", + "exports.stringifyJSON5": "write", + "exports.stringifyJSONC": "write", + "exports.stringifyTOML": "write", + "exports.stringifyYAML": "write", + "require": true + } + }, + "vitest>vite-node>mlly>ufo": { + "globals": { + "URLSearchParams": true, + "exports.$URL": "write", + "exports.cleanDoubleSlashes": "write", + "exports.createURL": "write", + "exports.decode": "write", + "exports.decodePath": "write", + "exports.decodeQueryKey": "write", + "exports.decodeQueryValue": "write", + "exports.encode": "write", + "exports.encodeHash": "write", + "exports.encodeHost": "write", + "exports.encodeParam": "write", + "exports.encodePath": "write", + "exports.encodeQueryItem": "write", + "exports.encodeQueryKey": "write", + "exports.encodeQueryValue": "write", + "exports.getQuery": "write", + "exports.hasLeadingSlash": "write", + "exports.hasProtocol": "write", + "exports.hasTrailingSlash": "write", + "exports.isEmptyURL": "write", + "exports.isEqual": "write", + "exports.isNonEmptyURL": "write", + "exports.isRelative": "write", + "exports.isSamePath": "write", + "exports.isScriptProtocol": "write", + "exports.joinRelativeURL": "write", + "exports.joinURL": "write", + "exports.normalizeURL": "write", + "exports.parseAuth": "write", + "exports.parseFilename": "write", + "exports.parseHost": "write", + "exports.parsePath": "write", + "exports.parseQuery": "write", + "exports.parseURL": "write", + "exports.resolveURL": "write", + "exports.stringifyParsedURL": "write", + "exports.stringifyQuery": "write", + "exports.withBase": "write", + "exports.withFragment": "write", + "exports.withHttp": "write", + "exports.withHttps": "write", + "exports.withLeadingSlash": "write", + "exports.withProtocol": "write", + "exports.withQuery": "write", + "exports.withTrailingSlash": "write", + "exports.withoutBase": "write", + "exports.withoutFragment": "write", + "exports.withoutHost": "write", + "exports.withoutLeadingSlash": "write", + "exports.withoutProtocol": "write", + "exports.withoutTrailingSlash": "write" } }, "vitest>vite>terser": { "globals": { - "Buffer.from": true, + "Buffer": true, "atob": true, "btoa": true, "console.log": true, "console.warn": true, "define": true, - "process": true + "exports": true, + "module": true, + "process": true, + "require": true }, "packages": { - "vitest>vite>terser>@jridgewell/source-map": true, - "vitest>vite>terser>acorn": true + "vitest>acorn": true, + "vitest>vite>terser>@jridgewell/source-map": true } }, "vitest>vite>terser>@jridgewell/source-map": { "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true + "exports": true, + "require": true + }, + "packages": { + "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true } }, - "vitest>vite>terser>acorn": { + "web-ext>addons-linter>ajv>json-schema-traverse": { "globals": { - "console": true, - "define": true + "module.exports": "write" + } + }, + "web-ext>addons-linter>cheerio>cheerio-select>boolbase": { + "globals": { + "module.exports": "write" + } + }, + "web-ext>addons-linter>cheerio>domutils>domelementtype": { + "globals": { + "exports": true } }, "web-ext>source-map-support": { @@ -1675,7 +2281,15 @@ "globals": { "XMLHttpRequest": true, "console.error": true, - "process": true + "exports.getErrorSource": "write", + "exports.install": "write", + "exports.mapSourcePosition": "write", + "exports.resetRetrieveHandlers": "write", + "exports.retrieveSourceMap": "write", + "exports.wrapCallSite": "write", + "module": true, + "process": true, + "require": true }, "packages": { "web-ext>source-map-support>buffer-from": true, @@ -1684,7 +2298,40 @@ }, "web-ext>source-map-support>buffer-from": { "globals": { - "Buffer": true + "Buffer": true, + "module.exports": "write" + } + }, + "web-ext>source-map-support>source-map": { + "globals": { + "exports.ArraySet": "write", + "exports.BasicSourceMapConsumer": "write", + "exports.GREATEST_LOWER_BOUND": "write", + "exports.IndexedSourceMapConsumer": "write", + "exports.LEAST_UPPER_BOUND": "write", + "exports.MappingList": "write", + "exports.SourceMapConsumer": "write", + "exports.SourceMapGenerator": "write", + "exports.SourceNode": "write", + "exports.compareByGeneratedPositionsDeflated": "write", + "exports.compareByGeneratedPositionsInflated": "write", + "exports.compareByOriginalPositions": "write", + "exports.computeSourceURL": "write", + "exports.decode": "write", + "exports.encode": "write", + "exports.fromSetString": "write", + "exports.getArg": "write", + "exports.isAbsolute": "write", + "exports.join": "write", + "exports.normalize": "write", + "exports.parseSourceMapInput": "write", + "exports.quickSort": "write", + "exports.relative": "write", + "exports.search": "write", + "exports.toSetString": "write", + "exports.urlGenerate": "write", + "exports.urlParse": "write", + "require": true } }, "webpack": { @@ -1757,6 +2404,12 @@ "console.profile": true, "console.profileEnd": true, "console.warn": true, + "exports.constructor": true, + "exports.parseVersionRuntimeCode": "write", + "exports.rangeToStringRuntimeCode": "write", + "exports.satisfyRuntimeCode": "write", + "exports.versionLtRuntimeCode": "write", + "module.exports": "write", "process.cwd": true, "process.env": true, "process.hrtime": true, @@ -1764,6 +2417,7 @@ "process.stderr": true, "process.versions.modules": true, "process.versions.pnp": true, + "require": true, "setImmediate": true, "setTimeout": true }, @@ -1774,10 +2428,10 @@ "html-webpack-plugin": true, "mini-css-extract-plugin": true, "ts-loader": true, + "vitest>acorn": true, "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/wasm-edit": true, "webpack>@webassemblyjs/wasm-parser": true, - "webpack>acorn": true, "webpack>acorn-import-attributes": true, "webpack>browserslist": true, "webpack>chrome-trace-event": true, @@ -1818,15 +2472,18 @@ "Buffer.byteLength": true, "__dirname": true, "console": true, + "exports": true, + "module.exports": "write", "process.cwd": true, "process.env.npm_package_name": true, + "require": true, "setImmediate": true }, "packages": { "lodash": true, "viem>ws": true, + "vitest>acorn": true, "vitest>acorn-walk": true, - "webpack-bundle-analyzer>acorn": true, "webpack-bundle-analyzer>chalk": true, "webpack-bundle-analyzer>gzip-size": true, "webpack-bundle-analyzer>opener": true, @@ -1834,19 +2491,21 @@ "webpack-cli>@discoveryjs/json-ext": true } }, - "webpack-bundle-analyzer>acorn": { - "globals": { - "console": true, - "define": true - } - }, "webpack-bundle-analyzer>chalk": { + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "supports-color": true, "webpack-bundle-analyzer>chalk>ansi-styles": true } }, "webpack-bundle-analyzer>chalk>ansi-styles": { + "globals": { + "module": true, + "require": true + }, "packages": { "msw>chalk>ansi-styles>color-convert": true } @@ -1861,6 +2520,10 @@ "zlib.gzip": true, "zlib.gzipSync": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "audit-ci>event-stream>duplexer": true } @@ -1871,7 +2534,9 @@ "os.release": true }, "globals": { - "process.platform": true + "module.exports": "write", + "process.platform": true, + "require": true } }, "webpack-bundle-analyzer>sirv": { @@ -1883,6 +2548,10 @@ "path.normalize": true, "path.resolve": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "webpack-bundle-analyzer>sirv>@polka/url": true, "webpack-bundle-analyzer>sirv>mrmime": true, @@ -1892,6 +2561,16 @@ "webpack-bundle-analyzer>sirv>@polka/url": { "builtin": { "querystring.parse": true + }, + "globals": { + "exports.parse": "write", + "require": true + } + }, + "webpack-bundle-analyzer>sirv>mrmime": { + "globals": { + "exports.lookup": "write", + "exports.mimes": "write" } }, "webpack-bundle-analyzer>sirv>totalist": { @@ -1900,17 +2579,27 @@ "fs.statSync": true, "path.join": true, "path.resolve": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "webpack-cli>@discoveryjs/json-ext": { "builtin": { "stream.Readable": true, "util.TextDecoder": true + }, + "globals": { + "module.exports": "write", + "require": true } }, "webpack>@webassemblyjs/ast": { "globals": { - "console.warn": true + "console.warn": true, + "exports": true, + "require": true }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers": true, @@ -1918,19 +2607,39 @@ } }, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers": { + "globals": { + "exports": true, + "require": true + }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@webassemblyjs/floating-point-hex-parser": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": true, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/helper-api-error": true } }, + "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@webassemblyjs/floating-point-hex-parser": { + "globals": { + "exports": true + } + }, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": { "globals": { "WebAssembly.Instance": true, - "WebAssembly.Module": true + "WebAssembly.Module": true, + "module.exports": "write" + } + }, + "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": { + "globals": { + "exports": true, + "require": true } }, "webpack>@webassemblyjs/wasm-edit": { + "globals": { + "exports": true, + "require": true + }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, @@ -1941,7 +2650,16 @@ "webpack>@webassemblyjs/wasm-parser": true } }, + "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-buffer": { + "globals": { + "exports": true + } + }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-wasm-section": { + "globals": { + "exports": true, + "require": true + }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, @@ -1950,6 +2668,10 @@ } }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/wasm-gen": { + "globals": { + "exports": true, + "require": true + }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754": true, @@ -1958,6 +2680,10 @@ } }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/wasm-opt": { + "globals": { + "exports": true, + "require": true + }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-buffer": true, @@ -1968,7 +2694,9 @@ "webpack>@webassemblyjs/wasm-parser": { "globals": { "console.log": true, - "console.warn": true + "console.warn": true, + "exports": true, + "require": true }, "packages": { "webpack>@webassemblyjs/ast": true, @@ -1979,31 +2707,47 @@ "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/utf8": true } }, + "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/helper-api-error": { + "globals": { + "exports": true + } + }, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754": { "globals": { - "Buffer.from": true + "exports": true, + "require": true }, "packages": { "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754>@xtuc/ieee754": true } }, + "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754>@xtuc/ieee754": { + "globals": { + "exports": true + } + }, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/leb128": { "globals": { - "Buffer": true + "exports": true, + "require": true }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": true } }, - "webpack>acorn": { + "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/utf8": { "globals": { - "console": true, - "define": true + "exports": true, + "require": true } }, "webpack>acorn-import-attributes": { + "globals": { + "exports": true, + "require": true + }, "packages": { - "webpack>acorn": true + "vitest>acorn": true } }, "webpack>browserslist": { @@ -2019,8 +2763,10 @@ }, "globals": { "console.warn": true, + "module.exports": "write", "process.env": true, - "process.versions.node": true + "process.versions.node": true, + "require": true }, "packages": { "webpack>browserslist>caniuse-lite": true, @@ -2028,13 +2774,26 @@ "webpack>browserslist>node-releases": true } }, + "webpack>browserslist>caniuse-lite": { + "globals": { + "module.exports": "write", + "require": true + } + }, + "webpack>browserslist>electron-to-chromium": { + "globals": { + "module.exports": "write" + } + }, "webpack>chrome-trace-event": { "builtin": { "stream.Readable": true }, "globals": { + "exports": true, "process.hrtime": true, - "process.pid": true + "process.pid": true, + "require": true } }, "webpack>enhanced-resolve": { @@ -2050,47 +2809,61 @@ "Buffer.isBuffer": true, "URL": true, "clearTimeout": true, + "exports.PathType": "write", + "exports.cachedJoin": "write", + "exports.cdUp": "write", + "exports.createResolver": "write", + "exports.deprecatedInvalidSegmentRegEx": "write", + "exports.getField": "write", + "exports.getType": "write", + "exports.invalidSegmentRegEx": "write", + "exports.join": "write", + "exports.loadDescriptionFile": "write", + "exports.normalize": "write", + "module.exports": "write", + "require": true, "setTimeout": true }, "packages": { - "webpack>enhanced-resolve>graceful-fs": true, + "webpack>graceful-fs": true, "webpack>tapable": true } }, - "webpack>enhanced-resolve>graceful-fs": { - "builtin": { - "assert.equal": true, - "constants.O_SYMLINK": true, - "constants.O_WRONLY": true, - "constants.hasOwnProperty": true, - "fs": true, - "stream.Stream.call": true, - "util": true - }, - "globals": { - "clearTimeout": true, - "console.error": true, - "process": true, - "setTimeout": true - } - }, "webpack>es-module-lexer": { "globals": { "Buffer": true, "WebAssembly.compile": true, "WebAssembly.instantiate": true, - "atob": true + "atob": true, + "exports.ImportType": "write", + "exports.init": "write", + "exports.parse": "write" } }, "webpack>eslint-scope": { "builtin": { "assert": true }, + "globals": { + "module.exports": "write", + "require": true + }, "packages": { "eslint>eslint-scope>esrecurse": true, "webpack>eslint-scope>estraverse": true } }, + "webpack>eslint-scope>estraverse": { + "globals": { + "exports": true, + "require": true + } + }, + "webpack>glob-to-regexp": { + "globals": { + "module.exports": "write" + } + }, "webpack>graceful-fs": { "builtin": { "assert.equal": true, @@ -2104,13 +2877,16 @@ "globals": { "clearTimeout": true, "console.error": true, + "module.exports": "write", "process": true, + "require": true, "setTimeout": true } }, "webpack>json-parse-even-better-errors": { "globals": { - "Buffer.isBuffer": true + "Buffer.isBuffer": true, + "module.exports": "write" } }, "webpack>loader-runner": { @@ -2122,7 +2898,11 @@ "Buffer.from": true, "Buffer.isBuffer": true, "console.error": true, + "exports.getContext": "write", + "exports.runLoaders": "write", + "module.exports": "write", "process.nextTick": true, + "require": true, "setImmediate": true }, "packages": { @@ -2138,15 +2918,33 @@ "builtin": { "path.extname": true }, + "globals": { + "exports.charset": "write", + "exports.charsets": "write", + "exports.contentType": "write", + "exports.extension": "write", + "exports.extensions": "write", + "exports.lookup": "write", + "exports.types": "write", + "require": true + }, "packages": { "webpack>mime-types>mime-db": true } }, + "webpack>mime-types>mime-db": { + "globals": { + "module.exports": "write", + "require": true + } + }, "webpack>neo-async": { "globals": { "clearTimeout": true, "console": true, "define": true, + "exports": true, + "module": true, "process": true, "setImmediate": true, "setTimeout": true @@ -2154,7 +2952,10 @@ }, "webpack>schema-utils": { "globals": { - "process": true + "exports": true, + "module.exports": "write", + "process": true, + "require": true }, "packages": { "eslint>ajv": true, @@ -2165,12 +2966,31 @@ "globals": { "Buffer": true, "console.error": true, - "console.warn": true + "console.warn": true, + "module.exports": "write", + "require": true } }, "webpack>tapable": { "builtin": { "util.deprecate": true + }, + "globals": { + "exports.AsyncParallelBailHook": "write", + "exports.AsyncParallelHook": "write", + "exports.AsyncSeriesBailHook": "write", + "exports.AsyncSeriesHook": "write", + "exports.AsyncSeriesLoopHook": "write", + "exports.AsyncSeriesWaterfallHook": "write", + "exports.HookMap": "write", + "exports.MultiHook": "write", + "exports.SyncBailHook": "write", + "exports.SyncHook": "write", + "exports.SyncLoopHook": "write", + "exports.SyncWaterfallHook": "write", + "exports.__esModule": "write", + "module.exports": "write", + "require": true } }, "webpack>terser-webpack-plugin": { @@ -2183,37 +3003,38 @@ "Buffer.isBuffer": true, "__dirname": true, "__filename": true, + "exports": true, + "module": true, "process.stderr.write": true, - "process.stdout.write": true + "process.stdout.write": true, + "require": true }, "packages": { + "copy-webpack-plugin>serialize-javascript": true, "esbuild": true, - "file-loader>schema-utils": true, + "vitest>vite>terser": true, + "webpack>schema-utils": true, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true, - "webpack>terser-webpack-plugin>jest-worker": true, - "webpack>terser-webpack-plugin>serialize-javascript": true, - "webpack>terser-webpack-plugin>terser": true + "webpack>terser-webpack-plugin>jest-worker": true } }, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": { "globals": { - "define": true + "define": true, + "exports": true, + "module": true, + "require": true }, "packages": { - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true + "vitest>magic-string>@jridgewell/sourcemap-codec": true, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true } }, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": { "globals": { - "define": true - } - }, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { - "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true + "define": true, + "exports": true, + "module": true } }, "webpack>terser-webpack-plugin>jest-worker": { @@ -2227,7 +3048,9 @@ "globals": { "__dirname": true, "clearTimeout": true, + "exports": true, "process": true, + "require": true, "setTimeout": true }, "packages": { @@ -2236,36 +3059,6 @@ "webpack>terser-webpack-plugin": true } }, - "webpack>terser-webpack-plugin>serialize-javascript": { - "globals": { - "URL": true - }, - "packages": { - "browserify>crypto-browserify>randombytes": true - } - }, - "webpack>terser-webpack-plugin>terser": { - "globals": { - "Buffer": true, - "atob": true, - "btoa": true, - "console.log": true, - "console.warn": true, - "define": true, - "process": true - }, - "packages": { - "vitest>acorn": true, - "webpack>terser-webpack-plugin>terser>@jridgewell/source-map": true - } - }, - "webpack>terser-webpack-plugin>terser>@jridgewell/source-map": { - "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true - } - }, "webpack>watchpack": { "builtin": { "events.EventEmitter": true, @@ -2280,34 +3073,22 @@ "globals": { "clearTimeout": true, "console.error": true, + "exports.batch": "write", + "exports.getNumberOfWatchers": "write", + "exports.watch": "write", + "module.exports": "write", "process.env.WATCHPACK_POLLING": true, "process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING": true, "process.env.WATCHPACK_WATCHER_LIMIT": true, "process.nextTick": true, "process.platform": true, "process.stderr.write": true, + "require": true, "setTimeout": true }, "packages": { "webpack>glob-to-regexp": true, - "webpack>watchpack>graceful-fs": true - } - }, - "webpack>watchpack>graceful-fs": { - "builtin": { - "assert.equal": true, - "constants.O_SYMLINK": true, - "constants.O_WRONLY": true, - "constants.hasOwnProperty": true, - "fs": true, - "stream.Stream.call": true, - "util": true - }, - "globals": { - "clearTimeout": true, - "console.error": true, - "process": true, - "setTimeout": true + "webpack>graceful-fs": true } }, "webpack>webpack-sources": { @@ -2316,7 +3097,10 @@ "Buffer.concat": true, "Buffer.from": true, "Buffer.isBuffer": true, - "process": true + "exports": true, + "module.exports": "write", + "process": true, + "require": true } } } diff --git a/package.json b/package.json index 44742d731e..fcb4559db8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "// Build and zip": "", "bundle": "yarn build && yarn zip", "// Runs tests": "", - "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC", + "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21174436", "anvil:optimism": "OPTIMISM_MAINNET_RPC=$(grep OPTIMISM_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $OPTIMISM_MAINNET_RPC", "anvil:kill": "lsof -i :8545|tail -n +2|awk '{print $2}'|xargs -r kill -s SIGINT", "test": "./scripts/unit-tests.sh", @@ -334,7 +334,9 @@ "viem>ws>bufferutil": false, "viem>ws>utf-8-validate": false, "wagmi>@wagmi/connectors>@coinbase/wallet-sdk>keccak": false, - "wagmi>@wagmi/connectors>@metamask/sdk>eciesjs>secp256k1": false + "wagmi>@wagmi/connectors>@metamask/sdk>eciesjs>secp256k1": false, + "@vanilla-extract/vite-plugin>vite>esbuild": false, + "wagmi>@wagmi/connectors>@walletconnect/ethereum-provider>@walletconnect/types>@walletconnect/keyvaluestorage>unstorage>listhen>@parcel/watcher": false } } -} \ No newline at end of file +} diff --git a/scripts/e2e-serial-tests.sh b/scripts/e2e-serial-tests.sh index a4b22f66b5..0c98d53090 100755 --- a/scripts/e2e-serial-tests.sh +++ b/scripts/e2e-serial-tests.sh @@ -7,7 +7,7 @@ RETRY_COUNT=0 launch_anvil() { # Launch anvil in the bg yarn anvil:kill - yarn anvil --chain-id 1337 & + yarn anvil --chain-id 1337 & echo "Launching Anvil..." # Give it some time to boot diff --git a/src/core/raps/actions/swap.ts b/src/core/raps/actions/swap.ts index fcd31a6c0d..ebe814cc27 100644 --- a/src/core/raps/actions/swap.ts +++ b/src/core/raps/actions/swap.ts @@ -19,6 +19,7 @@ import { Address } from 'viem'; import { metadataPostClient } from '~/core/graphql'; import { getChainGasUnits } from '~/core/references/chains'; +import { useConnectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; import { ChainId } from '~/core/types/chains'; import { NewTransaction, TxHash } from '~/core/types/transactions'; import { add } from '~/core/utils/numbers'; @@ -59,7 +60,10 @@ export const estimateSwapGasLimit = async ({ requiresApprove?: boolean; quote: Quote; }): Promise => { - const provider = getProvider({ chainId }); + const { connectedToHardhat } = useConnectedToHardhatStore.getState(); + const provider = getProvider({ + chainId: connectedToHardhat ? ChainId.hardhat : chainId, + }); if (!provider || !quote) { return getChainGasUnits(chainId).basic.swap; } diff --git a/src/core/raps/actions/unlock.ts b/src/core/raps/actions/unlock.ts index 854fce1b7e..954acebd5e 100644 --- a/src/core/raps/actions/unlock.ts +++ b/src/core/raps/actions/unlock.ts @@ -6,6 +6,7 @@ import { Address, Hash, erc20Abi, erc721Abi } from 'viem'; import { getChainGasUnits } from '~/core/references/chains'; import { gasStore } from '~/core/state'; +import { useConnectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; import { ChainId } from '~/core/types/chains'; import { TransactionGasParams, @@ -38,7 +39,10 @@ export const getAssetRawAllowance = async ({ chainId: ChainId; }) => { try { - const provider = await getProvider({ chainId }); + const { connectedToHardhat } = useConnectedToHardhatStore.getState(); + const provider = await getProvider({ + chainId: connectedToHardhat ? ChainId.hardhat : chainId, + }); const tokenContract = new Contract(assetAddress, erc20Abi, provider); const allowance = await tokenContract.allowance(owner, spender); return allowance.toString(); @@ -90,7 +94,10 @@ export const estimateApprove = async ({ chainId: ChainId; }): Promise => { try { - const provider = getProvider({ chainId }); + const { connectedToHardhat } = useConnectedToHardhatStore.getState(); + const provider = getProvider({ + chainId: connectedToHardhat ? ChainId.hardhat : chainId, + }); const tokenContract = new Contract(tokenAddress, erc20Abi, provider); const gasLimit = await tokenContract.estimateGas.approve( spender, @@ -122,7 +129,10 @@ export const populateApprove = async ({ chainId: ChainId; }): Promise => { try { - const provider = getProvider({ chainId }); + const { connectedToHardhat } = useConnectedToHardhatStore.getState(); + const provider = getProvider({ + chainId: connectedToHardhat ? ChainId.hardhat : chainId, + }); const tokenContract = new Contract(tokenAddress, erc20Abi, provider); const approveTransaction = await tokenContract.populateTransaction.approve( spender, diff --git a/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx b/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx index e1a04d0b7c..cf17feeb8c 100644 --- a/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx +++ b/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx @@ -112,7 +112,7 @@ export const TokenToBuyInput = forwardRef(function TokenToBuyInput( return ( Date: Wed, 13 Nov 2024 12:58:25 -0600 Subject: [PATCH 06/24] yarn setup ran lol --- lavamoat/build-webpack/policy.json | 1772 +++++++--------------------- package.json | 2 +- 2 files changed, 442 insertions(+), 1332 deletions(-) diff --git a/lavamoat/build-webpack/policy.json b/lavamoat/build-webpack/policy.json index f232a694e9..4b2983cade 100644 --- a/lavamoat/build-webpack/policy.json +++ b/lavamoat/build-webpack/policy.json @@ -1,85 +1,64 @@ { "resources": { - "@graphql-eslint/eslint-plugin>@babel/code-frame": { + "@testing-library/react>@testing-library/dom>@babel/code-frame": { "globals": { "console.warn": true, - "exports": true, - "process": true, - "require": true + "process.emitWarning": true }, "packages": { - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, - "react>loose-envify>js-tokens": true, - "vitest>picocolors": true + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": true } }, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": { - "globals": { - "exports": true + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": { + "packages": { + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": true, + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "react>loose-envify>js-tokens": true } }, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": { + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": { "globals": { - "console.log": true, - "exports": true, - "require": true + "process.env.TERM": true, + "process.platform": true }, "packages": { - "@graphql-eslint/eslint-plugin>@babel/code-frame": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse>globals": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, - "eslint>debug": true, - "jest>@jest/core>jest-snapshot>@babel/generator": true + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true, + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true, + "supports-color": true } }, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse>globals": { - "globals": { - "module.exports": "write", - "require": true + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles": { + "packages": { + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true } }, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": { - "globals": { - "console.warn": true, - "exports": true, - "process.env": true, - "require": true - }, + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": { "packages": { - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, - "lavamoat>lavamoat-core>@babel/types>@babel/helper-string-parser": true + "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true } }, - "@rudderstack/analytics-js-service-worker>ms": { + "@vanilla-extract/css": { "globals": { - "module.exports": "write" + "process.env.NODE_ENV": true + }, + "packages": { + "@vanilla-extract/css>@vanilla-extract/private": true, + "@vanilla-extract/css>ahocorasick": true, + "@vanilla-extract/css>css-what": true, + "@vanilla-extract/css>cssesc": true, + "@vanilla-extract/css>media-query-parser": true, + "@vanilla-extract/css>outdent": true } }, "@vanilla-extract/css>@vanilla-extract/private": { "globals": { "console.warn": true, - "exports": true, - "module.exports": "write", - "process.env.NODE_ENV": true, - "require": true - } - }, - "@vanilla-extract/css>cssesc": { - "globals": { - "module.exports": "write" - } - }, - "@vanilla-extract/css>media-query-parser": { - "globals": { - "exports": true + "process.env.NODE_ENV": true } }, - "@vanilla-extract/css>outdent": { + "@vanilla-extract/css>ahocorasick": { "globals": { - "exports": true, - "module": true + "AhoCorasick": "write" } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration": { @@ -94,105 +73,51 @@ "globals": { "Buffer.from": true, "console": true, - "exports": true, - "module.exports": "write", - "process": true, - "require": true + "process": true }, "packages": { "$root$": true, + "@vanilla-extract/css": true, "@vanilla-extract/css>outdent": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/babel-plugin-debug-ids": true, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>esbuild": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up": true, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>javascript-stringify": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true, - "lodash": true, - "vitest>vite-node>mlly": true + "lodash": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript": { - "globals": { - "exports": true, - "require": true - }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript>@babel/helper-plugin-utils": true } }, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@babel/plugin-syntax-typescript>@babel/helper-plugin-utils": { - "globals": { - "exports": true - } - }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/babel-plugin-debug-ids": { "globals": { - "exports": true, - "module.exports": "write", - "process.env.NODE_ENV": true, - "require": true + "process.env.NODE_ENV": true }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true } }, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css": { - "globals": { - "exports": true, - "module.exports": "write", - "process.env.NODE_ENV": true, - "require": true - }, - "packages": { - "@vanilla-extract/css>@vanilla-extract/private": true, - "@vanilla-extract/css>cssesc": true, - "@vanilla-extract/css>media-query-parser": true, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": true, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>dedent": true, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>modern-ahocorasick": true - } - }, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": { - "globals": { - "exports": true, - "require": true - } - }, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>dedent": { - "globals": { - "exports": true, - "module.exports": "write" - } - }, - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>modern-ahocorasick": { - "globals": { - "module.exports": "write" - } - }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>esbuild": { "builtin": { "child_process.execFileSync": true, "child_process.spawn": true, "crypto.randomBytes": true, - "fs.chmodSync": true, - "fs.copyFileSync": true, "fs.existsSync": true, - "fs.mkdirSync": true, "fs.readFile": true, "fs.readFileSync": true, "fs.unlink": true, "fs.unlinkSync": true, "fs.writeFile": true, "fs.writeFileSync": true, - "os.arch": true, - "os.endianness": true, "os.tmpdir": true, "path.basename": true, - "path.dirname": true, "path.join": true, + "path.resolve": true, "tty.isatty": true, "worker_threads": true }, @@ -200,21 +125,15 @@ "Buffer": true, "TextDecoder": true, "TextEncoder": true, - "URL": true, - "WebAssembly.Module": true, "__dirname": true, "__filename": true, + "console.error": true, "console.log": true, - "console.warn": true, - "module.exports": "write", "process.cwd": true, "process.env.ESBUILD_BINARY_PATH": true, "process.env.ESBUILD_MAX_BUFFER": true, "process.env.ESBUILD_WORKER_THREADS": true, - "process.platform": true, - "process.versions.node.split": true, - "require": true, - "setTimeout": true + "process.platform": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval": { @@ -223,10 +142,9 @@ }, "globals": { "Buffer.isBuffer": true, + "URL": true, "console": true, - "module.exports": "write", - "module.parent": true, - "require": true + "process": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>eval>require-like": true @@ -238,9 +156,7 @@ "path.dirname": true }, "globals": { - "module.exports": "write", - "process.mainModule": true, - "require": true + "process.mainModule": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up": { @@ -249,10 +165,6 @@ "path.parse": true, "path.resolve": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path": true, "eslint>find-up>path-exists": true @@ -268,28 +180,20 @@ "util.promisify": true }, "globals": { - "module.exports": "write", - "process.cwd": true, - "require": true + "process.cwd": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path>p-locate": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>find-up>locate-path>p-locate": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "jest>@jest/core>jest-runner>p-limit": true } }, "@vanilla-extract/vite-plugin>@vanilla-extract/integration>javascript-stringify": { "globals": { - "Buffer": true, - "exports": true, - "require": true + "Buffer": true } }, "@vanilla-extract/webpack-plugin": { @@ -298,10 +202,7 @@ }, "globals": { "console.warn": true, - "exports": true, - "module.exports": "write", - "process.env.NODE_ENV": true, - "require": true + "process.env.NODE_ENV": true }, "packages": { "@vanilla-extract/vite-plugin>@vanilla-extract/integration": true, @@ -351,28 +252,16 @@ "audit-ci>event-stream>duplexer": { "builtin": { "stream": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "browserify>crypto-browserify>randombytes": { "builtin": { "crypto.randomBytes": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "browserify>readable-stream>util-deprecate": { "builtin": { "util.deprecate": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "circular-dependency-plugin": { @@ -381,9 +270,7 @@ "util._extend": true }, "globals": { - "module.exports": "write", - "process.cwd": true, - "require": true + "process.cwd": true } }, "copy-webpack-plugin": { @@ -400,19 +287,24 @@ "path.resolve": true, "path.sep": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { + "copy-webpack-plugin>glob-parent": true, "copy-webpack-plugin>globby": true, "copy-webpack-plugin>schema-utils": true, "copy-webpack-plugin>serialize-javascript": true, - "eslint>glob-parent": true, "globby>fast-glob": true, "lint-staged>normalize-path": true } }, + "copy-webpack-plugin>glob-parent": { + "builtin": { + "os.platform": true, + "path.posix.dirname": true + }, + "packages": { + "eslint>is-glob": true + } + }, "copy-webpack-plugin>globby": { "builtin": { "fs.Stats": true, @@ -428,9 +320,7 @@ "util.promisify": true }, "globals": { - "module.exports": "write", - "process.cwd": true, - "require": true + "process.cwd": true }, "packages": { "eslint>ignore": true, @@ -442,12 +332,6 @@ } }, "copy-webpack-plugin>schema-utils": { - "globals": { - "exports": true, - "module.exports": "write", - "process": true, - "require": true - }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true, "copy-webpack-plugin>schema-utils>ajv-formats": true, @@ -456,51 +340,31 @@ }, "copy-webpack-plugin>schema-utils>ajv": { "globals": { - "console": true, - "exports": "write", - "module.exports": "write", - "require": true + "console": true }, "packages": { - "copy-webpack-plugin>schema-utils>ajv>fast-uri": true, + "eslint>ajv>uri-js": true, "eslint>fast-deep-equal": true, "web-ext>addons-linter>ajv>json-schema-traverse": true } }, "copy-webpack-plugin>schema-utils>ajv-formats": { - "globals": { - "exports": "write", - "module.exports": "write", - "require": true - }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true } }, "copy-webpack-plugin>schema-utils>ajv-keywords": { "globals": { - "Buffer": true, - "exports": true, - "module.exports": "write", - "require": true + "Buffer": true }, "packages": { "copy-webpack-plugin>schema-utils>ajv": true, "eslint>fast-deep-equal": true } }, - "copy-webpack-plugin>schema-utils>ajv>fast-uri": { - "globals": { - "URL.domainToASCII": true, - "module.exports": "write", - "require": true - } - }, "copy-webpack-plugin>serialize-javascript": { "globals": { - "URL": true, - "module.exports": "write", - "require": true + "URL": true }, "packages": { "browserify>crypto-browserify>randombytes": true @@ -513,10 +377,7 @@ }, "globals": { "Buffer.allocUnsafe": true, - "Buffer.from": true, - "exports": true, - "module.exports": "write", - "require": true + "Buffer.from": true }, "packages": { "css-loader>icss-utils": true, @@ -529,12 +390,6 @@ "semver": true } }, - "css-loader>icss-utils": { - "globals": { - "module.exports": "write", - "require": true - } - }, "css-loader>postcss": { "builtin": { "fs.existsSync": true, @@ -554,10 +409,8 @@ "atob": true, "btoa": true, "console": true, - "module.exports": "write", "process.env.LANG": true, - "process.env.NODE_ENV": true, - "require": true + "process.env.NODE_ENV": true }, "packages": { "css-loader>postcss>nanoid": true, @@ -565,17 +418,7 @@ "vitest>picocolors": true } }, - "css-loader>postcss-modules-extract-imports": { - "globals": { - "module.exports": "write", - "require": true - } - }, "css-loader>postcss-modules-local-by-default": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "css-loader>icss-utils": true, "css-loader>postcss-modules-scope>postcss-selector-parser": true, @@ -583,80 +426,21 @@ } }, "css-loader>postcss-modules-scope": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "css-loader>postcss-modules-scope>postcss-selector-parser": true } }, "css-loader>postcss-modules-scope>postcss-selector-parser": { - "globals": { - "exports": true, - "module.exports": "write", - "require": true - }, "packages": { "@vanilla-extract/css>cssesc": true, "browserify>readable-stream>util-deprecate": true } }, "css-loader>postcss-modules-values": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "css-loader>icss-utils": true } }, - "css-loader>postcss-value-parser": { - "globals": { - "module.exports": "write", - "require": true - } - }, - "css-loader>postcss>nanoid": { - "globals": { - "module.exports": "write" - } - }, - "css-loader>postcss>source-map-js": { - "globals": { - "console": true, - "exports.ArraySet": "write", - "exports.BasicSourceMapConsumer": "write", - "exports.GREATEST_LOWER_BOUND": "write", - "exports.IndexedSourceMapConsumer": "write", - "exports.LEAST_UPPER_BOUND": "write", - "exports.MappingList": "write", - "exports.SourceMapConsumer": "write", - "exports.SourceMapGenerator": "write", - "exports.SourceNode": "write", - "exports.compareByGeneratedPositionsDeflated": "write", - "exports.compareByGeneratedPositionsDeflatedNoLine": "write", - "exports.compareByGeneratedPositionsInflated": "write", - "exports.compareByOriginalPositions": "write", - "exports.compareByOriginalPositionsNoSource": "write", - "exports.computeSourceURL": "write", - "exports.decode": "write", - "exports.encode": "write", - "exports.fromSetString": "write", - "exports.getArg": "write", - "exports.isAbsolute": "write", - "exports.join": "write", - "exports.normalize": "write", - "exports.parseSourceMapInput": "write", - "exports.quickSort": "write", - "exports.relative": "write", - "exports.search": "write", - "exports.toSetString": "write", - "exports.urlGenerate": "write", - "exports.urlParse": "write", - "require": true - } - }, "dotenv-webpack": { "builtin": { "fs": true @@ -664,11 +448,8 @@ "globals": { "console.log": true, "console.warn": true, - "exports": true, - "module.exports": "write", "process.env": true, - "process.exit": true, - "require": true + "process.exit": true }, "packages": { "dotenv-webpack>dotenv-defaults": true, @@ -676,10 +457,6 @@ } }, "dotenv-webpack>dotenv-defaults": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "dotenv-webpack>dotenv-defaults>dotenv": true } @@ -691,11 +468,8 @@ }, "globals": { "console.log": true, - "module.exports.config": true, - "module.exports.parse": true, "process.cwd": true, - "process.env": true, - "require": true + "process.env": true } }, "esbuild": { @@ -731,14 +505,12 @@ "__filename": true, "console.error": true, "console.log": true, - "module.exports": "write", "process.cwd": true, "process.env.ESBUILD_BINARY_PATH": true, "process.env.ESBUILD_MAX_BUFFER": true, "process.env.ESBUILD_WORKER_THREADS": true, "process.platform": true, - "process.versions.node.split": true, - "require": true + "process.versions.node.split": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": { @@ -747,38 +519,27 @@ "fs": true, "module": true, "path": true, - "process": true, "url": true, - "util": true, - "v8": true + "util": true }, "globals": { - "URL": true, "console.error": true, "console.log": true, - "exports": true, - "module.exports": "write", - "process.env.BABEL_ENV": true, - "process.env.BABEL_SHOW_CONFIG_FOR": true, - "process.env.NODE_ENV": true, - "process.versions.node": true, - "process.versions.pnp": true, - "require": true + "process": true }, "packages": { - "@graphql-eslint/eslint-plugin>@babel/code-frame": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, + "@testing-library/react>@testing-library/dom>@babel/code-frame": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/parser": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>gensync": true, "eslint>debug": true, "file-loader>loader-utils>json5": true, + "jest>@jest/core>@jest/transform>convert-source-map": true, "jest>@jest/core>jest-snapshot>@babel/generator": true, "jest>@jest/core>jest-snapshot>@babel/types": true, "semver": true @@ -786,58 +547,60 @@ }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping": { "globals": { - "define": true, - "exports": true, - "module": true, - "require": true + "define": true }, "packages": { - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping>@jridgewell/gen-mapping": true, + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@ampproject/remapping>@jridgewell/gen-mapping": { + "globals": { + "define": true + }, + "packages": { + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true, + "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets": { "globals": { "console.warn": true, - "exports": true, - "process.env.BROWSERSLIST": true, - "process.env.BROWSERSLIST_CONFIG": true, - "process.versions.node": true, - "require": true + "process.versions.node": true }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/compat-data": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/helper-validator-option": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache": true, - "semver": true, - "webpack>browserslist": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/compat-data": { - "globals": { - "module.exports": "write", - "require": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>@babel/helper-validator-option": { - "globals": { - "exports": true, - "require": true + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist": true, + "semver": true } }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache": { + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist": { + "builtin": { + "fs.existsSync": true, + "fs.readFileSync": true, + "fs.statSync": true, + "path.basename": true, + "path.dirname": true, + "path.join": true, + "path.resolve": true + }, "globals": { - "module.exports": "write", - "require": true + "console.warn": true, + "process.env.BROWSERSLIST": true, + "process.env.BROWSERSLIST_CONFIG": true, + "process.env.BROWSERSLIST_DANGEROUS_EXTEND": true, + "process.env.BROWSERSLIST_DISABLE_CACHE": true, + "process.env.BROWSERSLIST_ENV": true, + "process.env.BROWSERSLIST_IGNORE_OLD_DATA": true, + "process.env.BROWSERSLIST_STATS": true, + "process.env.NODE_ENV": true, + "process.versions.node": true }, "packages": { - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache>yallist": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>lru-cache>yallist": { - "globals": { - "module.exports": "write", - "require": true + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>caniuse-lite": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>electron-to-chromium": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-compilation-targets>browserslist>node-releases": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms": { @@ -846,32 +609,33 @@ "path.basename": true, "path.extname": true }, - "globals": { - "exports": true, - "require": true - }, "packages": { - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/traverse": true, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-environment-visitor": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-split-export-declaration": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, "jest>@jest/core>jest-snapshot>@babel/types": true, - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": { "builtin": { "assert": true }, - "globals": { - "exports": true, - "require": true - }, "packages": { - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true + "jest>@jest/core>jest-snapshot>@babel/types": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access": { + "packages": { + "jest>@jest/core>jest-snapshot>@babel/types": true + } + }, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-split-export-declaration": { + "packages": { + "jest>@jest/core>jest-snapshot>@babel/types": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse": { @@ -898,7 +662,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>@babel/highlight": true + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse>@babel/code-frame>chalk": { @@ -989,10 +753,6 @@ } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers": { - "globals": { - "exports": true, - "require": true - }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers>@babel/traverse": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, @@ -1023,7 +783,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>@babel/highlight": true + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers>@babel/traverse>@babel/code-frame>chalk": { @@ -1098,19 +858,10 @@ } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": { - "globals": { - "exports": true, - "require": true - }, "packages": { - "@graphql-eslint/eslint-plugin>@babel/code-frame": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/parser": true, - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true - } - }, - "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>gensync": { - "globals": { - "module.exports": "write" + "@testing-library/react>@testing-library/dom>@babel/code-frame": true, + "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/parser": true, + "jest>@jest/core>jest-snapshot>@babel/types": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse": { @@ -1137,7 +888,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>@babel/highlight": true + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse>@babel/code-frame>chalk": { @@ -1207,8 +958,6 @@ "stream.Readable": true }, "globals": { - "exports": true, - "require": true, "setImmediate": true }, "packages": { @@ -1227,9 +976,7 @@ "path.sep": true }, "globals": { - "exports": true, - "process.versions.node": true, - "require": true + "process.versions.node": true }, "packages": { "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel": true, @@ -1237,40 +984,24 @@ } }, "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel>queue-microtask": true } }, "eslint>@nodelib/fs.walk>@nodelib/fs.scandir>run-parallel>queue-microtask": { "globals": { - "module.exports": "write", "queueMicrotask": true, "setTimeout": true } }, "eslint>@nodelib/fs.walk>fastq": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "eslint>@nodelib/fs.walk>fastq>reusify": true } }, - "eslint>@nodelib/fs.walk>fastq>reusify": { - "globals": { - "module.exports": "write" - } - }, "eslint>ajv": { "globals": { - "console": true, - "module.exports": "write", - "require": true + "console": true }, "packages": { "eslint>ajv>fast-json-stable-stringify": true, @@ -1279,136 +1010,64 @@ "eslint>fast-deep-equal": true } }, - "eslint>ajv>fast-json-stable-stringify": { - "globals": { - "module.exports": "write" - } - }, - "eslint>ajv>json-schema-traverse": { - "globals": { - "module.exports": "write" - } - }, "eslint>ajv>uri-js": { "globals": { - "define": true, - "exports": true, - "module": true + "define": true } }, "eslint>debug": { "builtin": { "tty.isatty": true, "util.deprecate": true, - "util.formatWithOptions": true, + "util.format": true, "util.inspect": true }, "globals": { "console": true, "document": true, - "exports": true, "localStorage": true, - "module.exports": "write", "navigator": true, - "process": true, - "require": true + "process": true }, "packages": { - "@rudderstack/analytics-js-service-worker>ms": true, + "eslint>debug>ms": true, "supports-color": true } }, "eslint>eslint-scope>esrecurse": { - "globals": { - "exports.Visitor": "write", - "exports.version": "write", - "exports.visit": "write", - "require": true - }, "packages": { "eslint>esquery>estraverse": true } }, - "eslint>esquery>estraverse": { - "globals": { - "exports": true - } - }, - "eslint>fast-deep-equal": { - "globals": { - "module.exports": "write" - } - }, "eslint>find-up>path-exists": { "builtin": { "fs.access": true, "fs.accessSync": true, "util.promisify": true - }, - "globals": { - "module.exports": "write", - "require": true - } - }, - "eslint>glob-parent": { - "builtin": { - "os.platform": true, - "path.posix.dirname": true - }, - "globals": { - "module.exports": "write", - "require": true - }, - "packages": { - "eslint>is-glob": true } }, "eslint>ignore": { "globals": { - "module.exports": "write", "process": true } }, "eslint>is-glob": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "eslint>is-glob>is-extglob": true } }, - "eslint>is-glob>is-extglob": { - "globals": { - "module.exports": "write" - } - }, "eslint>strip-ansi": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "eslint>strip-ansi>ansi-regex": true } }, - "eslint>strip-ansi>ansi-regex": { - "globals": { - "module.exports": "write" - } - }, "file-loader": { "builtin": { "path": true }, - "globals": { - "exports": true, - "module.exports": "write", - "require": true - }, "packages": { "file-loader>loader-utils": true, - "webpack>schema-utils": true + "file-loader>schema-utils": true } }, "file-loader>loader-utils": { @@ -1424,19 +1083,7 @@ "globals": { "Buffer.from": true, "WebAssembly.Instance": true, - "WebAssembly.Module": true, - "exports.getCurrentRequest": "write", - "exports.getHashDigest": "write", - "exports.getOptions": "write", - "exports.getRemainingRequest": "write", - "exports.interpolateName": "write", - "exports.isUrlRequest": "write", - "exports.parseQuery": "write", - "exports.parseString": "write", - "exports.stringifyRequest": "write", - "exports.urlToRequest": "write", - "module.exports": "write", - "require": true + "WebAssembly.Module": true }, "packages": { "file-loader>loader-utils>big.js": true, @@ -1446,25 +1093,18 @@ }, "file-loader>loader-utils>big.js": { "globals": { - "define": true, - "module": true - } - }, - "file-loader>loader-utils>emojis-list": { - "globals": { - "module.exports": "write" + "define": true } }, "file-loader>loader-utils>json5": { "globals": { - "console.warn": true, - "module.exports": "write", - "require": true + "console.warn": true } }, - "globby>array-union": { - "globals": { - "module.exports": "write" + "file-loader>schema-utils": { + "packages": { + "eslint>ajv": true, + "webpack>schema-utils>ajv-keywords": true } }, "globby>dir-glob": { @@ -1475,9 +1115,7 @@ "path.posix.join": true }, "globals": { - "module.exports": "write", - "process.cwd": true, - "require": true + "process.cwd": true }, "packages": { "globby>dir-glob>path-type": true @@ -1487,15 +1125,6 @@ "builtin": { "fs": true, "util.promisify": true - }, - "globals": { - "exports.isDirectory": "write", - "exports.isDirectorySync": "write", - "exports.isFile": "write", - "exports.isFileSync": "write", - "exports.isSymlink": "write", - "exports.isSymlinkSync": "write", - "require": true } }, "globby>fast-glob": { @@ -1507,23 +1136,19 @@ "fs.stat": true, "fs.statSync": true, "os.cpus": true, - "os.platform": true, "path.basename": true, "path.resolve": true, "stream.PassThrough": true, "stream.Readable": true }, "globals": { - "exports": true, - "module.exports": "write", - "process.cwd": true, - "require": true + "process.cwd": true }, "packages": { "eslint>@nodelib/fs.walk": true, "globby>fast-glob>@nodelib/fs.stat": true, - "globby>fast-glob>glob-parent": true, "globby>merge2": true, + "msw>chokidar>glob-parent": true, "ts-loader>micromatch": true } }, @@ -1533,23 +1158,6 @@ "fs.lstatSync": true, "fs.stat": true, "fs.statSync": true - }, - "globals": { - "exports": true, - "require": true - } - }, - "globby>fast-glob>glob-parent": { - "builtin": { - "os.platform": true, - "path.posix.dirname": true - }, - "globals": { - "module.exports": "write", - "require": true - }, - "packages": { - "eslint>is-glob": true } }, "globby>merge2": { @@ -1557,21 +1165,12 @@ "stream.PassThrough": true }, "globals": { - "module.exports": "write", - "process.nextTick": true, - "require": true - } - }, - "globby>slash": { - "globals": { - "module.exports": "write" + "process.nextTick": true } }, "happy-dom>he": { "globals": { - "define": true, - "exports": true, - "module": true + "define": true } }, "html-webpack-plugin": { @@ -1595,9 +1194,7 @@ }, "globals": { "__dirname": true, - "console.error": true, - "module.exports": "write", - "require": true + "console.error": true }, "packages": { "html-webpack-plugin>html-minifier-terser": true, @@ -1611,17 +1208,7 @@ "ActiveX": true, "ActiveXObject": true, "DOMDocument": true, - "document": true, - "exports.HTMLParser": "write", - "exports.HTMLtoDOM": "write", - "exports.HTMLtoXML": "write", - "exports.createMap": "write", - "exports.createMapFromString": "write", - "exports.endTag": "write", - "exports.minify": "write", - "exports.replaceAsync": "write", - "module.exports": "write", - "require": true + "document": true }, "packages": { "happy-dom>he": true, @@ -1648,55 +1235,19 @@ }, "globals": { "Buffer": true, - "module.exports": "write", "process.cwd": true, "process.env.HTTP_PROXY": true, "process.env.http_proxy": true, "process.nextTick": true, - "process.platform": true, - "require": true + "process.platform": true }, "packages": { "html-webpack-plugin>html-minifier-terser>clean-css>source-map": true } }, - "html-webpack-plugin>html-minifier-terser>clean-css>source-map": { - "globals": { - "exports.ArraySet": "write", - "exports.BasicSourceMapConsumer": "write", - "exports.GREATEST_LOWER_BOUND": "write", - "exports.IndexedSourceMapConsumer": "write", - "exports.LEAST_UPPER_BOUND": "write", - "exports.MappingList": "write", - "exports.SourceMapConsumer": "write", - "exports.SourceMapGenerator": "write", - "exports.SourceNode": "write", - "exports.compareByGeneratedPositionsDeflated": "write", - "exports.compareByGeneratedPositionsInflated": "write", - "exports.compareByOriginalPositions": "write", - "exports.decode": "write", - "exports.encode": "write", - "exports.fromSetString": "write", - "exports.getArg": "write", - "exports.isAbsolute": "write", - "exports.join": "write", - "exports.normalize": "write", - "exports.quickSort": "write", - "exports.relative": "write", - "exports.search": "write", - "exports.toSetString": "write", - "exports.urlGenerate": "write", - "exports.urlParse": "write", - "require": true - } - }, "html-webpack-plugin>html-minifier-terser>relateurl": { "builtin": { "url.parse": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "html-webpack-plugin>pretty-error": { @@ -1704,9 +1255,7 @@ "path": true }, "globals": { - "console.error": true, - "module.exports": "write", - "require": true + "console.error": true }, "packages": { "html-webpack-plugin>pretty-error>renderkid": true, @@ -1719,10 +1268,8 @@ }, "globals": { "console.log": true, - "module.exports": "write", "process.stdout.columns": true, - "process.stdout.getWindowSize": true, - "require": true + "process.stdout.getWindowSize": true }, "packages": { "eslint>strip-ansi": true, @@ -1733,31 +1280,19 @@ } }, "html-webpack-plugin>pretty-error>renderkid>css-select": { - "globals": { - "exports": true, - "require": true - }, "packages": { - "@vanilla-extract/vite-plugin>@vanilla-extract/integration>@vanilla-extract/css>css-what": true, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils": true, "html-webpack-plugin>pretty-error>renderkid>css-select>nth-check": true, - "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true + "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true, + "web-ext>addons-linter>cheerio>cheerio-select>css-what": true } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domhandler": { - "globals": { - "exports": true, - "require": true - }, "packages": { "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils": { - "globals": { - "exports": true, - "require": true - }, "packages": { "html-webpack-plugin>pretty-error>renderkid>css-select>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer": true, @@ -1765,35 +1300,19 @@ } }, "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer": { - "globals": { - "exports": true, - "require": true - }, "packages": { "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer>entities": true, "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, - "html-webpack-plugin>pretty-error>renderkid>css-select>domutils>dom-serializer>entities": { - "globals": { - "exports": true, - "require": true - } - }, "html-webpack-plugin>pretty-error>renderkid>css-select>nth-check": { - "globals": { - "exports": true, - "require": true - }, "packages": { "web-ext>addons-linter>cheerio>cheerio-select>boolbase": true } }, "html-webpack-plugin>pretty-error>renderkid>dom-converter": { "globals": { - "inspect": true, - "module.exports": "write", - "require": true + "inspect": true }, "packages": { "html-webpack-plugin>pretty-error>renderkid>dom-converter>utila": true @@ -1802,16 +1321,10 @@ "html-webpack-plugin>pretty-error>renderkid>dom-converter>utila": { "globals": { "clearTimeout": true, - "module.exports": "write", - "require": true, "setTimeout": true } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2": { - "globals": { - "exports": true, - "require": true - }, "packages": { "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils": true, @@ -1820,19 +1333,11 @@ } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": { - "globals": { - "exports": true, - "require": true - }, "packages": { "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils": { - "globals": { - "exports": true, - "require": true - }, "packages": { "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domhandler": true, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils>dom-serializer": true, @@ -1840,73 +1345,76 @@ } }, "html-webpack-plugin>pretty-error>renderkid>htmlparser2>domutils>dom-serializer": { - "globals": { - "exports": true, - "require": true - }, "packages": { "html-webpack-plugin>pretty-error>renderkid>htmlparser2>entities": true, "web-ext>addons-linter>cheerio>domutils>domelementtype": true } }, - "html-webpack-plugin>pretty-error>renderkid>htmlparser2>entities": { + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": { + "globals": { + "define": true + }, + "packages": { + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true, + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true + } + }, + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/resolve-uri": { "globals": { - "exports": true, - "require": true + "define": true } }, - "jest>@jest/core>jest-runner>p-limit": { + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { "globals": { - "module.exports": "write", - "require": true - }, - "packages": { - "jest>@jest/core>jest-runner>p-limit>yocto-queue": true + "Buffer": true, + "TextDecoder": true, + "define": true } }, - "jest>@jest/core>jest-runner>p-limit>yocto-queue": { + "jest>@jest/core>@jest/transform>convert-source-map": { + "builtin": { + "fs.readFileSync": true, + "path.resolve": true + }, "globals": { - "module.exports": "write" + "Buffer": true, + "atob": true, + "btoa": true, + "value": true + } + }, + "jest>@jest/core>jest-runner>p-limit": { + "packages": { + "jest>@jest/core>jest-runner>p-limit>yocto-queue": true } }, "jest>@jest/core>jest-snapshot>@babel/generator": { "globals": { - "console.error": true, - "console.warn": true, - "exports": true, - "require": true + "console.error": true }, "packages": { - "@graphql-eslint/eslint-plugin>@graphql-tools/graphql-tag-pluck>@babel/types": true, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, "jest>@jest/core>jest-snapshot>@babel/generator>jsesc": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true + "jest>@jest/core>jest-snapshot>@babel/types": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": { "globals": { - "define": true, - "exports": true, - "module": true, - "require": true + "define": true }, "packages": { - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true, - "vitest>magic-string>@jridgewell/sourcemap-codec": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping": true, + "jest>@jest/core>@jest/reporters>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true, + "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping>@jridgewell/set-array": { "globals": { - "define": true, - "exports": true, - "module": true + "define": true } }, "jest>@jest/core>jest-snapshot>@babel/generator>jsesc": { "globals": { - "Buffer": true, - "module.exports": "write" "Buffer.isBuffer": true } }, @@ -1917,50 +1425,133 @@ }, "packages": { "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-string-parser": true, - "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true, + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true } }, - "lavamoat-browserify>convert-source-map": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>@babel/helper-validator-identifier": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": true, + "react>loose-envify>js-tokens": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": { "globals": { - "Buffer": true, - "atob": true, - "btoa": true, - "exports": true, - "value": true + "process.env.TERM": true, + "process.platform": true + }, + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true, + "supports-color": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/parser": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": true } }, - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame": { "globals": { - "exports": true, - "require": true + "console.warn": true, + "process.emitWarning": true + }, + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": true } }, - "lavamoat>lavamoat-core>@babel/types>@babel/helper-string-parser": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": { "globals": { - "exports": true + "process.env.TERM": true, + "process.platform": true + }, + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>escape-string-regexp": true, + "supports-color": true } }, - "lint-staged>execa>merge-stream": { - "builtin": { - "stream.PassThrough": true + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk>ansi-styles>color-convert>color-name": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types": { + "globals": { + "console.warn": true, + "process.env.BABEL_TYPES_8_BREAKING": true }, + "packages": { + "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types>@babel/helper-string-parser": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/types>@babel/helper-validator-identifier": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types": { "globals": { - "module.exports": "write", - "require": true + "console.warn": true, + "process.env.BABEL_TYPES_8_BREAKING": true + }, + "packages": { + "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types>@babel/helper-string-parser": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables>@babel/types>@babel/helper-validator-identifier": true + } + }, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration": { + "packages": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types": true } }, - "lint-staged>normalize-path": { + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types": { "globals": { - "module.exports": "write" + "console.warn": true, + "process.env.BABEL_TYPES_8_BREAKING": true + }, + "packages": { + "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types>@babel/helper-string-parser": true, + "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration>@babel/types>@babel/helper-validator-identifier": true + } + }, + "lint-staged>execa>merge-stream": { + "builtin": { + "stream.PassThrough": true } }, "lodash": { "globals": { - "define": true, - "exports": true, - "module": true, - "require": true + "define": true } }, "mini-css-extract-plugin": { @@ -1973,21 +1564,13 @@ }, "globals": { "Buffer": true, - "__dirname": true, - "module.exports": "write", - "require": true + "__dirname": true }, "packages": { "mini-css-extract-plugin>schema-utils": true } }, "mini-css-extract-plugin>schema-utils": { - "globals": { - "exports": true, - "module.exports": "write", - "process": true, - "require": true - }, "packages": { "mini-css-extract-plugin>schema-utils>ajv": true, "mini-css-extract-plugin>schema-utils>ajv-formats": true, @@ -1996,33 +1579,22 @@ }, "mini-css-extract-plugin>schema-utils>ajv": { "globals": { - "console": true, - "exports": "write", - "module.exports": "write", - "require": true + "console": true }, "packages": { - "copy-webpack-plugin>schema-utils>ajv>fast-uri": true, + "eslint>ajv>uri-js": true, "eslint>fast-deep-equal": true, "web-ext>addons-linter>ajv>json-schema-traverse": true } }, "mini-css-extract-plugin>schema-utils>ajv-formats": { - "globals": { - "exports": "write", - "module.exports": "write", - "require": true - }, "packages": { "mini-css-extract-plugin>schema-utils>ajv": true } }, "mini-css-extract-plugin>schema-utils>ajv-keywords": { "globals": { - "Buffer": true, - "exports": true, - "module.exports": "write", - "require": true + "Buffer": true }, "packages": { "eslint>fast-deep-equal": true, @@ -2030,33 +1602,13 @@ } }, "msw>chalk>ansi-styles>color-convert": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "msw>chalk>ansi-styles>color-convert>color-name": true } }, - "msw>chalk>ansi-styles>color-convert>color-name": { - "globals": { - "module.exports": "write" - } - }, "msw>chokidar>braces": { "globals": { - "console.log": true, - "exports.encloseBrace": "write", - "exports.escapeNode": "write", - "exports.exceedsLimit": "write", - "exports.find": "write", - "exports.flatten": "write", - "exports.isInteger": "write", - "exports.isInvalidBrace": "write", - "exports.isOpenOrClose": "write", - "exports.reduce": "write", - "module.exports": "write", - "require": true + "console.log": true }, "packages": { "msw>chokidar>braces>fill-range": true @@ -2066,72 +1618,48 @@ "builtin": { "util.inspect": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "msw>chokidar>braces>fill-range>to-regex-range": true } }, "msw>chokidar>braces>fill-range>to-regex-range": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "msw>chokidar>braces>fill-range>to-regex-range>is-number": true } }, - "msw>chokidar>braces>fill-range>to-regex-range>is-number": { - "globals": { - "module.exports": "write" - } - }, - "react>loose-envify>js-tokens": { - "globals": { - "exports": true + "msw>chokidar>glob-parent": { + "builtin": { + "os.platform": true, + "path.posix.dirname": true + }, + "packages": { + "eslint>is-glob": true } }, "semver": { "globals": { "console.error": true, - "exports": "write", - "module.exports": "write", - "process": true, - "require": true + "process": true }, "packages": { "semver>lru-cache": true } }, "semver>lru-cache": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "semver>lru-cache>yallist": true } }, - "semver>lru-cache>yallist": { - "globals": { - "module.exports": "write", - "require": true - } - }, "supports-color": { "builtin": { "os.release": true }, "globals": { - "module.exports": "write", "process.env": true, "process.platform": true, "process.stderr": true, "process.stdout": true, - "process.versions.node.split": true, - "require": true + "process.versions.node.split": true }, "packages": { "supports-color>has-flag": true @@ -2139,7 +1667,6 @@ }, "supports-color>has-flag": { "globals": { - "module.exports": "write", "process.argv": true } }, @@ -2159,11 +1686,8 @@ "globals": { "__dirname": true, "console.log.call": true, - "exports": true, - "module.exports": "write", "process.stderr": true, - "process.stdout": true, - "require": true + "process.stdout": true }, "packages": { "semver": true, @@ -2174,20 +1698,12 @@ } }, "ts-loader>chalk": { - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "supports-color": true, "ts-loader>chalk>ansi-styles": true } }, "ts-loader>chalk>ansi-styles": { - "globals": { - "module": true, - "require": true - }, "packages": { "msw>chalk>ansi-styles>color-convert": true } @@ -2196,10 +1712,6 @@ "builtin": { "util.inspect": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "msw>chokidar>braces": true, "ts-loader>micromatch>picomatch": true @@ -2211,21 +1723,8 @@ "path.sep": true }, "globals": { - "exports.escapeLast": "write", - "exports.escapeRegex": "write", - "exports.hasRegexChars": "write", - "exports.isObject": "write", - "exports.isRegexChar": "write", - "exports.isWindows": "write", - "exports.removeBackslashes": "write", - "exports.removePrefix": "write", - "exports.supportsLookbehinds": "write", - "exports.toPosixSlashes": "write", - "exports.wrapOutput": "write", - "module.exports": "write", "process.platform": true, - "process.version.slice": true, - "require": true + "process.version.slice": true } }, "typescript": { @@ -2250,11 +1749,9 @@ "clearTimeout": true, "console": true, "gc": true, - "module": true, "onProfilerEvent": true, "performance": true, "process": true, - "require": true, "setTimeout": true }, "packages": { @@ -2287,11 +1784,9 @@ "globals": { "Buffer": true, "clearTimeout": true, - "module.exports": "write", "process.env.WS_NO_BUFFER_UTIL": true, "process.env.WS_NO_UTF_8_VALIDATE": true, "process.nextTick": true, - "require": true, "setImmediate": true, "setTimeout": true }, @@ -2302,9 +1797,7 @@ }, "viem>ws>bufferutil": { "globals": { - "__dirname": true, - "module.exports": "write", - "require": true + "__dirname": true }, "native": true, "packages": { @@ -2324,16 +1817,12 @@ "globals": { "__non_webpack_require__": true, "__webpack_require__": true, - "module.exports": "write", - "process": true, - "require": true + "process": true } }, "viem>ws>utf-8-validate": { "globals": { - "__dirname": true, - "module.exports": "write", - "require": true + "__dirname": true }, "native": true, "packages": { @@ -2343,251 +1832,50 @@ "vitest>acorn": { "globals": { "console": true, - "define": true, - "exports": true, - "module": true + "define": true } }, "vitest>acorn-walk": { "globals": { - "define": true, - "exports": true, - "module": true - } - }, - "vitest>magic-string>@jridgewell/sourcemap-codec": { - "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true, - "exports": true, - "module": true - } - }, - "vitest>pathe": { - "globals": { - "exports": true, - "process": true, - "require": true + "define": true } }, "vitest>picocolors": { - "globals": { - "module.exports": "write", - "process": true - } - }, - "vitest>vite-node>mlly": { "builtin": { - "node:assert": true, - "node:fs": true, - "node:module.builtinModules": true, - "node:module.createRequire": true, - "node:path": true, - "node:process": true, - "node:url.URL": true, - "node:url.fileURLToPath": true, - "node:url.pathToFileURL": true, - "node:util.format": true, - "node:util.inspect": true, - "node:v8": true - }, - "globals": { - "Buffer.from": true, - "URL": true, - "exports.DYNAMIC_IMPORT_RE": "write", - "exports.ESM_STATIC_IMPORT_RE": "write", - "exports.EXPORT_DECAL_RE": "write", - "exports.EXPORT_DECAL_TYPE_RE": "write", - "exports.createCommonJS": "write", - "exports.createResolve": "write", - "exports.detectSyntax": "write", - "exports.evalModule": "write", - "exports.fileURLToPath": "write", - "exports.findDynamicImports": "write", - "exports.findExportNames": "write", - "exports.findExports": "write", - "exports.findStaticImports": "write", - "exports.findTypeExports": "write", - "exports.findTypeImports": "write", - "exports.getProtocol": "write", - "exports.hasCJSSyntax": "write", - "exports.hasESMSyntax": "write", - "exports.interopDefault": "write", - "exports.isNodeBuiltin": "write", - "exports.isValidNodeImport": "write", - "exports.loadModule": "write", - "exports.loadURL": "write", - "exports.lookupNodeModuleSubpath": "write", - "exports.normalizeid": "write", - "exports.parseNodeModulePath": "write", - "exports.parseStaticImport": "write", - "exports.parseTypeImport": "write", - "exports.pathToFileURL": "write", - "exports.resolve": "write", - "exports.resolveImports": "write", - "exports.resolveModuleExportNames": "write", - "exports.resolvePath": "write", - "exports.resolvePathSync": "write", - "exports.resolveSync": "write", - "exports.sanitizeFilePath": "write", - "exports.sanitizeURIComponent": "write", - "exports.toDataURL": "write", - "exports.transformModule": "write", - "process.cwd": true, - "require": true - }, - "packages": { - "vitest>acorn": true, - "vitest>pathe": true, - "vitest>vite-node>mlly>pkg-types": true, - "vitest>vite-node>mlly>ufo": true - } - }, - "vitest>vite-node>mlly>pkg-types": { - "builtin": { - "node:fs.promises.readFile": true, - "node:fs.promises.writeFile": true, - "node:fs.statSync": true - }, - "globals": { - "exports.definePackageJSON": "write", - "exports.defineTSConfig": "write", - "exports.findFarthestFile": "write", - "exports.findFile": "write", - "exports.findNearestFile": "write", - "exports.findWorkspaceDir": "write", - "exports.readPackageJSON": "write", - "exports.readTSConfig": "write", - "exports.resolveLockfile": "write", - "exports.resolvePackageJSON": "write", - "exports.resolveTSConfig": "write", - "exports.writePackageJSON": "write", - "exports.writeTSConfig": "write", - "process.cwd": true, - "require": true + "tty.isatty": true }, - "packages": { - "vitest>pathe": true, - "vitest>vite-node>mlly": true, - "vitest>vite-node>mlly>pkg-types>confbox": true - } - }, - "vitest>vite-node>mlly>pkg-types>confbox": { "globals": { - "console.warn": true, - "exports.getFormat": "write", - "exports.parseJSON": "write", - "exports.parseJSON5": "write", - "exports.parseJSONC": "write", - "exports.parseTOML": "write", - "exports.parseYAML": "write", - "exports.storeFormat": "write", - "exports.stringifyJSON": "write", - "exports.stringifyJSON5": "write", - "exports.stringifyJSONC": "write", - "exports.stringifyTOML": "write", - "exports.stringifyYAML": "write", - "require": true - } - }, - "vitest>vite-node>mlly>ufo": { - "globals": { - "URLSearchParams": true, - "exports.$URL": "write", - "exports.cleanDoubleSlashes": "write", - "exports.createURL": "write", - "exports.decode": "write", - "exports.decodePath": "write", - "exports.decodeQueryKey": "write", - "exports.decodeQueryValue": "write", - "exports.encode": "write", - "exports.encodeHash": "write", - "exports.encodeHost": "write", - "exports.encodeParam": "write", - "exports.encodePath": "write", - "exports.encodeQueryItem": "write", - "exports.encodeQueryKey": "write", - "exports.encodeQueryValue": "write", - "exports.getQuery": "write", - "exports.hasLeadingSlash": "write", - "exports.hasProtocol": "write", - "exports.hasTrailingSlash": "write", - "exports.isEmptyURL": "write", - "exports.isEqual": "write", - "exports.isNonEmptyURL": "write", - "exports.isRelative": "write", - "exports.isSamePath": "write", - "exports.isScriptProtocol": "write", - "exports.joinRelativeURL": "write", - "exports.joinURL": "write", - "exports.normalizeURL": "write", - "exports.parseAuth": "write", - "exports.parseFilename": "write", - "exports.parseHost": "write", - "exports.parsePath": "write", - "exports.parseQuery": "write", - "exports.parseURL": "write", - "exports.resolveURL": "write", - "exports.stringifyParsedURL": "write", - "exports.stringifyQuery": "write", - "exports.withBase": "write", - "exports.withFragment": "write", - "exports.withHttp": "write", - "exports.withHttps": "write", - "exports.withLeadingSlash": "write", - "exports.withProtocol": "write", - "exports.withQuery": "write", - "exports.withTrailingSlash": "write", - "exports.withoutBase": "write", - "exports.withoutFragment": "write", - "exports.withoutHost": "write", - "exports.withoutLeadingSlash": "write", - "exports.withoutProtocol": "write", - "exports.withoutTrailingSlash": "write" + "process.argv.includes": true, + "process.env": true, + "process.platform": true } }, "vitest>vite>terser": { "globals": { - "Buffer": true, + "Buffer.from": true, "atob": true, "btoa": true, "console.log": true, "console.warn": true, "define": true, - "exports": true, - "module": true, - "process": true, - "require": true + "process": true }, "packages": { - "vitest>acorn": true, - "vitest>vite>terser>@jridgewell/source-map": true + "vitest>vite>terser>@jridgewell/source-map": true, + "vitest>vite>terser>acorn": true } }, "vitest>vite>terser>@jridgewell/source-map": { "globals": { - "exports": true, - "require": true - }, - "packages": { - "jest>@jest/core>jest-snapshot>@babel/generator>@jridgewell/gen-mapping": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true - } - }, - "web-ext>addons-linter>ajv>json-schema-traverse": { - "globals": { - "module.exports": "write" - } - }, - "web-ext>addons-linter>cheerio>cheerio-select>boolbase": { - "globals": { - "module.exports": "write" + "Buffer": true, + "TextDecoder": true, + "define": true } }, - "web-ext>addons-linter>cheerio>domutils>domelementtype": { + "vitest>vite>terser>acorn": { "globals": { - "exports": true + "console": true, + "define": true } }, "web-ext>source-map-support": { @@ -2599,15 +1887,7 @@ "globals": { "XMLHttpRequest": true, "console.error": true, - "exports.getErrorSource": "write", - "exports.install": "write", - "exports.mapSourcePosition": "write", - "exports.resetRetrieveHandlers": "write", - "exports.retrieveSourceMap": "write", - "exports.wrapCallSite": "write", - "module": true, - "process": true, - "require": true + "process": true }, "packages": { "web-ext>source-map-support>buffer-from": true, @@ -2616,40 +1896,7 @@ }, "web-ext>source-map-support>buffer-from": { "globals": { - "Buffer": true, - "module.exports": "write" - } - }, - "web-ext>source-map-support>source-map": { - "globals": { - "exports.ArraySet": "write", - "exports.BasicSourceMapConsumer": "write", - "exports.GREATEST_LOWER_BOUND": "write", - "exports.IndexedSourceMapConsumer": "write", - "exports.LEAST_UPPER_BOUND": "write", - "exports.MappingList": "write", - "exports.SourceMapConsumer": "write", - "exports.SourceMapGenerator": "write", - "exports.SourceNode": "write", - "exports.compareByGeneratedPositionsDeflated": "write", - "exports.compareByGeneratedPositionsInflated": "write", - "exports.compareByOriginalPositions": "write", - "exports.computeSourceURL": "write", - "exports.decode": "write", - "exports.encode": "write", - "exports.fromSetString": "write", - "exports.getArg": "write", - "exports.isAbsolute": "write", - "exports.join": "write", - "exports.normalize": "write", - "exports.parseSourceMapInput": "write", - "exports.quickSort": "write", - "exports.relative": "write", - "exports.search": "write", - "exports.toSetString": "write", - "exports.urlGenerate": "write", - "exports.urlParse": "write", - "require": true + "Buffer": true } }, "webpack": { @@ -2722,12 +1969,6 @@ "console.profile": true, "console.profileEnd": true, "console.warn": true, - "exports.constructor": true, - "exports.parseVersionRuntimeCode": "write", - "exports.rangeToStringRuntimeCode": "write", - "exports.satisfyRuntimeCode": "write", - "exports.versionLtRuntimeCode": "write", - "module.exports": "write", "process.cwd": true, "process.env": true, "process.hrtime": true, @@ -2735,7 +1976,6 @@ "process.stderr": true, "process.versions.modules": true, "process.versions.pnp": true, - "require": true, "setImmediate": true, "setTimeout": true }, @@ -2746,10 +1986,10 @@ "html-webpack-plugin": true, "mini-css-extract-plugin": true, "ts-loader": true, - "vitest>acorn": true, "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/wasm-edit": true, "webpack>@webassemblyjs/wasm-parser": true, + "webpack>acorn": true, "webpack>acorn-import-attributes": true, "webpack>browserslist": true, "webpack>chrome-trace-event": true, @@ -2790,18 +2030,15 @@ "Buffer.byteLength": true, "__dirname": true, "console": true, - "exports": true, - "module.exports": "write", "process.cwd": true, "process.env.npm_package_name": true, - "require": true, "setImmediate": true }, "packages": { "lodash": true, "viem>ws": true, - "vitest>acorn": true, "vitest>acorn-walk": true, + "webpack-bundle-analyzer>acorn": true, "webpack-bundle-analyzer>chalk": true, "webpack-bundle-analyzer>gzip-size": true, "webpack-bundle-analyzer>opener": true, @@ -2809,21 +2046,19 @@ "webpack-cli>@discoveryjs/json-ext": true } }, - "webpack-bundle-analyzer>chalk": { + "webpack-bundle-analyzer>acorn": { "globals": { - "module.exports": "write", - "require": true - }, + "console": true, + "define": true + } + }, + "webpack-bundle-analyzer>chalk": { "packages": { "supports-color": true, "webpack-bundle-analyzer>chalk>ansi-styles": true } }, "webpack-bundle-analyzer>chalk>ansi-styles": { - "globals": { - "module": true, - "require": true - }, "packages": { "msw>chalk>ansi-styles>color-convert": true } @@ -2838,10 +2073,6 @@ "zlib.gzip": true, "zlib.gzipSync": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "audit-ci>event-stream>duplexer": true } @@ -2852,9 +2083,7 @@ "os.release": true }, "globals": { - "module.exports": "write", - "process.platform": true, - "require": true + "process.platform": true } }, "webpack-bundle-analyzer>sirv": { @@ -2866,10 +2095,6 @@ "path.normalize": true, "path.resolve": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "webpack-bundle-analyzer>sirv>@polka/url": true, "webpack-bundle-analyzer>sirv>mrmime": true, @@ -2879,16 +2104,6 @@ "webpack-bundle-analyzer>sirv>@polka/url": { "builtin": { "querystring.parse": true - }, - "globals": { - "exports.parse": "write", - "require": true - } - }, - "webpack-bundle-analyzer>sirv>mrmime": { - "globals": { - "exports.lookup": "write", - "exports.mimes": "write" } }, "webpack-bundle-analyzer>sirv>totalist": { @@ -2897,27 +2112,17 @@ "fs.statSync": true, "path.join": true, "path.resolve": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "webpack-cli>@discoveryjs/json-ext": { "builtin": { "stream.Readable": true, "util.TextDecoder": true - }, - "globals": { - "module.exports": "write", - "require": true } }, "webpack>@webassemblyjs/ast": { "globals": { - "console.warn": true, - "exports": true, - "require": true + "console.warn": true }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers": true, @@ -2925,39 +2130,19 @@ } }, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers": { - "globals": { - "exports": true, - "require": true - }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@webassemblyjs/floating-point-hex-parser": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": true, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/helper-api-error": true } }, - "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@webassemblyjs/floating-point-hex-parser": { - "globals": { - "exports": true - } - }, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": { "globals": { "WebAssembly.Instance": true, - "WebAssembly.Module": true, - "module.exports": "write" - } - }, - "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": { - "globals": { - "exports": true, - "require": true + "WebAssembly.Module": true } }, "webpack>@webassemblyjs/wasm-edit": { - "globals": { - "exports": true, - "require": true - }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, @@ -2968,16 +2153,7 @@ "webpack>@webassemblyjs/wasm-parser": true } }, - "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-buffer": { - "globals": { - "exports": true - } - }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-wasm-section": { - "globals": { - "exports": true, - "require": true - }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, @@ -2986,10 +2162,6 @@ } }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/wasm-gen": { - "globals": { - "exports": true, - "require": true - }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-wasm-bytecode": true, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754": true, @@ -2998,10 +2170,6 @@ } }, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/wasm-opt": { - "globals": { - "exports": true, - "require": true - }, "packages": { "webpack>@webassemblyjs/ast": true, "webpack>@webassemblyjs/wasm-edit>@webassemblyjs/helper-buffer": true, @@ -3012,9 +2180,7 @@ "webpack>@webassemblyjs/wasm-parser": { "globals": { "console.log": true, - "console.warn": true, - "exports": true, - "require": true + "console.warn": true }, "packages": { "webpack>@webassemblyjs/ast": true, @@ -3025,47 +2191,31 @@ "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/utf8": true } }, - "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/helper-api-error": { - "globals": { - "exports": true - } - }, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754": { "globals": { - "exports": true, - "require": true + "Buffer.from": true }, "packages": { "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754>@xtuc/ieee754": true } }, - "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/ieee754>@xtuc/ieee754": { - "globals": { - "exports": true - } - }, "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/leb128": { "globals": { - "exports": true, - "require": true + "Buffer": true }, "packages": { "webpack>@webassemblyjs/ast>@webassemblyjs/helper-numbers>@xtuc/long": true } }, - "webpack>@webassemblyjs/wasm-parser>@webassemblyjs/utf8": { + "webpack>acorn": { "globals": { - "exports": true, - "require": true + "console": true, + "define": true } }, "webpack>acorn-import-attributes": { - "globals": { - "exports": true, - "require": true - }, "packages": { - "vitest>acorn": true + "webpack>acorn": true } }, "webpack>browserslist": { @@ -3081,10 +2231,8 @@ }, "globals": { "console.warn": true, - "module.exports": "write", "process.env": true, - "process.versions.node": true, - "require": true + "process.versions.node": true }, "packages": { "webpack>browserslist>caniuse-lite": true, @@ -3092,26 +2240,13 @@ "webpack>browserslist>node-releases": true } }, - "webpack>browserslist>caniuse-lite": { - "globals": { - "module.exports": "write", - "require": true - } - }, - "webpack>browserslist>electron-to-chromium": { - "globals": { - "module.exports": "write" - } - }, "webpack>chrome-trace-event": { "builtin": { "stream.Readable": true }, "globals": { - "exports": true, "process.hrtime": true, - "process.pid": true, - "require": true + "process.pid": true } }, "webpack>enhanced-resolve": { @@ -3127,61 +2262,47 @@ "Buffer.isBuffer": true, "URL": true, "clearTimeout": true, - "exports.PathType": "write", - "exports.cachedJoin": "write", - "exports.cdUp": "write", - "exports.createResolver": "write", - "exports.deprecatedInvalidSegmentRegEx": "write", - "exports.getField": "write", - "exports.getType": "write", - "exports.invalidSegmentRegEx": "write", - "exports.join": "write", - "exports.loadDescriptionFile": "write", - "exports.normalize": "write", - "module.exports": "write", - "require": true, "setTimeout": true }, "packages": { - "webpack>graceful-fs": true, + "webpack>enhanced-resolve>graceful-fs": true, "webpack>tapable": true } }, + "webpack>enhanced-resolve>graceful-fs": { + "builtin": { + "assert.equal": true, + "constants.O_SYMLINK": true, + "constants.O_WRONLY": true, + "constants.hasOwnProperty": true, + "fs": true, + "stream.Stream.call": true, + "util": true + }, + "globals": { + "clearTimeout": true, + "console.error": true, + "process": true, + "setTimeout": true + } + }, "webpack>es-module-lexer": { "globals": { "Buffer": true, "WebAssembly.compile": true, "WebAssembly.instantiate": true, - "atob": true, - "exports.ImportType": "write", - "exports.init": "write", - "exports.parse": "write" + "atob": true } }, "webpack>eslint-scope": { "builtin": { "assert": true }, - "globals": { - "module.exports": "write", - "require": true - }, "packages": { "eslint>eslint-scope>esrecurse": true, "webpack>eslint-scope>estraverse": true } }, - "webpack>eslint-scope>estraverse": { - "globals": { - "exports": true, - "require": true - } - }, - "webpack>glob-to-regexp": { - "globals": { - "module.exports": "write" - } - }, "webpack>graceful-fs": { "builtin": { "assert.equal": true, @@ -3195,16 +2316,13 @@ "globals": { "clearTimeout": true, "console.error": true, - "module.exports": "write", "process": true, - "require": true, "setTimeout": true } }, "webpack>json-parse-even-better-errors": { "globals": { - "Buffer.isBuffer": true, - "module.exports": "write" + "Buffer.isBuffer": true } }, "webpack>loader-runner": { @@ -3216,11 +2334,7 @@ "Buffer.from": true, "Buffer.isBuffer": true, "console.error": true, - "exports.getContext": "write", - "exports.runLoaders": "write", - "module.exports": "write", "process.nextTick": true, - "require": true, "setImmediate": true }, "packages": { @@ -3236,33 +2350,15 @@ "builtin": { "path.extname": true }, - "globals": { - "exports.charset": "write", - "exports.charsets": "write", - "exports.contentType": "write", - "exports.extension": "write", - "exports.extensions": "write", - "exports.lookup": "write", - "exports.types": "write", - "require": true - }, "packages": { "webpack>mime-types>mime-db": true } }, - "webpack>mime-types>mime-db": { - "globals": { - "module.exports": "write", - "require": true - } - }, "webpack>neo-async": { "globals": { "clearTimeout": true, "console": true, "define": true, - "exports": true, - "module": true, "process": true, "setImmediate": true, "setTimeout": true @@ -3270,10 +2366,7 @@ }, "webpack>schema-utils": { "globals": { - "exports": true, - "module.exports": "write", - "process": true, - "require": true + "process": true }, "packages": { "eslint>ajv": true, @@ -3284,31 +2377,12 @@ "globals": { "Buffer": true, "console.error": true, - "console.warn": true, - "module.exports": "write", - "require": true + "console.warn": true } }, "webpack>tapable": { "builtin": { "util.deprecate": true - }, - "globals": { - "exports.AsyncParallelBailHook": "write", - "exports.AsyncParallelHook": "write", - "exports.AsyncSeriesBailHook": "write", - "exports.AsyncSeriesHook": "write", - "exports.AsyncSeriesLoopHook": "write", - "exports.AsyncSeriesWaterfallHook": "write", - "exports.HookMap": "write", - "exports.MultiHook": "write", - "exports.SyncBailHook": "write", - "exports.SyncHook": "write", - "exports.SyncLoopHook": "write", - "exports.SyncWaterfallHook": "write", - "exports.__esModule": "write", - "module.exports": "write", - "require": true } }, "webpack>terser-webpack-plugin": { @@ -3321,38 +2395,37 @@ "Buffer.isBuffer": true, "__dirname": true, "__filename": true, - "exports": true, - "module": true, "process.stderr.write": true, - "process.stdout.write": true, - "require": true + "process.stdout.write": true }, "packages": { - "copy-webpack-plugin>serialize-javascript": true, "esbuild": true, - "vitest>vite>terser": true, - "webpack>schema-utils": true, + "file-loader>schema-utils": true, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": true, - "webpack>terser-webpack-plugin>jest-worker": true + "webpack>terser-webpack-plugin>jest-worker": true, + "webpack>terser-webpack-plugin>serialize-javascript": true, + "webpack>terser-webpack-plugin>terser": true } }, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping": { "globals": { - "define": true, - "exports": true, - "module": true, - "require": true + "define": true }, "packages": { - "vitest>magic-string>@jridgewell/sourcemap-codec": true, - "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true } }, "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/resolve-uri": { "globals": { - "define": true, - "exports": true, - "module": true + "define": true + } + }, + "webpack>terser-webpack-plugin>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "define": true } }, "webpack>terser-webpack-plugin>jest-worker": { @@ -3366,9 +2439,7 @@ "globals": { "__dirname": true, "clearTimeout": true, - "exports": true, "process": true, - "require": true, "setTimeout": true }, "packages": { @@ -3377,6 +2448,36 @@ "webpack>terser-webpack-plugin": true } }, + "webpack>terser-webpack-plugin>serialize-javascript": { + "globals": { + "URL": true + }, + "packages": { + "browserify>crypto-browserify>randombytes": true + } + }, + "webpack>terser-webpack-plugin>terser": { + "globals": { + "Buffer": true, + "atob": true, + "btoa": true, + "console.log": true, + "console.warn": true, + "define": true, + "process": true + }, + "packages": { + "vitest>acorn": true, + "webpack>terser-webpack-plugin>terser>@jridgewell/source-map": true + } + }, + "webpack>terser-webpack-plugin>terser>@jridgewell/source-map": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "define": true + } + }, "webpack>watchpack": { "builtin": { "events.EventEmitter": true, @@ -3391,22 +2492,34 @@ "globals": { "clearTimeout": true, "console.error": true, - "exports.batch": "write", - "exports.getNumberOfWatchers": "write", - "exports.watch": "write", - "module.exports": "write", "process.env.WATCHPACK_POLLING": true, "process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING": true, "process.env.WATCHPACK_WATCHER_LIMIT": true, "process.nextTick": true, "process.platform": true, "process.stderr.write": true, - "require": true, "setTimeout": true }, "packages": { "webpack>glob-to-regexp": true, - "webpack>graceful-fs": true + "webpack>watchpack>graceful-fs": true + } + }, + "webpack>watchpack>graceful-fs": { + "builtin": { + "assert.equal": true, + "constants.O_SYMLINK": true, + "constants.O_WRONLY": true, + "constants.hasOwnProperty": true, + "fs": true, + "stream.Stream.call": true, + "util": true + }, + "globals": { + "clearTimeout": true, + "console.error": true, + "process": true, + "setTimeout": true } }, "webpack>webpack-sources": { @@ -3415,10 +2528,7 @@ "Buffer.concat": true, "Buffer.from": true, "Buffer.isBuffer": true, - "exports": true, - "module.exports": "write", - "process": true, - "require": true + "process": true } } } diff --git a/package.json b/package.json index eb64bb3fb3..a1f787edef 100644 --- a/package.json +++ b/package.json @@ -337,7 +337,7 @@ "wagmi>@wagmi/connectors>@coinbase/wallet-sdk>keccak": false, "wagmi>@wagmi/connectors>@metamask/sdk>eciesjs>secp256k1": false, "@vanilla-extract/vite-plugin>vite>esbuild": false, - "wagmi>@wagmi/connectors>@walletconnect/ethereum-provider>@walletconnect/types>@walletconnect/keyvaluestorage>unstorage>listhen>@parcel/watcher": false + "wagmi>@wagmi/connectors>@walletconnect/ethereum-provider>@walletconnect/types>@walletconnect/keyvaluestorage>unstorage>listhen>@parcel/watcher": false, "@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@solana": false, "@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@solana/web3.js>bigint-buffer": false, "@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@solana/web3.js>rpc-websockets>bufferutil": false, From 5efb2329df26e8ac10cc85c2b31d105d6671601b Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:03:14 -0600 Subject: [PATCH 07/24] hmm --- lavamoat/build-webpack/policy.json | 34 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/lavamoat/build-webpack/policy.json b/lavamoat/build-webpack/policy.json index 4b2983cade..62c1ff7c44 100644 --- a/lavamoat/build-webpack/policy.json +++ b/lavamoat/build-webpack/policy.json @@ -12,7 +12,7 @@ "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": { "packages": { "@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": true, - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true, "react>loose-envify>js-tokens": true } }, @@ -617,7 +617,7 @@ "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse": true, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true, "jest>@jest/core>jest-snapshot>@babel/types": true, - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true + "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": { @@ -662,7 +662,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true + "lavamoat>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/traverse>@babel/code-frame>chalk": { @@ -783,7 +783,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true + "lavamoat>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helpers>@babel/traverse>@babel/code-frame>chalk": { @@ -888,7 +888,7 @@ }, "packages": { "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse>@babel/code-frame>chalk": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true + "lavamoat>@babel/highlight": true } }, "eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/traverse>@babel/code-frame>chalk": { @@ -1425,36 +1425,36 @@ }, "packages": { "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-string-parser": true, - "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true, "lavamoat>lavamoat-core>@babel/types>to-fast-properties": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": { + "lavamoat>@babel/highlight": { "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>@babel/helper-validator-identifier": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": true, + "lavamoat>@babel/highlight>@babel/helper-validator-identifier": true, + "lavamoat>@babel/highlight>chalk": true, "react>loose-envify>js-tokens": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": { + "lavamoat>@babel/highlight>chalk": { "globals": { "process.env.TERM": true, "process.platform": true }, "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true, + "lavamoat>@babel/highlight>chalk>ansi-styles": true, + "lavamoat>@babel/highlight>chalk>escape-string-regexp": true, "supports-color": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": { + "lavamoat>@babel/highlight>chalk>ansi-styles": { "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true + "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": true } }, - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": { + "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": { "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true + "lavamoat>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true } }, "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": { @@ -1476,7 +1476,7 @@ "process.emitWarning": true }, "packages": { - "lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true, + "lavamoat>@babel/highlight": true, "lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": true } }, From becb0353fa5abcaf268ede60f3efd2be9c6dd287 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:40:02 -0600 Subject: [PATCH 08/24] fix test 1, test test 2 --- e2e/serial/swap/1_swapFlow1.test.ts | 19 +++++++++++++++---- e2e/serial/swap/2_swapFlow2.test.ts | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/e2e/serial/swap/1_swapFlow1.test.ts b/e2e/serial/swap/1_swapFlow1.test.ts index e326fb577d..f70c2d6a13 100644 --- a/e2e/serial/swap/1_swapFlow1.test.ts +++ b/e2e/serial/swap/1_swapFlow1.test.ts @@ -679,10 +679,21 @@ it('should be able to filter assets to buy by network', async () => { text: 'uni', }); await delayTime('medium'); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.UNI_BNB_ID}-verified-token-to-buy-row`, - driver, - }); + + // this token is occassionally included in 'popular in rainbow.' + // tokens are only set to appear in one section at a time, so if + // it is in that section, the test will fail without this try / catch. + try { + await findElementByTestIdAndClick({ + id: `${SWAP_VARIABLES.UNI_BNB_ID}-verified-token-to-buy-row`, + driver, + }); + } catch { + await findElementByTestIdAndClick({ + id: `${SWAP_VARIABLES.UNI_BNB_ID}-popular-token-to-buy-row-active-element-item`, + driver, + }); + } await findElementByTestIdAndClick({ id: `token-to-buy-token-input-remove`, driver, diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index 4548101675..6c699610d9 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -185,7 +185,7 @@ describe('Swap Flow 2', () => { await typeOnTextInput({ id: 'slippage-input-mask', driver, - text: '99', + text: '5', }); await delayTime('medium'); From 06942ad5f889f00e239fd85fe43d6453626cd997 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:42:59 -0600 Subject: [PATCH 09/24] logging --- e2e/mockFetch.ts | 29 ++-- ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 2 +- e2e/serial/swap/2_swapFlow2.test.ts | 132 ++++++++++++++---- package.json | 5 +- yarn.lock | 104 +++++++++----- 5 files changed, 182 insertions(+), 90 deletions(-) diff --git a/e2e/mockFetch.ts b/e2e/mockFetch.ts index 9da95c0bf3..93d88d2f7c 100644 --- a/e2e/mockFetch.ts +++ b/e2e/mockFetch.ts @@ -1,7 +1,5 @@ import { Hex, sha256 } from 'viem'; -import { AddressAssetsReceivedMessage } from '~/core/types/refraction'; - export function mockFetch() { const nativeFetch = window.fetch; window.fetch = async function mockedFetch( @@ -13,28 +11,17 @@ export function mockFetch() { const url = new URL(input); - // if ( - // url.hostname === 'addys.p.rainbow.me' && - // url.pathname.endsWith('/assets') - // ) { - // const response = await nativeFetch(input, init); - // const data = (await response.json()) as AddressAssetsReceivedMessage; - - // if (data.payload?.assets) { - // const eth = data.payload.assets.find((a) => a.asset.symbol === 'ETH'); - // if (eth?.asset.price) eth.asset.price.value = 3267.8599999999988; - // console.log(eth); - // } - // return new Response(JSON.stringify(data), { - // headers: { 'Content-Type': 'application/json' }, - // }); - // } - if (url.hostname === 'swap.p.rainbow.me') { + console.log('Intercepting swap request:', { + url: url.href, + params: Object.fromEntries(url.searchParams), + }); + const hash = sha256(url.href as Hex); - const response = await import(`./mocks/swap_quotes/${hash}.json`); + console.log('Looking for mock file with hash:', hash); - // fetch('http://127.0.0.1:8008/' + url.href); + const response = await import(`./mocks/swap_quotes/${hash}.json`); + console.log('Mock response:', response); if (!response) throw new Error('no response for request', { diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json index 80e7588e96..18a289958b 100644 --- a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999999,"available":true},"totalPrice":{"value":49.99974165,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":46.60460230967496,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000032faedc7b120000000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000007bc7165531437148ac17fe5f90bcafc6a9622d870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c0e35d801d7ecb92232d8a35e20b95c73249cf0b1ee02c96df9321648284a4f8c625cd7a6018c9f3811472a99cccae3115e4e8bf1b435ca7398c047170861b9af0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fcad35cd6867b9945659b179","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15300454012717802","buyAmount":"14349648000000000","buyAmountMinusFees":"14227675992000000","buyAmountDisplay":"14227675992000000","buyAmountDisplayMinimum":"142276759920000","buyAmountInEth":"14261505177600925","tradeAmountUSD":49.99974165,"tradeFeeAmountUSD":0.3995351685650384,"value":"0","gasPrice":"29496439762","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999987,"available":true},"totalPrice":{"value":0.3995351685650384,"available":true}},"fee":"121972008000000","feeInEth":"122262021189720","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999999,"available":true},"totalPrice":{"value":49.99974165,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":46.60460230967496,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000032faedc7b120000000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000007bc7165531437148ac17fe5f90bcafc6a9622d870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c0e35d801d7ecb92232d8a35e20b95c73249cf0b1ee02c96df9321648284a4f8c625cd7a6018c9f3811472a99cccae3115e4e8bf1b435ca7398c047170861b9af0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fcad35cd6867b9945659b179","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15300454012717802","buyAmount":"14349648000000000","buyAmountMinusFees":"14227675992000000","buyAmountDisplay":"14227675992000000","buyAmountDisplayMinimum":"142276759920000","buyAmountInEth":"14261505177600925","tradeAmountUSD":49.99974165,"tradeFeeAmountUSD":0.3995351685650384,"value":"0","gasPrice":"29496439762","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999987,"available":true},"totalPrice":{"value":0.3995351685650384,"available":true}},"fee":"121972008000000","feeInEth":"122262021189720","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1 } \ No newline at end of file diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index 6c699610d9..06a9c3baeb 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -1,7 +1,9 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable no-await-in-loop */ import 'chromedriver'; import 'geckodriver'; import { Key, WebDriver } from 'selenium-webdriver'; -import { Address, createClient, erc20Abi, getContract, http } from 'viem'; +import { Address, createPublicClient, erc20Abi, http } from 'viem'; import { afterAll, afterEach, @@ -59,13 +61,11 @@ describe('Swap Flow 2', () => { rootURL += extensionId; }); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - beforeEach(async (context: any) => { + beforeEach<{ driver: WebDriver }>(async (context) => { context.driver = driver; }); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - afterEach(async (context: any) => { + afterEach<{ driver: WebDriver }>(async (context) => { await takeScreenshotOnFailure(context); }); @@ -158,17 +158,17 @@ describe('Swap Flow 2', () => { }); it('should be able to execute unlock and swap', async () => { - const client = createClient({ + const publicClient = createPublicClient({ transport: http('http://127.0.0.1:8545'), }); - const tokenContract = getContract({ - abi: erc20Abi, + + // First balance check + const usdcBalanceBeforeSwap = await publicClient.readContract({ address: SWAP_VARIABLES.USDC_MAINNET_ADDRESS as Address, - client, + abi: erc20Abi, + functionName: 'balanceOf', + args: [WALLET_TO_USE_ADDRESS as Address], }); - const usdcBalanceBeforeSwap = await tokenContract.read.balanceOf([ - WALLET_TO_USE_ADDRESS as Address, - ]); await findElementByTestIdAndClick({ id: 'swap-settings-navbar-button', @@ -185,7 +185,7 @@ describe('Swap Flow 2', () => { await typeOnTextInput({ id: 'slippage-input-mask', driver, - text: '5', + text: '99', }); await delayTime('medium'); @@ -202,26 +202,96 @@ describe('Swap Flow 2', () => { }); await delay(5_000); - await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); - - // waiting for balances to update - await delay(20_000); - - const usdcBalanceAfterSwap = await tokenContract.read.balanceOf([ - WALLET_TO_USE_ADDRESS as Address, - ]); - - const balanceDifference = subtract( - usdcBalanceBeforeSwap.toString(), - usdcBalanceAfterSwap.toString(), - ); + try { + const unwatch = publicClient.watchBlocks({ + onBlock: async (block: any) => { + const blockWithTransactions = await publicClient.getBlock({ + includeTransactions: true, + }); + + console.log('Block:', { + timestamp: new Date().toISOString(), + number: block.number, + hash: block.hash, + transactions: blockWithTransactions.transactions.length, + }); + + for (const tx of blockWithTransactions.transactions) { + try { + console.log('Transaction found:', { + hash: tx.hash, + from: tx.from, + to: tx.to, + input: tx.input, + }); + + const receipt = await publicClient.getTransactionReceipt({ + hash: tx.hash, + }); + + if (receipt.status === 'reverted') { + try { + // Try to get the revert reason + const result = await publicClient.call({ + to: tx.to, + data: tx.input, + account: tx.from, + }); + console.log('Revert reason:', result); + } catch (revertError: any) { + console.log('Revert error details:', { + error: revertError, + data: revertError.data, + message: revertError.message, + details: revertError.details, + }); + } + } + + console.log('Transaction receipt:', { + status: receipt.status, + gasUsed: receipt.gasUsed, + effectiveGasPrice: receipt.effectiveGasPrice, + logs: receipt.logs, + }); + } catch (err) { + console.error('Error processing transaction:', err); + } + } + }, + }); - const usdcBalanceDifference = convertRawAmountToDecimalFormat( - balanceDifference.toString(), - 6, - ); + // Execute the swap + await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); + console.log('Waiting for transaction...'); + await delay(20_000); + + // Check final balance + const usdcBalanceAfterSwap = await publicClient.readContract({ + address: SWAP_VARIABLES.USDC_MAINNET_ADDRESS as Address, + abi: erc20Abi, + functionName: 'balanceOf', + args: [WALLET_TO_USE_ADDRESS as Address], + }); - expect(Number(usdcBalanceDifference)).toBe(50); + const balanceDifference = subtract( + usdcBalanceBeforeSwap.toString(), + usdcBalanceAfterSwap.toString(), + ); + + const usdcBalanceDifference = convertRawAmountToDecimalFormat( + balanceDifference.toString(), + 6, + ); + + expect(Number(usdcBalanceDifference)).toBe(50); + unwatch(); + } catch (error: any) { + console.error('Swap failed with error:', error); + if (error.data) { + console.log('Error data:', error.data); + } + } }); it.skip('should be able to go to swap flow', async () => { diff --git a/package.json b/package.json index a1f787edef..c634923dd5 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "//enable dev mode": "", "devmode:on": "sed -i'' -e 's/IS_DEV.*/IS_DEV=true/g' .env", "devmode:off": "sed -i'' -e 's/IS_DEV.*/IS_DEV=false/g' .env", + "//enable test mode": "", + "testmode:on": "sed -i'' -e 's/IS_TESTING.*/IS_TESTING=true/g' .env", + "testmode:off": "sed -i'' -e 's/IS_TESTING.*/IS_TESTING=false/g' .env", "// Bumps the pkg.json version": "", "bump": "node scripts/bump.js", "// Updates the manifest with the settings of a specific target": "", @@ -158,7 +161,7 @@ "react-switch": "7.0.0", "socket.io-client": "4.5.3", "validator": "13.9.0", - "viem": "2.21.0", + "viem": "2.21.45", "wagmi": "2.8.1", "word-wrap": "1.2.4", "zustand": "4.1.5" diff --git a/yarn.lock b/yarn.lock index 8c336c2164..d48c91303d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,11 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== +"@adraffy/ens-normalize@^1.10.1": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.11.0.tgz#42cc67c5baa407ac25059fcd7d405cc5ecdb0c33" + integrity sha512-/3DDPKHqqIqxUULp8yP4zODUY1i+2xvVWsv8A79xGWdCAG+8sb0hRh0Rk2QyOJUnnbyPUAZYcpBuRe3nS2OIUg== + "@ampproject/remapping@^2.1.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" @@ -3115,13 +3120,6 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" - integrity sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg== - dependencies: - "@noble/hashes" "1.4.0" - "@noble/curves@1.4.2", "@noble/curves@~1.4.0": version "1.4.2" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.2.tgz#40309198c76ed71bc6dbf7ba24e81ceb4d0d1fe9" @@ -3129,6 +3127,13 @@ dependencies: "@noble/hashes" "1.4.0" +"@noble/curves@1.6.0", "@noble/curves@^1.6.0", "@noble/curves@~1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.6.0.tgz#be5296ebcd5a1730fccea4786d420f87abfeb40b" + integrity sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ== + dependencies: + "@noble/hashes" "1.5.0" + "@noble/curves@^1.2.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" @@ -3163,7 +3168,7 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== -"@noble/hashes@^1.2.0": +"@noble/hashes@1.5.0", "@noble/hashes@^1.2.0", "@noble/hashes@^1.5.0", "@noble/hashes@~1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== @@ -4359,6 +4364,11 @@ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30" integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g== +"@scure/base@~1.1.7": + version "1.1.9" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.9.tgz#e5e142fbbfe251091f9c5f1dd4c834ac04c3dbd1" + integrity sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg== + "@scure/bip32@1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.1.tgz#7248aea723667f98160f593d621c47e208ccbb10" @@ -4386,7 +4396,16 @@ "@noble/hashes" "~1.4.0" "@scure/base" "~1.1.6" -"@scure/bip39@1.2.1", "@scure/bip39@1.3.0": +"@scure/bip32@1.5.0", "@scure/bip32@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.5.0.tgz#dd4a2e1b8a9da60e012e776d954c4186db6328e6" + integrity sha512-8EnFYkqEQdnkuGBVpCzKxyIwDCBLDVj3oiX0EKUFre/tOjL/Hqba1D6n/8RcmaQy4f95qQFrO2A8Sr6ybh4NRw== + dependencies: + "@noble/curves" "~1.6.0" + "@noble/hashes" "~1.5.0" + "@scure/base" "~1.1.7" + +"@scure/bip39@1.2.1", "@scure/bip39@1.3.0", "@scure/bip39@1.4.0", "@scure/bip39@^1.4.0": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== @@ -6275,10 +6294,10 @@ abitype@0.9.8: resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== -abitype@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.5.tgz#29d0daa3eea867ca90f7e4123144c1d1270774b6" - integrity sha512-YzDhti7cjlfaBhHutMaboYB21Ha3rXR9QTkNJFzYC4kC8YclaiwPBBBJY8ejFdu2wnJeZCVZSMlQJ7fi8S6hsw== +abitype@1.0.6, abitype@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.6.tgz#76410903e1d88e34f1362746e2d407513c38565b" + integrity sha512-MMSqYh4+C/aVqI2RQaWqbvI4Kxo5cQV40WQ4QFtDnNzCkqChm8MuENhElmynZlO0qUy/ObkEUaXtKqYnx1Kp3A== abort-controller@^3.0.0: version "3.0.0" @@ -12218,10 +12237,10 @@ isows@1.0.3: resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.3.tgz#93c1cf0575daf56e7120bab5c8c448b0809d0d74" integrity sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg== -isows@1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.4.tgz#810cd0d90cc4995c26395d2aa4cfa4037ebdf061" - integrity sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ== +isows@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.6.tgz#0da29d706fa51551c663c627ace42769850f86e7" + integrity sha512-lPHCayd40oW98/I0uvgaHKWCSvkzY27LjWLbtzOm64yQ+G3Q5npjjbdppU65iZXkK1Zt+kH9pfegli0AYfwYYw== isstream@~0.1.2: version "0.1.2" @@ -14516,6 +14535,19 @@ outvariant@^1.4.0: resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.0.tgz#e742e4bda77692da3eca698ef5bfac62d9fba06e" integrity sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw== +ox@0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/ox/-/ox-0.1.2.tgz#0f791be2ccabeaf4928e6d423498fe1c8094e560" + integrity sha512-ak/8K0Rtphg9vnRJlbOdaX9R7cmxD2MiSthjWGaQdMk3D7hrAlDoM+6Lxn7hN52Za3vrXfZ7enfke/5WjolDww== + dependencies: + "@adraffy/ens-normalize" "^1.10.1" + "@noble/curves" "^1.6.0" + "@noble/hashes" "^1.5.0" + "@scure/bip32" "^1.5.0" + "@scure/bip39" "^1.4.0" + abitype "^1.0.6" + eventemitter3 "5.0.1" + p-cancelable@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050" @@ -17953,20 +17985,20 @@ viem@1.21.4, viem@^1.0.0, viem@^1.1.4: isows "1.0.3" ws "8.13.0" -viem@2.21.0: - version "2.21.0" - resolved "https://registry.yarnpkg.com/viem/-/viem-2.21.0.tgz#715ad561853fba50d6ed48ebcaee007b5f9bf7ff" - integrity sha512-9g3Gw2nOU6t4bNuoDI5vwVExzIxseU0J7Jjx10gA2RNQVrytIrLxggW++tWEe3w4mnnm/pS1WgZFjQ/QKf/nHw== - dependencies: - "@adraffy/ens-normalize" "1.10.0" - "@noble/curves" "1.4.0" - "@noble/hashes" "1.4.0" - "@scure/bip32" "1.4.0" - "@scure/bip39" "1.3.0" - abitype "1.0.5" - isows "1.0.4" - webauthn-p256 "0.0.5" - ws "8.17.1" +viem@2.21.45: + version "2.21.45" + resolved "https://registry.yarnpkg.com/viem/-/viem-2.21.45.tgz#7a445428d4909cc334f231ee916ede1b69190603" + integrity sha512-I+On/IiaObQdhDKWU5Rurh6nf3G7reVkAODG5ECIfjsrGQ3EPJnxirUPT4FNV6bWER5iphoG62/TidwuTSOA1A== + dependencies: + "@noble/curves" "1.6.0" + "@noble/hashes" "1.5.0" + "@scure/bip32" "1.5.0" + "@scure/bip39" "1.4.0" + abitype "1.0.6" + isows "1.0.6" + ox "0.1.2" + webauthn-p256 "0.0.10" + ws "8.18.0" vite-node@0.34.6: version "0.34.6" @@ -18122,10 +18154,10 @@ web-streams-polyfill@^3.2.1: resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b" integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== -webauthn-p256@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/webauthn-p256/-/webauthn-p256-0.0.5.tgz#0baebd2ba8a414b21cc09c0d40f9dd0be96a06bd" - integrity sha512-drMGNWKdaixZNobeORVIqq7k5DsRC9FnG201K2QjeOoQLmtSDaSsVZdkg6n5jUALJKcAG++zBPJXmv6hy0nWFg== +webauthn-p256@0.0.10: + version "0.0.10" + resolved "https://registry.yarnpkg.com/webauthn-p256/-/webauthn-p256-0.0.10.tgz#877e75abe8348d3e14485932968edf3325fd2fdd" + integrity sha512-EeYD+gmIT80YkSIDb2iWq0lq2zbHo1CxHlQTeJ+KkCILWpVy3zASH3ByD4bopzfk0uCwXxLqKGLqp2W4O28VFA== dependencies: "@noble/curves" "^1.4.0" "@noble/hashes" "^1.4.0" @@ -18508,7 +18540,7 @@ write-file-atomic@^5.0.0: imurmurhash "^0.1.4" signal-exit "^4.0.1" -ws@7.4.6, ws@8.13.0, ws@8.17.1, ws@^7.2.0, ws@^7.3.1, ws@^7.4.5, ws@^7.5.1, ws@^8.12.0, ws@^8.18.0, ws@^8.5.0, ws@~8.11.0, ws@~8.2.3: +ws@7.4.6, ws@8.13.0, ws@8.17.1, ws@8.18.0, ws@^7.2.0, ws@^7.3.1, ws@^7.4.5, ws@^7.5.1, ws@^8.12.0, ws@^8.18.0, ws@^8.5.0, ws@~8.11.0, ws@~8.2.3: version "8.17.1" resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== From 52efb0b15d628ebc4a31602a4268f356ad4ea00d Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:14:28 -0600 Subject: [PATCH 10/24] skip test --- e2e/parallel/vitest.config.ts | 1 - e2e/serial/swap/2_swapFlow2.test.ts | 554 ++-------------------------- 2 files changed, 34 insertions(+), 521 deletions(-) diff --git a/e2e/parallel/vitest.config.ts b/e2e/parallel/vitest.config.ts index f08bf9cbd9..df9502490a 100644 --- a/e2e/parallel/vitest.config.ts +++ b/e2e/parallel/vitest.config.ts @@ -8,7 +8,6 @@ export default mergeConfig( defineConfig({ test: { bail: 1, - threads: false, }, }) as UserConfig, ); diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index 06a9c3baeb..530c7127b2 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -1,9 +1,9 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -/* eslint-disable no-await-in-loop */ import 'chromedriver'; import 'geckodriver'; +import { Contract } from '@ethersproject/contracts'; +import { StaticJsonRpcProvider } from '@ethersproject/providers'; import { Key, WebDriver } from 'selenium-webdriver'; -import { Address, createPublicClient, erc20Abi, http } from 'viem'; +import { erc20Abi } from 'viem'; import { afterAll, afterEach, @@ -14,20 +14,15 @@ import { it, } from 'vitest'; -import { ChainId } from '~/core/types/chains'; - import { clearInput, delay, delayTime, - doNotFindElementByTestId, fillPrivateKey, - findElementByTestId, findElementByTestIdAndClick, findElementByText, getExtensionIdByName, getRootUrl, - getTextFromText, goToPopup, goToWelcome, initDriverWithOptions, @@ -157,18 +152,22 @@ describe('Swap Flow 2', () => { await delayTime('very-long'); }); - it('should be able to execute unlock and swap', async () => { - const publicClient = createPublicClient({ - transport: http('http://127.0.0.1:8545'), - }); - - // First balance check - const usdcBalanceBeforeSwap = await publicClient.readContract({ - address: SWAP_VARIABLES.USDC_MAINNET_ADDRESS as Address, - abi: erc20Abi, - functionName: 'balanceOf', - args: [WALLET_TO_USE_ADDRESS as Address], - }); + // TODO: fix. with mocking set up, currently this swap fails. You can see in the anvil logs that it is reverted. + // My best guess is its on the provider level bc its throwing a custom error. Ideally we can un-skip this + // bc its our only token > ETH swap we have on e2e. To see behavior just un-skip and run tests. + it.skip('should be able to execute unlock and swap', async () => { + const provider = new StaticJsonRpcProvider('http://127.0.0.1:8545'); + await provider.ready; + await delayTime('short'); + const tokenContract = new Contract( + SWAP_VARIABLES.USDC_MAINNET_ADDRESS, + erc20Abi, + provider, + ); + await delayTime('long'); + const usdcBalanceBeforeSwap = await tokenContract.balanceOf( + WALLET_TO_USE_ADDRESS, + ); await findElementByTestIdAndClick({ id: 'swap-settings-navbar-button', @@ -202,509 +201,24 @@ describe('Swap Flow 2', () => { }); await delay(5_000); - try { - const unwatch = publicClient.watchBlocks({ - onBlock: async (block: any) => { - const blockWithTransactions = await publicClient.getBlock({ - includeTransactions: true, - }); - - console.log('Block:', { - timestamp: new Date().toISOString(), - number: block.number, - hash: block.hash, - transactions: blockWithTransactions.transactions.length, - }); - - for (const tx of blockWithTransactions.transactions) { - try { - console.log('Transaction found:', { - hash: tx.hash, - from: tx.from, - to: tx.to, - input: tx.input, - }); - - const receipt = await publicClient.getTransactionReceipt({ - hash: tx.hash, - }); - - if (receipt.status === 'reverted') { - try { - // Try to get the revert reason - const result = await publicClient.call({ - to: tx.to, - data: tx.input, - account: tx.from, - }); - console.log('Revert reason:', result); - } catch (revertError: any) { - console.log('Revert error details:', { - error: revertError, - data: revertError.data, - message: revertError.message, - details: revertError.details, - }); - } - } - - console.log('Transaction receipt:', { - status: receipt.status, - gasUsed: receipt.gasUsed, - effectiveGasPrice: receipt.effectiveGasPrice, - logs: receipt.logs, - }); - } catch (err) { - console.error('Error processing transaction:', err); - } - } - }, - }); - - // Execute the swap - await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); - console.log('Waiting for transaction...'); - await delay(20_000); - - // Check final balance - const usdcBalanceAfterSwap = await publicClient.readContract({ - address: SWAP_VARIABLES.USDC_MAINNET_ADDRESS as Address, - abi: erc20Abi, - functionName: 'balanceOf', - args: [WALLET_TO_USE_ADDRESS as Address], - }); - - const balanceDifference = subtract( - usdcBalanceBeforeSwap.toString(), - usdcBalanceAfterSwap.toString(), - ); - - const usdcBalanceDifference = convertRawAmountToDecimalFormat( - balanceDifference.toString(), - 6, - ); - - expect(Number(usdcBalanceDifference)).toBe(50); - unwatch(); - } catch (error: any) { - console.error('Swap failed with error:', error); - if (error.data) { - console.log('Error data:', error.data); - } - } - }); - - it.skip('should be able to go to swap flow', async () => { - await findElementByTestIdAndClick({ id: 'header-link-swap', driver }); - await delayTime('long'); - }); - - it.skip('should be able to go to review a crosschain swap', async () => { - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-row`, - driver, - }); - await delayTime('medium'); - const toSellInputDaiSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, - driver, - }); - expect(toSellInputDaiSelected).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'token-to-buy-search-token-input', - driver, - }); - await findElementByTestIdAndClick({ - id: 'token-to-buy-networks-trigger', - driver, - }); - await findElementByTestIdAndClick({ - id: `switch-network-item-${ChainId.arbitrum}`, - driver, - }); - const daiBridge = await findElementByTestId({ - id: `${SWAP_VARIABLES.DAI_ARBITRUM_ID}-bridge-token-to-buy-row`, - driver, - }); - expect(daiBridge).toBeTruthy(); - - await typeOnTextInput({ - id: 'token-to-buy-search-token-input', - driver, - text: 'USDC', - }); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.USDC_ARBITRUM_ID}-favorites-token-to-buy-row`, - driver, - }); - const toBuyInputUsdcSelected = await findElementByTestId({ - id: `token-to-buy-swap-token-input-swap-input-mask`, - driver, - }); - expect(toBuyInputUsdcSelected).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'token-to-sell-info-max-button', - driver, - }); - await waitUntilElementByTestIdIsPresent({ - id: 'swap-confirmation-button-ready', - driver, - }); - - await findElementByTestIdAndClick({ - id: 'swap-confirmation-button-ready', - driver, - }); - - await delayTime('long'); - const longWaitExplainerFound = await doNotFindElementByTestId({ - id: 'explainer-sheet-swap-long-wait', - driver, - }); - - if (longWaitExplainerFound) { - await findElementByTestIdAndClick({ - id: 'explainer-action-button', - driver, - }); - } - }); - - it.skip('should be able to see crosschain swap information in review sheet', async () => { - await delayTime('long'); - const daiAssetToSellAssetCard = await findElementByTestId({ - id: `DAI-asset-to-sell-swap-asset-card`, - driver, - }); - expect(daiAssetToSellAssetCard).toBeTruthy(); - const usdcAssetToBuyAssetCard = await findElementByTestId({ - id: `USDC-asset-to-buy-swap-asset-card`, - driver, - }); - expect(usdcAssetToBuyAssetCard).toBeTruthy(); - const minimumReceivedDetailsRow = await findElementByTestId({ - id: `minimum-received-details-row`, - driver, - }); - expect(minimumReceivedDetailsRow).toBeTruthy(); - const swappingViaDetailsRow = await findElementByTestId({ - id: `swapping-via-details-row`, - driver, - }); - expect(swappingViaDetailsRow).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'swapping-via-swap-routes', - driver, - }); - await findElementByTestIdAndClick({ - id: 'swapping-via-swap-routes', - driver, - }); - await findElementByTestIdAndClick({ - id: 'swapping-via-swap-routes', - driver, - }); - - const includedFeeDetailsRow = await findElementByTestId({ - id: `included-fee-details-row`, - driver, - }); - expect(includedFeeDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'included-fee-carrousel-button', - driver, - }); - await findElementByTestIdAndClick({ - id: 'included-fee-carrousel-button', - driver, - }); - - await findElementByTestIdAndClick({ - id: 'swap-review-rnbw-fee-info-button', - driver, - }); - await findElementByTestIdAndClick({ - id: 'explainer-action-button', - driver, - }); - - const moreDetailsHiddendDetailsRow = await findElementByTestId({ - id: `more-details-hidden-details-row`, - driver, - }); - expect(moreDetailsHiddendDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'swap-review-more-details-button', - driver, - }); - - const moreDetailsdSection = await findElementByTestId({ - id: `more-details-section`, - driver, - }); - expect(moreDetailsdSection).toBeTruthy(); - - const exchangeRateDetailsRow = await findElementByTestId({ - id: `exchange-rate-details-row`, - driver, - }); - expect(exchangeRateDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'exchange-rate-carrousel-button', - driver, - }); - await findElementByTestIdAndClick({ - id: 'exchange-rate-carrousel-button', - driver, - }); - - const assetToSellContractDetailsRow = await findElementByTestId({ - id: `asset-to-sell-contract-details-row`, - driver, - }); - expect(assetToSellContractDetailsRow).toBeTruthy(); - - const assetToBuyContractDetailsRow = await findElementByTestId({ - id: `asset-to-buy-contract-details-row`, - driver, - }); - expect(assetToBuyContractDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'asset-to-sell-swap-view-contract-dropdown', - driver, - }); - const assetToSellContractDropdownView = await findElementByTestId({ - id: 'asset-to-sell-view-swap-view-contract-dropdown', - driver, - }); - expect(assetToSellContractDropdownView).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'asset-to-sell-copy-swap-view-contract-dropdown', - driver, - }); - - await findElementByTestIdAndClick({ - id: 'asset-to-buy-swap-view-contract-dropdown', - driver, - }); - const assetToBuyContractDropdownView = await findElementByTestId({ - id: 'asset-to-buy-view-swap-view-contract-dropdown', - driver, - }); - expect(assetToBuyContractDropdownView).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'asset-to-buy-copy-swap-view-contract-dropdown', - driver, - }); - - const swapReviewConfirmationText = await getTextFromText({ - id: 'swap-review-confirmation-text', - driver, - }); - expect(swapReviewConfirmationText).toBe('Swap DAI to USDC'); - - const swapReviewTitleText = await getTextFromText({ - id: 'swap-review-title-text', - driver, - }); - expect(swapReviewTitleText).toBe('Review & Swap'); - - await findElementByTestIdAndClick({ - id: 'navbar-button-with-back-swap-review', - driver, - }); - await delayTime('long'); - }); - - it.skip('should be able to go to review a bridge', async () => { - await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, - driver, - }); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-row`, - driver, - }); - await delayTime('medium'); - const toSellInputEthSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, - driver, - }); - expect(toSellInputEthSelected).toBeTruthy(); - await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, - driver, - }); - await findElementByTestIdAndClick({ - id: 'token-to-buy-networks-trigger', - driver, - }); - await findElementByTestIdAndClick({ - id: `switch-network-item-${ChainId.optimism}`, - driver, - }); - await typeOnTextInput({ - id: 'token-to-buy-search-token-input', - driver, - text: 'eth', - }); - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ETH_OPTIMISM_ID}-bridge-token-to-buy-row`, - driver, - }); - const toBuyInputEthSelected = await findElementByTestId({ - id: `token-to-buy-swap-token-input-swap-input-mask`, - driver, - }); - expect(toBuyInputEthSelected).toBeTruthy(); - await typeOnTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, - text: 1, - driver, - }); - - await waitUntilElementByTestIdIsPresent({ - id: 'swap-confirmation-button-ready', - driver, - }); - - await findElementByTestIdAndClick({ - id: 'swap-confirmation-button-ready', - driver, - }); - - const longWaitExplainerFound = await doNotFindElementByTestId({ - id: 'explainer-sheet-swap-long-wait', - driver, - }); - - if (longWaitExplainerFound) { - await findElementByTestIdAndClick({ - id: 'explainer-action-button', - driver, - }); - } - - await delayTime('long'); - }); - - it.skip('should be able to see bridge information in review sheet', async () => { - const ethAssetToSellAssetCard = await findElementByTestId({ - id: `ETH-asset-to-sell-swap-asset-card`, - driver, - }); - expect(ethAssetToSellAssetCard).toBeTruthy(); - const ethAssetToBuyAssetCard = await findElementByTestId({ - id: `ETH-asset-to-buy-swap-asset-card`, - driver, - }); - expect(ethAssetToBuyAssetCard).toBeTruthy(); - const minimumReceivedDetailsRow = await findElementByTestId({ - id: `minimum-received-details-row`, - driver, - }); - expect(minimumReceivedDetailsRow).toBeTruthy(); - const swappingViaDetailsRow = await findElementByTestId({ - id: `swapping-via-details-row`, - driver, - }); - expect(swappingViaDetailsRow).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'swapping-via-swap-routes', - driver, - }); - - const includedFeeDetailsRow = await findElementByTestId({ - id: `included-fee-details-row`, - driver, - }); - expect(includedFeeDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'included-fee-carrousel-button', - driver, - }); - - await findElementByTestIdAndClick({ - id: 'swap-review-rnbw-fee-info-button', - driver, - }); - await findElementByTestIdAndClick({ - id: 'explainer-action-button', - driver, - }); - - // const flashbotsEnabledDetailsRow = await findElementByTestId({ - // id: `flashbots-enabled-details-row`, - // driver, - // }); - // expect(flashbotsEnabledDetailsRow).toBeTruthy(); - // await findElementByTestIdAndClick({ - // id: 'swap-review-flashbots-info-button', - // driver, - // }); - // await findElementByTestIdAndClick({ id: 'explainer-action-button', driver }); - - const moreDetailsHiddendDetailsRow = await findElementByTestId({ - id: `more-details-hidden-details-row`, - driver, - }); - expect(moreDetailsHiddendDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'swap-review-more-details-button', - driver, - }); - - const moreDetailsdSection = await findElementByTestId({ - id: `more-details-section`, - driver, - }); - expect(moreDetailsdSection).toBeTruthy(); - - const exchangeRateDetailsRow = await findElementByTestId({ - id: `exchange-rate-details-row`, - driver, - }); - expect(exchangeRateDetailsRow).toBeTruthy(); - - await findElementByTestIdAndClick({ - id: 'exchange-rate-carrousel-button', - driver, - }); - - const assetToSellContractRow = await doNotFindElementByTestId({ - id: `asset-to-sell-contract-details-row`, - driver, - }); - expect(assetToSellContractRow).toBeFalsy(); + await findElementByTestIdAndClick({ id: 'swap-review-execute', driver }); - const assetToBuyContractRow = await doNotFindElementByTestId({ - id: `asset-to-buy-contract-details-row`, - driver, - }); - expect(assetToBuyContractRow).toBeFalsy(); + // waiting for balances to update / swap to execute + await delay(20_000); - const swapReviewConfirmationText = await getTextFromText({ - id: 'swap-review-confirmation-text', - driver, - }); - expect(swapReviewConfirmationText).toBe('Bridge ETH'); + const usdcBalanceAfterSwap = await tokenContract.balanceOf( + WALLET_TO_USE_ADDRESS, + ); + const balanceDifference = subtract( + usdcBalanceBeforeSwap.toString(), + usdcBalanceAfterSwap.toString(), + ); - const swapReviewTitleText = await getTextFromText({ - id: 'swap-review-title-text', - driver, - }); - expect(swapReviewTitleText).toBe('Review & Bridge'); + const usdcBalanceDifference = convertRawAmountToDecimalFormat( + balanceDifference.toString(), + 6, + ); - await findElementByTestIdAndClick({ - id: 'navbar-button-with-back-swap-review', - driver, - }); - await delayTime('very-long'); + expect(Number(usdcBalanceDifference)).toBe(50); }); }); From 37d9f68d4ccb1ab2414288721ca4497ea9ccb933 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:27:47 -0600 Subject: [PATCH 11/24] okay --- e2e/parallel/vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/parallel/vitest.config.ts b/e2e/parallel/vitest.config.ts index df9502490a..f08bf9cbd9 100644 --- a/e2e/parallel/vitest.config.ts +++ b/e2e/parallel/vitest.config.ts @@ -8,6 +8,7 @@ export default mergeConfig( defineConfig({ test: { bail: 1, + threads: false, }, }) as UserConfig, ); From 5675d1a93c4b115d6e3de83852df841484d29c37 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:30:50 -0600 Subject: [PATCH 12/24] audit fix --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c634923dd5..1a711e364f 100644 --- a/package.json +++ b/package.json @@ -285,7 +285,8 @@ "path-to-regexp": "6.3.0", "dset": "3.1.4", "zod": "3.23.8", - "rollup": "4.22.4" + "rollup": "4.22.4", + "cross-spawn": "7.0.5" }, "lavamoat": { "allowScripts": { From 74e80841e17128e6ebec6b68dc7cab173f285b5d Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:34:08 -0600 Subject: [PATCH 13/24] yarn install --- yarn.lock | 45 ++++++--------------------------------------- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git a/yarn.lock b/yarn.lock index d48c91303d..7c3f23b957 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8277,21 +8277,10 @@ cross-fetch@^4.0.0: dependencies: node-fetch "^2.6.12" -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== +cross-spawn@7.0.5, cross-spawn@^6.0.5, cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.5.tgz#910aac880ff5243da96b728bc6521a5f6c2f2f82" + integrity sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" @@ -13995,11 +13984,6 @@ netmask@^2.0.2: resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7" integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -14811,11 +14795,6 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== - path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" @@ -16263,7 +16242,7 @@ semver-diff@^4.0.0: dependencies: semver "^7.3.5" -semver@7.3.8, semver@7.5.2, semver@^5.5.0, semver@^5.6.0, semver@^6.0.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4: +semver@7.3.8, semver@7.5.2, semver@^5.6.0, semver@^6.0.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4: version "7.5.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.2.tgz#5b851e66d1be07c1cdaf37dfc856f543325a2beb" integrity sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ== @@ -16365,13 +16344,6 @@ shasum-object@^1.0.0: dependencies: fast-safe-stringify "^2.0.7" -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== - dependencies: - shebang-regex "^1.0.0" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -16379,11 +16351,6 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== - shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" @@ -18397,7 +18364,7 @@ which@1.2.4: is-absolute "^0.1.7" isexe "^1.1.1" -which@^1.2.14, which@^1.2.9: +which@^1.2.14: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== From e9d33be1c7a17a11b862c34ac475a13cb1c3e0f1 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:15:03 -0600 Subject: [PATCH 14/24] fix send --- e2e/serial/send/2_shortcuts-sendFlow.test.ts | 22 ++++++++++---------- e2e/serial/swap/3_shortcuts-swapFlow.test.ts | 14 ++++++------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/e2e/serial/send/2_shortcuts-sendFlow.test.ts b/e2e/serial/send/2_shortcuts-sendFlow.test.ts index f4d3560690..06e3881812 100644 --- a/e2e/serial/send/2_shortcuts-sendFlow.test.ts +++ b/e2e/serial/send/2_shortcuts-sendFlow.test.ts @@ -14,6 +14,7 @@ import { import { checkExtensionURL, checkWalletName, + delay, delayTime, executePerformShortcut, findElementByTestId, @@ -35,7 +36,6 @@ let driver: WebDriver; const browser = process.env.BROWSER || 'chrome'; const os = process.env.OS || 'mac'; -const isFirefox = browser === 'firefox'; describe('Complete send flow via shortcuts and keyboard navigation', () => { beforeAll(async () => { @@ -200,6 +200,7 @@ describe('Complete send flow via shortcuts and keyboard navigation', () => { await navigateToElementWithTestId({ driver, testId: 'send-review-button' }); const reviewText = await findElementByText(driver, 'Review & Send'); expect(reviewText).toBeTruthy(); + await delay(10_000); await navigateToElementWithTestId({ driver, testId: 'review-confirm-button', @@ -209,15 +210,14 @@ describe('Complete send flow via shortcuts and keyboard navigation', () => { }); it('should be able to select asset to send from home using keyboard ', async () => { - if (!isFirefox) { - await executePerformShortcut({ driver, key: 'ESCAPE' }); - await executePerformShortcut({ driver, key: 'ARROW_LEFT' }); - await executePerformShortcut({ driver, key: 'TAB', timesToPress: 8 }); - await executePerformShortcut({ driver, key: 'SPACE' }); - await delayTime('long'); - await executePerformShortcut({ driver, key: 'ARROW_DOWN' }); - await executePerformShortcut({ driver, key: 'ENTER' }); - await checkExtensionURL(driver, 'send'); - } + await delay(5_000); + await executePerformShortcut({ driver, key: 'ESCAPE' }); + await executePerformShortcut({ driver, key: 'ARROW_LEFT' }); + await executePerformShortcut({ driver, key: 'TAB', timesToPress: 8 }); + await executePerformShortcut({ driver, key: 'SPACE' }); + await delayTime('long'); + await executePerformShortcut({ driver, key: 'ARROW_DOWN' }); + await executePerformShortcut({ driver, key: 'ENTER' }); + await checkExtensionURL(driver, 'send'); }); }); diff --git a/e2e/serial/swap/3_shortcuts-swapFlow.test.ts b/e2e/serial/swap/3_shortcuts-swapFlow.test.ts index 63562874b7..60939ff200 100644 --- a/e2e/serial/swap/3_shortcuts-swapFlow.test.ts +++ b/e2e/serial/swap/3_shortcuts-swapFlow.test.ts @@ -128,7 +128,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const inputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-${ethId}-token-to-sell-token-input`, + id: `input-wrapper-dropdown-token-to-sell-token-input`, driver, }); expect(inputCurrency).toBeTruthy(); @@ -147,7 +147,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const outputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-${usdcId}-token-to-buy-token-input`, + id: `input-wrapper-dropdown-token-to-buy-token-input`, driver, }); expect(outputCurrency).toBeTruthy(); @@ -156,7 +156,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { it('should be able to set max amount with shortcut', async () => { await executePerformShortcut({ driver, key: 'm' }); const inputItem = await findElementByTestId({ - id: `${ethId}-token-to-sell-swap-token-input-swap-input-mask`, + id: `token-to-sell-swap-token-input-swap-input-mask`, driver, }); const inputAmount = await inputItem.getAttribute('value'); @@ -169,10 +169,10 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { driver, }); expect(switchNetworkLabel).toBe(false); - // open swap field by removing dai output + // open swap field by removing usdc output await navigateToElementWithTestId({ driver, - testId: `${usdcId}-token-to-buy-token-input-remove`, + testId: `token-to-buy-token-input-remove`, }); // input is focussed, so have to tab out to use shortcut 'n' await executePerformShortcut({ driver, key: 'TAB' }); @@ -208,7 +208,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { await executePerformShortcut({ driver, key: 'x' }); await checkExtensionURL(driver, 'swap'); const inputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-${ethId}-token-to-sell-token-input`, + id: `input-wrapper-dropdown-token-to-sell-token-input`, driver, }); expect(inputCurrency).toBeTruthy(); @@ -246,7 +246,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const outputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-${usdcId}-token-to-buy-token-input`, + id: `input-wrapper-dropdown-token-to-buy-token-input`, driver, }); expect(outputCurrency).toBeTruthy(); From 1c3e162ed72a3b2dc556d3514f2658430582e554 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:31:19 -0600 Subject: [PATCH 15/24] reenable retries --- scripts/e2e-serial-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e-serial-tests.sh b/scripts/e2e-serial-tests.sh index 0c98d53090..2dc6deba83 100755 --- a/scripts/e2e-serial-tests.sh +++ b/scripts/e2e-serial-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash ANVIL_PORT=8545 -MAX_RETRIES=1 +MAX_RETRIES=3 RETRY_COUNT=0 # Function to launch and verify Anvil From 37d7bfc2eabd0fb492566f23c2b2454488123d35 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:04:33 -0600 Subject: [PATCH 16/24] add all mocks, fix unit tests by making them use hardhat now --- e2e/fetchResponses.ts | 0 e2e/mocks/mock_swap_quotes_urls.json | 184 +++++++++++++++--- ...16a1473a0e7b4d661ef5f420cf46fd919813b.json | 1 + ...5bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 1 + ...c739e2a1a737497781513fe28049fc588da14.json | 1 + ...303370f9b4a58c389da6e30cfb5b32b70770b.json | 1 + ...6066699fd1060c241779e3add6232f89e343a.json | 1 + ...1b89fb0dd5458096b3fc57611ec2af361f294.json | 1 + ...60eb387a0d298281df46b7a7d93825a288609.json | 1 + ...fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json | 1 + ...454e78e38b11035c362d16cf1f99517c17e5c.json | 1 + ...136d7a9877e65f829336d06bb78ac9519db5c.json | 1 + ...11edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 1 + ...c420bbb17e5181d59b05fb2faa4e2240b66d9.json | 1 + ...f54b3895736fea6a134746cb02fdf7c77eef9.json | 1 + ...292c6de1c79101ac53e75dd7ea6dd6a91aec0.json | 1 + ...4c502216ee64f288f2030a7752a2856fe6c5e.json | 1 + ...890b77a472475b02eeeefcd097424eb252571.json | 1 + ...170f5302ea1441ff1de0d5a4d1b4e21fba289.json | 1 + ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 146 +------------- ...8ed35d327ab264e51f08388ab3cdd48277dab.json | 1 + ...65df60cac4a76c55ba8396447e7bb39df9564.json | 1 + ...82a4a05f57a74a3d9c103bc50e71ace079371.json | 1 + ...0e44269c6608952e0e07af0729a344914ab0c.json | 1 + ...a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 1 + ...ff452497dae4a18eb4ff2202f85e62d381733.json | 2 +- ...0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 1 + ...1a826a5df474624d13a377d10396721866275.json | 1 + ...f10c31bb0eb22f34db1a99b813f69e3d1393d.json | 1 + ...f6ee94e11151f1b6fd091a8d7fec4253917fa.json | 1 + ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 2 +- ...2d9450db0f0266936fbafb0d9855a9390d3b2.json | 1 + ...ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 1 + ...2bb3cfa7f3e8f0431fefad03935708fc32334.json | 1 + ...1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json | 1 + ...f19663913d77ee4cf072b374997b23cf7b3d2.json | 1 + ...4fb2522ae9fc86ba795f24d2ad83dfe167880.json | 1 + ...17601fb8a2e3ac6ee669a4648b026a9c298b8.json | 1 + ...2687af80b253dc1cf535b42b3e03db04acc54.json | 1 + ...6d11143dac6fcff8195ca815c0c65ab208cd3.json | 1 + ...7cebee5db4803e040b797300038eae7cdcf91.json | 1 + ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 2 +- ...2ec462b53950e07e59a46092990d81453c1b1.json | 1 + ...45da2605f262260b318098555a15ff38648d1.json | 1 + ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 2 +- ...fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 1 + ...6cc07c56055917e72180d8fc5edf84aa32294.json | 2 +- ...0fbff89b16ee4b2ed87e39639b8d39feab58a.json | 1 + ...6d9d6f013480a2e3659f9f6a497fa5c7c0999.json | 1 + ...6d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 1 + ...51b698080dedc9238880bc9079f7eacfd2e5c.json | 1 + ...e73d946f4b44e20ad5c5893ae6d6c7d174f67.json | 1 + ...d1ab0946ee5aa2177f20baab2c5509df04be9.json | 1 + ...fd6c870d4d65d34a79ad469fb83607f780b71.json | 1 + ...4f4f3f856d24e9e656f67861ed978d72c0661.json | 1 + ...41fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json | 1 + ...3f12440be839615a3cebaf7f65bcc5f707d29.json | 1 + ...ac467b41b9c8c9bd4782a58703c159c712eeb.json | 1 + ...9d59c8b15516f425a55b7b6674bb71e2d4231.json | 1 + ...0c5031c6068aa2af5e85777111a5b7d9568b3.json | 1 + ...6c7b633177f5cff199b77734c7b1785dc8c25.json | 1 + ...747576e9152fd30d63458c24de6e7df94ecf7.json | 1 + ...851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 1 + ...59c94a8a59532aae82764d52eabb1a0edbf42.json | 1 + ...bdfbd25e52da7a2eb55dc84946298982031ce.json | 1 + ...158b0bc28414091daf5d1838380ff6ce92915.json | 1 + ...b033b9ab72e5fb1261acf521dec9186f86112.json | 1 + ...526cff63831caea15e172a7024c47079a0640.json | 1 + ...a5c3cff6938c2f2e087cca3cd82ed724a7066.json | 1 + ...d46e88adbadd0975870d6413ebe1ca67a7aef.json | 1 + ...fb44ea353f9e92282e510be73c721fe35ee75.json | 1 + ...d285f72e961a5358744c85e27758406575040.json | 1 + ...863cbade141e0e4607dac17daddc9b5e46dc7.json | 1 + ...4b499e94ae4e4b79b142da31252eb4379555a.json | 1 + ...5b40962f6406b1e055e952997ef6c463bd35d.json | 1 + ...a13d5854d705b7125731e11b5a35998446c17.json | 1 + ...7374daca3ad0c13b0a66b932cc16a0febba62.json | 1 + ...566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 1 + ...74ff47d1f6bad7152d538f06ac3b7ca01a06a.json | 1 + ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 2 +- ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 2 +- ...ef748ededc9c44a2bcccea0b822abe9764fda.json | 1 + ...d60817009bcd206e13e51c24de2dac7fb0a1c.json | 1 + ...245b42357ae32ccba6cd2f750e9fb1874a08b.json | 1 + ...93b268fb523c4d8a19f699edc529c24333380.json | 1 + ...882a0858a67a8e2a0189d33f8510deb60e6d1.json | 1 + ...7bc30e0ee667a698a8d5e7c523753643ea650.json | 1 + ...868ba7081ad54df5eee0afd89713250393d4b.json | 1 + ...b939bae8e743cc757caaed9068f14e9c21afc.json | 1 + ...f43b26d7047709196ae4d3a2e848c2c676a64.json | 1 + ...37de44c317cefde008bf74d8b99494c1c98a7.json | 1 + ...916fdadeba9296ddbb958495e514a151fa456.json | 1 + ...80ab045a671f00b94b780c18cf473bc9a37ed.json | 1 + ...3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json | 1 + ...d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json | 1 + ...21081f306331c381324980c6430ab7a4d1226.json | 1 + ...f4daade3414f42f1ecc86c7b57721fda4788e.json | 1 + ...b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 1 + ...dbbb088e24f25f725b09cb8c602c0c576f7f2.json | 1 + ...0832a595eee05335e634b8b4777d2e688fcde.json | 2 +- ...0df74fa8f78414287f43a9432f5b5030cf972.json | 1 + ...bb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 1 + ...e862798dea46cd676fa9874f2ebfb8080841b.json | 1 + ...48003d87b2258ba07063b691b31b205b7656c.json | 2 +- ...3bad99e23333214c4e2737a2fa61b2f391a74.json | 1 + ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 2 +- ...e9cc7a166bc8da74725e664bdd68ee474ab52.json | 1 + ...7c2be8fdafc47831ef66334d6dfcd734cc5c7.json | 1 + ...a5c68d9aab6a8f76d0962310e3c6638f5d707.json | 1 + ...d524f3b2624e3b427bd49c633034df4bbacaf.json | 1 + ...bb7b133455f21d092c97d992991cba4adff95.json | 1 + ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 2 +- ...5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 1 + ...e2ca9f4179fab9384be8075d96abaa43a3643.json | 1 + ...8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json | 1 + ...8f86ab2ac9e040e83db7df9a84d7ea2165085.json | 1 + ...cc85f88eea10a38441d0a1bd578be099031e9.json | 1 + ...7f7c56b76490a1548ae5abc284124f34f8774.json | 1 + ...02386980a8460ac11d3a0b87b2679bce1909e.json | 2 +- ...d47863ad987eeb9757ef24c012c787031ad9d.json | 1 + ...d4591952172789fd85ca157965430162016ba.json | 1 + ...a6b0cbfbcbdff8a3908e65c6da1963cb05376.json | 1 + ...36970b02eec54537026b8f86a905b120ce68f.json | 1 + ...3f9bd4898cda3d816c4ed85376528cba0e94b.json | 1 + ...2d71cc3bf1fbb781355f79de2baad2a5569f2.json | 1 + ...d868c1028049cf34f99c10b27c26a7a935150.json | 1 + ...dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json | 1 + ...ca3b6a336fc922dcd9c1dd20be6c35070425b.json | 1 + ...0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 1 + ...31ee4ae2195bb1f905790021d400d33941064.json | 1 + ...8eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json | 1 + ...e3131b1b8338eaba32ce8eb90a6592914c24d.json | 1 + ...063d811f17eadf2e86ab426641124c7ffd68b.json | 1 + ...dc550701b2853b07b0805c16268525d3f9039.json | 1 + ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 2 +- ...db04cabb080833a28048d926d27d6ef2b961d.json | 1 + ...319fc99104106969c4a069cfc8546729e0510.json | 1 + ...8a0a06d8f34b40cec0f0b2f610bc262506a5a.json | 1 + ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 2 +- ...0b4de4011ad2e84315c35d510da23a595b165.json | 1 + ...0c70b6f7c9a3361aec2ce8c2f8140d3418200.json | 1 + ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 2 +- ...fc75c48fb81edcd86533d27144ca2ae193e81.json | 1 + ...b02921f8d08704f5122d11f75281fd9e5a700.json | 1 + ...58575f34c5e01bbb0ab4ab261958595e30508.json | 1 + ...b84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 1 + ...be461ab9e953ee04c26230ee0c5e0a2fafeee.json | 1 + ...a02538580f6c1d50d5102e0f2fa3c90a43abb.json | 1 + ...2fe814cec266c6331e8d32d57d7279f8fc665.json | 1 + package.json | 2 +- scripts/unit-tests.sh | 3 +- src/core/raps/actions/crosschainSwap.test.ts | 9 +- src/core/raps/actions/swap.test.ts | 10 +- src/core/raps/actions/unlock.test.ts | 30 +-- src/core/raps/unlockAndCrosschainSwap.test.ts | 4 +- src/core/raps/unlockAndSwap.test.ts | 15 +- 156 files changed, 341 insertions(+), 223 deletions(-) mode change 100644 => 100755 e2e/fetchResponses.ts create mode 100644 e2e/mocks/swap_quotes/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json create mode 100644 e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json create mode 100644 e2e/mocks/swap_quotes/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json create mode 100644 e2e/mocks/swap_quotes/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json create mode 100644 e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json create mode 100644 e2e/mocks/swap_quotes/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json create mode 100644 e2e/mocks/swap_quotes/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json create mode 100644 e2e/mocks/swap_quotes/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json create mode 100644 e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json create mode 100644 e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json create mode 100644 e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json create mode 100644 e2e/mocks/swap_quotes/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json create mode 100644 e2e/mocks/swap_quotes/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json create mode 100644 e2e/mocks/swap_quotes/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json create mode 100644 e2e/mocks/swap_quotes/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json create mode 100644 e2e/mocks/swap_quotes/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json create mode 100644 e2e/mocks/swap_quotes/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json create mode 100644 e2e/mocks/swap_quotes/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json create mode 100644 e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json create mode 100644 e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json create mode 100644 e2e/mocks/swap_quotes/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json create mode 100644 e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json create mode 100644 e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json create mode 100644 e2e/mocks/swap_quotes/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json create mode 100644 e2e/mocks/swap_quotes/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json create mode 100644 e2e/mocks/swap_quotes/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json create mode 100644 e2e/mocks/swap_quotes/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json create mode 100644 e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json create mode 100644 e2e/mocks/swap_quotes/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json create mode 100644 e2e/mocks/swap_quotes/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json create mode 100644 e2e/mocks/swap_quotes/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json create mode 100644 e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json create mode 100644 e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json create mode 100644 e2e/mocks/swap_quotes/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json create mode 100644 e2e/mocks/swap_quotes/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json create mode 100644 e2e/mocks/swap_quotes/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json create mode 100644 e2e/mocks/swap_quotes/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json create mode 100644 e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json create mode 100644 e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json create mode 100644 e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json create mode 100644 e2e/mocks/swap_quotes/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json create mode 100644 e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json create mode 100644 e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json create mode 100644 e2e/mocks/swap_quotes/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json create mode 100644 e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json create mode 100644 e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json create mode 100644 e2e/mocks/swap_quotes/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json create mode 100644 e2e/mocks/swap_quotes/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json create mode 100644 e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json create mode 100644 e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json create mode 100644 e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json create mode 100644 e2e/mocks/swap_quotes/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json create mode 100644 e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json create mode 100644 e2e/mocks/swap_quotes/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json create mode 100644 e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json create mode 100644 e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json create mode 100644 e2e/mocks/swap_quotes/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json create mode 100644 e2e/mocks/swap_quotes/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json create mode 100644 e2e/mocks/swap_quotes/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json create mode 100644 e2e/mocks/swap_quotes/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json create mode 100644 e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json create mode 100644 e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json create mode 100644 e2e/mocks/swap_quotes/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json create mode 100644 e2e/mocks/swap_quotes/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json create mode 100644 e2e/mocks/swap_quotes/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json create mode 100644 e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json create mode 100644 e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json create mode 100644 e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json create mode 100644 e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json create mode 100644 e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json create mode 100644 e2e/mocks/swap_quotes/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json create mode 100644 e2e/mocks/swap_quotes/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json create mode 100644 e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json create mode 100644 e2e/mocks/swap_quotes/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json create mode 100644 e2e/mocks/swap_quotes/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json create mode 100644 e2e/mocks/swap_quotes/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json create mode 100644 e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json create mode 100644 e2e/mocks/swap_quotes/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json create mode 100644 e2e/mocks/swap_quotes/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json create mode 100644 e2e/mocks/swap_quotes/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json create mode 100644 e2e/mocks/swap_quotes/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json create mode 100644 e2e/mocks/swap_quotes/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json create mode 100644 e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json create mode 100644 e2e/mocks/swap_quotes/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json create mode 100644 e2e/mocks/swap_quotes/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json create mode 100644 e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json create mode 100644 e2e/mocks/swap_quotes/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json create mode 100644 e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json create mode 100644 e2e/mocks/swap_quotes/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json create mode 100644 e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json create mode 100644 e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json create mode 100644 e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json create mode 100644 e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json create mode 100644 e2e/mocks/swap_quotes/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json create mode 100644 e2e/mocks/swap_quotes/0xa9a91d15e35d61fe34944c2f6547c2be8fdafc47831ef66334d6dfcd734cc5c7.json create mode 100644 e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json create mode 100644 e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json create mode 100644 e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json create mode 100644 e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json create mode 100644 e2e/mocks/swap_quotes/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json create mode 100644 e2e/mocks/swap_quotes/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json create mode 100644 e2e/mocks/swap_quotes/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json create mode 100644 e2e/mocks/swap_quotes/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json create mode 100644 e2e/mocks/swap_quotes/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json create mode 100644 e2e/mocks/swap_quotes/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json create mode 100644 e2e/mocks/swap_quotes/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json create mode 100644 e2e/mocks/swap_quotes/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json create mode 100644 e2e/mocks/swap_quotes/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json create mode 100644 e2e/mocks/swap_quotes/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json create mode 100644 e2e/mocks/swap_quotes/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json create mode 100644 e2e/mocks/swap_quotes/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json create mode 100644 e2e/mocks/swap_quotes/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json create mode 100644 e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json create mode 100644 e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json create mode 100644 e2e/mocks/swap_quotes/0xdac1e5c57448525e3d7f7ed0b6a31ee4ae2195bb1f905790021d400d33941064.json create mode 100644 e2e/mocks/swap_quotes/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json create mode 100644 e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json create mode 100644 e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json create mode 100644 e2e/mocks/swap_quotes/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json create mode 100644 e2e/mocks/swap_quotes/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json create mode 100644 e2e/mocks/swap_quotes/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json create mode 100644 e2e/mocks/swap_quotes/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json create mode 100644 e2e/mocks/swap_quotes/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json create mode 100644 e2e/mocks/swap_quotes/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json create mode 100644 e2e/mocks/swap_quotes/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json create mode 100644 e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json create mode 100644 e2e/mocks/swap_quotes/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json create mode 100644 e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json create mode 100644 e2e/mocks/swap_quotes/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json create mode 100644 e2e/mocks/swap_quotes/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json create mode 100644 e2e/mocks/swap_quotes/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts old mode 100644 new mode 100755 diff --git a/e2e/mocks/mock_swap_quotes_urls.json b/e2e/mocks/mock_swap_quotes_urls.json index 9cccab0acc..f880e0db4a 100644 --- a/e2e/mocks/mock_swap_quotes_urls.json +++ b/e2e/mocks/mock_swap_quotes_urls.json @@ -1,37 +1,169 @@ [ - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xff970a61a04b1ca14834a43f5de4533ebddb5cc8&chainId=1¤cy=USD&fromAddress=0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc&refuel=false&sellAmount=1000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&toChainId=42161", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999007995062950057592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2510657864", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=undefined&toChainId=42161&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x0000000000000000000000000000000000001010&chainId=1&sellToken=eth&toChainId=137&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000000000000000", "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&buyAmount=1", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996982823151043603690", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01533215", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.984138834155356203", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989300120165687090", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9998994908517291596490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996475296478968045", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.996475296478968045", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03805202", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699952", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998358877292100000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2490.984407", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2490984407", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2490984407", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03691288", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03793298", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99263622658738006", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03694857", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2508601845", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.992850717515502892", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998293713846870000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99829371384687", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=eth&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&slippage=5&sellAmount=100000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=eth&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&buyAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999007995062950057592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999013234332130657592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9960", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&sellAmount=0.00000015033", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=42161&sellToken=0x0000000000000000000000000000000000000000&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=5", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0x4200000000000000000000000000000000000042&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=10", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1&sellToken=eth&toChainId=56&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=137", "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&slippage=1&buyAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10", "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000000000000000", "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=1000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997988003876508667090", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01535875", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9997989297384621033178", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.989297384621033178", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=100000000611927694623603", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998358877292100000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03699737", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0380476", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2500885809", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03693362", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0x70997970c51812dc3a010c7d01b50e0d17dc79c8&sellToken=0xc18360217d8f7ab5e7c516566761ea12ce7f9d72&slippage=5&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=50000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=50", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&buyAmount=5", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9960", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=50", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=99&sellAmount=50000000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2510657864", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=99&sellAmount=1000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=undefined&toChainId=10&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=1000000000000000000&sellToken=0x4200000000000000000000000000000000000042&slippage=2&toChainId=42161", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", "https://swap.p.rainbow.me/v1/slippage?buyToken=0x4200000000000000000000000000000000000042&chainId=1&sellToken=eth&toChainId=10&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0x4200000000000000000000000000000000000042&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=10", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0x0000000000000000000000000000000000001010&chainId=1&sellToken=eth&toChainId=137&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=137", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=eth&toChainId=42161&sellAmount=10000", "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=42161", - "https://swap.p.rainbow.me/v1/slippage?buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1&sellToken=eth&toChainId=56&sellAmount=10000", - "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=56", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=99&sellAmount=1000000000000000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&buyAmount=", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=5", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=1&sellToken=eth&toChainId=42161&sellAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=10000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.01530994", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=10", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=100", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=10000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=undefined&toChainId=1&sellAmount=0", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9996982823151043603690", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984138834155356203", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98413773592540869", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=undefined&toChainId=1&buyAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99490851729159649", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=10000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.0381087", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998996478239664711490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99647823966471149", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998325952559545000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998325952559545000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998325952559545", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.9983588772921", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998154390384020000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=2500885809", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998244640204720000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=0.03799746", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=2508601845", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998293713846870000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&buyAmount=5000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.007995062950057592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.013234332130657592", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999013234332130657592", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=0.00000000000000996", "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=5000000", - "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=50", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=1&sellAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=2&sellAmount=50000000", - "https://swap.p.rainbow.me/v1/quote?buyToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&slippage=99&sellAmount=50000000" + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2510.657864", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.997006106694155433", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9999998836852429675000", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998836852429675000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.998836852429675", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=42161&sellAmount=1", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=10&sellToken=0x4200000000000000000000000000000000000042&toChainId=1&buyAmount=", + "https://swap.p.rainbow.me/v1/quote?bridgeVersion=4&buyToken=0xbf5140a22578168fd562dccf235e5d43a02ce9b1&chainId=1¤cy=USD&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&refuel=false&sellAmount=10000000000000000000000&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&toChainId=56", + "https://swap.p.rainbow.me/v1/quote?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=1000000000000000000000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=6119276.94623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9996.98282315104360369", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9996984137735925408690", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9997988003876508667090", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98800387650866709", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9997.98930012016568709", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=1&sellAmount=9998994908517291596490", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&chainId=1&sellToken=eth&toChainId=1&buyAmount=0.03708068", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&toChainId=1&sellAmount=1000000006119276.94623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=100000.000611927694623603", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9998.99179708219475168", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998154390384020000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", + "https://swap.p.rainbow.me/v1/slippage?buyToken=undefined&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99815439038402", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2500.885809", + "https://swap.p.rainbow.me/v1/quote?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1¤cy=USD&enableZoraSwaps=true&fromAddress=0xa0Ee7A142d267C1f36714E4a8F75612F20a79720&sellToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&slippage=2&sellAmount=9999998244640204720000", + "https://swap.p.rainbow.me/v1/slippage?buyToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&chainId=1&sellToken=eth&toChainId=1&sellAmount=9999.99824464020472", + "https://swap.p.rainbow.me/v1/slippage?buyToken=eth&chainId=1&sellToken=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&toChainId=1&sellAmount=2508.601845s" ] diff --git a/e2e/mocks/swap_quotes/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json b/e2e/mocks/swap_quotes/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x05b313c513342f25909168d9f4116a1473a0e7b4d661ef5f420cf46fd919813b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json new file mode 100644 index 0000000000..b4b3801401 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335703002.05425966,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":74614655.9073813,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000119eaca3960000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000015140000000000000000000000000000000000000014f60014c800147e00146400a0c9e75c4800000000000000080101000000000000000000000000000000000000000000001436000ce0000a2d00a007e5c0d2000000000000000000000000000000000000000a0900065d0006430002e600a0c9e75c48000000000000140f0e010000000000000000000000000000000000000002b80001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260a26d69263ef43e9a68964ba141263f19d71d516ae4071118002dc6c060a26d69263ef43e9a68964ba141263f19d71d51000000000000000000000000000000000000000000001154991657e59a8df94ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000061724d70dc10d8bc8fea3ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f00000000000000000000000000000000000000000002c7d006b2483535a625acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000003d389655ab32657a45dacc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000280303020200000000000000000000000000000000032f00027f0002300001600000b05100a5407eae9ba41422680e2e00537571bcc53efbfd6b175474e89094c44da98b954eedeac495271d0f00443df021240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f8930dab95100debf20617708857ebe4f679508e7b7863a8a8eee6b175474e89094c44da98b954eedeac495271d0f0044a6417ed60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f829a8b4c51001116898dda4015ed8ddefb84b6e8bc24528af2d86b175474e89094c44da98b954eedeac495271d0f004491695586000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d745838d1b0000000000000000000000000000000000000000000000000000000067460fcb02a0000000000000000000000000000000000000000000000000000000d75c0de349ee63c1e50148da0965ab2d2cbf1c17c09cfb5cbe67ad5b14066b175474e89094c44da98b954eedeac495271d0f5120bebc44782c7db0a1a60cb6fe97d0b483032ff1c76b175474e89094c44da98b954eedeac495271d0f00443df0212400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b3638ee229f0020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000002b04020100000000000000000000000000000000000000037e00032f0002e00000d0510080466c64868e1ab14a1ddf27a676c3fcbe638fe5dac17f958d2ee523a2206206994597c13d831ec70044394747c5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000534ccfe00000000000000000000000000000000000000000000000000000000000000005100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a0467a3d8d6a23deb25c18a0bea32c2bcb1691fc7d2088e48bf35eb45168a2f450c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000025d7ebdc00000000000000000000000000000000000000000000000000000090f734291700000000000000000000000000000189c200673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412325686ff7f61caae26617f994768a3c204f2fcbc5d7317fba79d41d151c1db74b399f93a48f48dba89a85804e3d46e5e94dc0386c88b9d30eb240c224ebbb901c0000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000423f470fee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000002a7ec1f5eee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a007e5c0d200000000000000000000000000000000000000000000000000028f00019f00a0c9e75c48000000000000000100310000000000000000000000000000000000000000000001710000f60000dc4160eef417e1d5cc832e619ae18d2f140de2999dd4fb0044d3a4acd3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000991d867a1c3dc40eda065000000000000000000000000000000000000000000000000000000006740c9cb0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8124041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23fd4cf9303c4bc9e13772618828712c8eac7dd2f6ae4071118002dc6c03fd4cf9303c4bc9e13772618828712c8eac7dd2f0000000000000000000000000000000000000000000010fb75fbdfc0a112d24fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2021b40000000000000000000000000000000000000000000000000000000006740c9cb0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c480014090505050202010100000000072800066f0005b600052900041b00030d0002800001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc24ab6702b3ed3877e9b1f203f90cbef13d663b0e86ae4071118002625a04ab6702b3ed3877e9b1f203f90cbef13d663b0e80000000000000000000000000000000000000000000000000000000012d21df8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a1000000000000000000000000000000000000000000000000000000002bcec6ffc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa89b1c0000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000026599223dee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000143b18ddd000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015886b798000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000328cbaa84ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000018c4283a9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000347c9464bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000011cc3c9ae6000000000000000000000000000013f280a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100031586114971118100480","buyAmount":"76440967910","buyAmountMinusFees":"76440967910","buyAmountDisplay":"76440967910","buyAmountDisplayMinimum":"75676558231","buyAmountInEth":"22233409687029768005632","tradeAmountUSD":335703002.05425966,"tradeFeeAmountUSD":2853475.517461207,"value":"100000000611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"ETHEREUM_PANCAKESWAP_V2","part":0.6666666667},{"name":"SUSHI","part":16.66666667},{"name":"UNISWAP_V2","part":10.77777778},{"name":"CURVE_V2","part":3.555555556},{"name":"CURVE_V2_TRICRYPTO_NG","part":4.666666667},{"name":"DEFISWAP","part":0.2222222222},{"name":"SYNAPSE","part":0.6666666667},{"name":"PMM15","part":0.4444444444},{"name":"ETH_BANCOR_V3","part":33},{"name":"UNISWAP_V3","part":18.88888889},{"name":"CURVE","part":9.777777778},{"name":"VERSE","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2853475.517461207,"available":true}},"fee":"850000005201385404300","feeInEth":"850268481977254503872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json b/e2e/mocks/swap_quotes/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x07feb3d58cf9bbbcc846d008e73c739e2a1a737497781513fe28049fc588da14.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json b/e2e/mocks/swap_quotes/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x08c6cc57e3fba32a3b2caea0dd4303370f9b4a58c389da6e30cfb5b32b70770b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json new file mode 100644 index 0000000000..65ccc5bfd6 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2501.5871028969655,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2483.462325254361,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000a4113ef1a038edd388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"745414024230539959","buyAmount":"746357304565681096","buyAmountMinusFees":"740013267476872807","buyAmountDisplay":"740013267476872807","buyAmountDisplayMinimum":"732613134802104080","buyAmountInEth":"740013267476872807","tradeAmountUSD":2501.5871028969655,"tradeFeeAmountUSD":21.290398148927956,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":21.290398148927956,"available":true}},"fee":"6344037088808289","feeInEth":"6344037088808289","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json b/e2e/mocks/swap_quotes/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x0ca3fd4ee64c46e4291e9e55cb81b89fb0dd5458096b3fc57611ec2af361f294.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json b/e2e/mocks/swap_quotes/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x0cd67f7bfa031898a151f90a14d60eb387a0d298281df46b7a7d93825a288609.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json b/e2e/mocks/swap_quotes/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x0e126cbde9aba2fc5cdd1d4eb63fd0ab219e51e34e05a7a321b3c5f0021e1cf2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json new file mode 100644 index 0000000000..1fb294170e --- /dev/null +++ b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.49070184,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.909528166,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001d7244256cdd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3bd4ebbb04f8eb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f5ce7cac75be7dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab46c0ce3398389ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5e48582b740ec91ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0460396ecfa4522aabd88c0753307d80631c0d077229e6d3ce6c23f19d35d50265000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ebf180000000000000000000000000000000000000000000000044cc933e7c75b45690000000000000000000000000000018a6500673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412d2223e82ae5078a4dbc536e520d899981ba12f7c99f07842657c268c426caee09d30fa39bc8ee35a821a868573cb3e8b2ad509c6bc217d4e541c563d1d463311c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549e80ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1bbcacc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a0b7e3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678252cedee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c20190ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adf80cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a94d6bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a046025c17442f9b7ee2c095618bc41f4c201884bc7b6ffe68b15b0a4287966d5f9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cde0f0000000000000000000000000000000000000000000000101ff282a52b96444a0000000000000000000000000000018a9100673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041517a5285335d6b83e65dea472733ef17ec68c660872c320b88879c7956a8eebb79cc7ef6b03ae5f13a0ee06080f683129e1c97b4580f6efb2d1573d4d83de2901c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f71916ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149a46ffee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e30808deee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7230f091b02a00000000000000000000000000000000000000000000000000000075e370356ceee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe69095bdd000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"10003156908643949544448","buyAmount":"32703643212765","buyAmountMinusFees":"32703643212765","buyAmountDisplay":"32703643212765","buyAmountDisplayMinimum":"32376606780638","buyAmountInEth":"9747647895996735365120","tradeAmountUSD":33570294.49070184,"tradeFeeAmountUSD":285347.50317096565,"value":"9999998358877292100000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50317096565,"available":true}},"fee":"84999986050456982850","feeInEth":"85026833723473571120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json new file mode 100644 index 0000000000..fc635e477d --- /dev/null +++ b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c1fd43fb20000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3254600700","buyAmountInEth":"989863555623319945","tradeAmountUSD":3355.9700000000003,"tradeFeeAmountUSD":28.525745,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":28.525745,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json new file mode 100644 index 0000000000..ee09f78794 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560175.65990364,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703089.930477887,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b411cb61375d00000000000000000000000000000000000000000000000000001d70068238a50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba63f9512701bb60c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061f1a6b979b8a0364ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939f00beb975857094c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5ccb8f0d9594a7029ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bd413cf7e2b126abd60fd3f17161d4510d0192e47649f5f3815fb457ce4e1917000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dac3811f80000000000000000000000000000000000000000000000044c7442f9ff943bd50000000000000000000000000000018aaf00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ea999070e41fe0ccc16528b8afff7cdfa085af7946ab65d623b1b98b1e17a3bd1d445b3fb4f239e973da9aab92d4ea51d0ccb948cc25f2e0bc4e9cb38c80aa3d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c1bdaaee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e24990c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f38800b837ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6051dd7d3ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81ff743cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a5358ab8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970625f150ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04b5ccf97748b0c350c3c8bb16c9e9d5175d80dc0dd11e310fc73faeffcf3742e7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e712894dc40000000000000000000000000000000000000000000000101eb3fb297e6be0610000000000000000000000000000018a5700673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ce6d347f297f735ee0997615648ff9923bbb837c4f15ed3f8247567d938ab2ad7eec874aa0b86449080bb3db79a85b56207a7e9c6519052743fb7b103c63ba101c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b6608029cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0051a17387ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7893f91ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c719048d02a00000000000000000000000000000000000000000000000000000075da754aa50ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc259acf33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"10000141735445678337024","buyAmount":"32693921959731","buyAmountMinusFees":"32693921959731","buyAmountDisplay":"32693921959731","buyAmountDisplayMinimum":"32366982740134","buyAmountInEth":"9744750379317421326336","tradeAmountUSD":33560175.65990364,"tradeFeeAmountUSD":285261.4931091809,"value":"9996984137735925408690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.4931091809,"available":true}},"fee":"84974365170755365973","feeInEth":"85001204751288265864","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json b/e2e/mocks/swap_quotes/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x128005641d374f8c5787146264cc420bbb17e5181d59b05fb2faa4e2240b66d9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json b/e2e/mocks/swap_quotes/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x13644354244c6cb7f433976c32ef54b3895736fea6a134746cb02fdf7c77eef9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json b/e2e/mocks/swap_quotes/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x13916f7a0dd30d0a42743a38bcd292c6de1c79101ac53e75dd7ea6dd6a91aec0.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json b/e2e/mocks/swap_quotes/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x14247f2c465d10d7cdb37e89eb34c502216ee64f288f2030a7752a2856fe6c5e.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json b/e2e/mocks/swap_quotes/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1518cf1e721f3f38bd206f3cff9890b77a472475b02eeeefcd097424eb252571.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json b/e2e/mocks/swap_quotes/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1a8fc16eff87ed373d6e4c45a03170f5302ea1441ff1de0d5a4d1b4e21fba289.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json index 98bc4c237b..a3686c879d 100644 --- a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json +++ b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -1,145 +1 @@ -{ - "sellTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", - "sellTokenAsset": { - "assetCode": "eth", - "decimals": 18, - "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "mainnet", - "symbol": "ETH", - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "chainId": 1, - "price": { "value": 3267.8599999999988, "available": true }, - "totalPrice": { "value": 1.9996940361526865, "available": true } - }, - "buyTokenAddress": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", - "buyTokenAsset": { - "assetCode": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", - "decimals": 8, - "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png", - "name": "Wrapped Bitcoin", - "network": "mainnet", - "symbol": "WBTC", - "networks": { - "1": { - "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", - "decimals": 8 - }, - "10": { - "address": "0x68f180fcce6836688e9084f035309e29bf0a2095", - "decimals": 8 - }, - "137": { - "address": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6", - "decimals": 8 - }, - "42161": { - "address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f", - "decimals": 8 - }, - "43114": { - "address": "0x50b7545627a5162f82a992c33b87adc75187b218", - "decimals": 8 - }, - "81457": { - "address": "0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692", - "decimals": 8 - } - }, - "chainId": 1, - "price": { "value": 88026.25299641998, "available": true }, - "totalPrice": { "value": 1.982351217479378, "available": true } - }, - "allowanceTarget": "0x00000000009726632680fb29d3f7a9734e3010e2", - "allowanceNeeded": false, - "to": "0x111111125421ca6dc452d289314280a0f8842a65", - "data": "0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868af031c15844e3d18ce2298fd9a1ce01978ce06219c9d01a8fca77bacbfddd513000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000008cb000000000000000000000000000000000000000000000000000227d07a230be70000000000000000000000000000027172006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041d781701e289cca84cd1b9d3fb51150bc087e83eedcef324a386c5e5c3b3626f24d4f7e469bdc66ff4ff0886cb0b8bad915a4cf6d5065c440609eb96a4ae8a9021b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312", - "sellAmount": "611927694623603", - "sellAmountMinusFees": "606726309219303", - "sellAmountDisplay": "611927694623603", - "sellAmountInEth": "612191840117769", - "buyAmount": "2252", - "buyAmountMinusFees": "2252", - "buyAmountDisplay": "2252", - "buyAmountDisplayMinimum": "2230", - "buyAmountInEth": "606882461840646", - "tradeAmountUSD": 1.9996940361526865, - "tradeFeeAmountUSD": 0.01699739930729445, - "value": "611927694623603", - "gasPrice": "30798415403", - "source": "1inch", - "protocols": [{ "name": "PMM15", "part": 100 }], - "feeTokenAsset": { - "assetCode": "eth", - "decimals": 18, - "iconUrl": "https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png", - "name": "Ethereum", - "network": "mainnet", - "symbol": "ETH", - "networks": { - "1": { "address": "eth", "decimals": 18 }, - "10": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "42161": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "56": { - "address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - "decimals": 18 - }, - "7777777": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "81457": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - }, - "8453": { - "address": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - }, - "chainId": 1, - "price": { "value": 3267.8599999997405, "available": true }, - "totalPrice": { "value": 0.01699739930729445, "available": true } - }, - "fee": "5201385404300", - "feeInEth": "5203630641000", - "feePercentageBasisPoints": "8500000000000000", - "tradeType": "exact_input", - "from": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720", - "defaultGasLimit": "350000", - "swapType": "normal", - "txTarget": "0x00000000009726632680fb29d3f7a9734e3010e2", - "chainId": 1 -} +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2.053610985325973,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041141996,"available":true},"totalPrice":{"value":2.0215200907205073,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868c187ba5438e6e0de8292195f9baf758f015c1a6481eefb343e947a95b12a89f7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000816000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000189ab00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004156c6ff5c1ec63dabfc3b4be777770c98f765e6dafcd0ee4cf2b2804068d572ae64f82ded7facaef7be4497aa15fe0e84ec7d2d8c18dcb1d44a59cf4c560bcc101c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2071","buyAmountMinusFees":"2071","buyAmountDisplay":"2071","buyAmountDisplayMinimum":"2051","buyAmountInEth":"602365364029031","tradeAmountUSD":2.053610985325973,"tradeFeeAmountUSD":0.01745569337526867,"value":"611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":0.01745569337526867,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json b/e2e/mocks/swap_quotes/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1ce6bbb3f3d2d0fb9bfb385e5188ed35d327ab264e51f08388ab3cdd48277dab.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json new file mode 100644 index 0000000000..a5cd3bb218 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":54.31629645606967,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000037e15e2502f54f000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3730297c9250785275df4db05cfe33dfeaddaef3c4b591c889eefcc7078022fd305512b5d72dae8e4565aef50d0a759ab38611ed42344cc5bb4ce62472238b5b869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002db7e8580a0fc9b9bb9e12eb","sellAmount":"16179866267525066","sellAmountMinusFees":"15907126826228164","sellAmountDisplay":"16179866267525066","sellAmountInEth":"16184976759646144","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"14902999999999999","tradeAmountUSD":54.31629645606967,"tradeFeeAmountUSD":0.457797243308469,"value":"16179866267525066","gasPrice":"26706819757","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999966,"available":true},"totalPrice":{"value":0.457797243308469,"available":true}},"fee":"136369720648451","feeInEth":"136412793710453","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json new file mode 100644 index 0000000000..b5a57e73f7 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":53.78378374571605,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000037e15e2502f54f000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3730297c9250785275df4db05cfe33dfeaddaef3c4b591c889eefcc7078022fd305512b5d72dae8e4565aef50d0a759ab38611ed42344cc5bb4ce62472238b5b869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002dceb4915ec273833f4b7d45","sellAmount":"16021240127647369","sellAmountMinusFees":"15751174602441613","sellAmountDisplay":"16021240127647369","sellAmountInEth":"16026300516904515","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"14902999999999999","tradeAmountUSD":53.78378374571605,"tradeFeeAmountUSD":0.45330903504073766,"value":"16021240127647369","gasPrice":"26706819757","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.029999999986,"available":true},"totalPrice":{"value":0.45330903504073766,"available":true}},"fee":"135032762602878","feeInEth":"135075413379958","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json b/e2e/mocks/swap_quotes/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x223d944764d521b9465c58f51740e44269c6608952e0e07af0729a344914ab0c.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json new file mode 100644 index 0000000000..984ee3a6d9 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2491.682924363639,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2474.4121161915396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000a1c465661e7b5f7388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"742462812350419959","buyAmount":"743402629133555975","buyAmountMinusFees":"737083706785920750","buyAmountDisplay":"737083706785920750","buyAmountDisplayMinimum":"722342032650202335","buyAmountInEth":"737316518381135557","tradeAmountUSD":2491.682924363639,"tradeFeeAmountUSD":21.212811888681877,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.212811888681877,"available":true}},"fee":"6318922347635225","feeInEth":"6320918211033435","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json index 01ef1b1b72..5bd10a96b5 100644 --- a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json +++ b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224685999999,"available":true},"totalPrice":{"value":49.991123429999995,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":49.25255079361107,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04270026c6b205ae9e8af959a328e9ac34fb5a4f1e661eb76a5f9ff52923aad7c1000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000036021ba4d9c9380000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000027178006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041586af44ec310b1fec6b56e6ae26aa24a47606bd84907654c9eb103a95a004e070920521d38c7fa4186f67ee08bac126031abc02cfa9603c10caf48b362941b2e1c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15304420220728926","buyAmount":"15201014265813054","buyAmountMinusFees":"15071805644553644","buyAmountDisplay":"15071805644553644","buyAmountDisplayMinimum":"14770369531662571","buyAmountInEth":"15078311559525195","tradeAmountUSD":49.991123429999995,"tradeFeeAmountUSD":0.42223568506877446,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999915,"available":true},"totalPrice":{"value":0.42223568506877446,"available":true}},"fee":"129208621259410","feeInEth":"129264395618722","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":49.604054084776095,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04811667005c849452ac961b25d91e083f82a5c22d72e9e8edbde9886826fdf480000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000034f398a039f3350000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000189c900673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041077dd652310b1964ba69eeed601705a9f599049285558d5b99ed2e40f429eea11308db21592bc00252813c40ceaa6ef28606ae197f985a53047437f02e7f4cdc1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14902846611930818","buyAmountMinusFees":"14776172415729407","buyAmountDisplay":"14776172415729407","buyAmountDisplayMinimum":"14480648967414819","buyAmountInEth":"14780839544088919","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4252490768740208,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999843,"available":true},"totalPrice":{"value":0.4252490768740208,"available":true}},"fee":"126674196201411","feeInEth":"126714206883262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json new file mode 100644 index 0000000000..630594ac8c --- /dev/null +++ b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560171.24680275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703012.266124494,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001d7001ed563a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba29c3fad6257358c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061ee07d78168614c3ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939ea9a0b9821687fac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5c7d1dec57e6f591cee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0491bba69289f06c34f95b70de8e0bab4c5e3fdc3b622d848075b0305134bdf98b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dab51c49e0000000000000000000000000000000000000000000000044c74397e34d318a800000000000000000000000000000189da00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411f51460dabb0d89246f6e7c5139681de37ec2e8f777b34bce258f9ee59548c1a44d7859f8e124819ec1b87d3e2078d2eeda22f15c783618775aa9457e5c590561c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c13af0ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e141e9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f387f5ee77ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e60511000eee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81fecf9aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a53442dfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970624a83eee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0454f5d049b1881cc8dfe8634416ae02b95c9f7cfa3bda226b63d1f1c2b444facb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e712b2e6a10000000000000000000000000000000000000000000000101eb3d79946179c770000000000000000000000000000018a1b00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004199c2442e7e0632346c27fe70fa80e2d58e2c74280877221eaf1d7950be0d56e9687d972478c4cb33d29e2a83006e097b2613b5b8c4e4384aabbff6044843dfd31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b6602e1b8ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00518baeceee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7711ba1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c657e5a702a00000000000000000000000000000000000000000000000000000075da626eda7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc20fa13de000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"10000140420445578287104","buyAmount":"32693844317150","buyAmountMinusFees":"32693844317150","buyAmountDisplay":"32693844317150","buyAmountDisplayMinimum":"32366905873979","buyAmountInEth":"9744727237169728465920","tradeAmountUSD":33560171.24680275,"tradeFeeAmountUSD":285261.45559782337,"value":"9996982823151043603690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.45559782337,"available":true}},"fee":"84974353996783870631","feeInEth":"85001193573787415432","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json b/e2e/mocks/swap_quotes/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2a93dfd4355e81a696b5557db101a826a5df474624d13a377d10396721866275.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json b/e2e/mocks/swap_quotes/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2b6884f13b77ee0dc308192eab0f10c31bb0eb22f34db1a99b813f69e3d1393d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json b/e2e/mocks/swap_quotes/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2bab63f6c88123469f021925ce5f6ee94e11151f1b6fd091a8d7fec4253917fa.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json index c52e422664..3784f61bdc 100644 --- a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json +++ b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":49.99112343,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":49.40191238754859,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a049512c3180521d8df1cce8d3ff70714c69dd10c4dac9fd972559bb0f249202de6000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000036021ba4d9c9380000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000002717a006733cf750000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf080600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415205a3d67bb63dd5f5c3a9ba2b84461de964a0a45376f7b7f35293dcaa981a115a5d2a4df70bc577b5a747d6809f7311dc8f7dd1b8e9f5a46fea8e78a16360581b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15312670860020400","buyAmount":"15201014265813054","buyAmountMinusFees":"15071805644553644","buyAmountDisplay":"15071805644553644","buyAmountDisplayMinimum":"14921087588108108","buyAmountInEth":"15132190923961722","tradeAmountUSD":49.99112343,"tradeFeeAmountUSD":0.42351614250545355,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.7699999999786,"available":true},"totalPrice":{"value":0.42351614250545355,"available":true}},"fee":"129208621259410","feeInEth":"129726296372842","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":49.58839134201542,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a0484e686008c9bf6be3297595704b354642eed1a21a1d40ac7785b5375a750df0f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000034f398a039f3350000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000189b100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d262282756773fb418d3ca6fd17754ae989ada93934ab6493c930bb1a5d143bb6f19c6449bf66ec7c05a3ade163b37d38d20355e3ae2ac5bae293ea772c46ed71b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14902846611930818","buyAmountMinusFees":"14776172415729407","buyAmountDisplay":"14776172415729407","buyAmountDisplayMinimum":"14628410691572113","buyAmountInEth":"14776172415729407","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4251148022260493,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":0.4251148022260493,"available":true}},"fee":"126674196201411","feeInEth":"126674196201411","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json b/e2e/mocks/swap_quotes/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2cdef8ae988fd216514bba24cbf2d9450db0f0266936fbafb0d9855a9390d3b2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json new file mode 100644 index 0000000000..cfa7c6c4de --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560171.24680275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703085.689559992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001d23e72a3be10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001ac9c00a5038f30374c4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac03d986783cde4674dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282ab1bf2fe8c4019de0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000241027d65bae7b375fb1eee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04b2d53fd14a2287e67fcfa8ee43fc5d9a102abd4722836896d10ba319305584b4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacb405100000000000000000000000000000000000000000000000044c74397e34d318a80000000000000000000000000000018a2d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041597f826d393859b8561ad582cc112d6e1a415d78fa45b136de024d1180571d474f022d1d5402e8e25ba6b6d194ba7f433b19d3ea1246b122f68bd02ba92b5ca51c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003babe0e502ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077ad413ea9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6ba4df3d0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d6c45e677dee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004abebe2d2eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000951fa818d2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000957f9dd281ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ddabea2ee93d7dc1317266a4e17b94f95104d24580cf66fd32583590787295c7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7128750400000000000000000000000000000000000000000000000101eb3d79946179c770000000000000000000000000000018a7500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d404e440a2bd535bf55652d8123d531f4f732ca3d5e368a10ef546f3e63174fe04e152d79be7391fd2b8bdb343b48aab28ca0aa677be62fb2c1f6af0e5d6b60e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002554db546e0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e674ec88d6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955179a985ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aa9680611202a00000000000000000000000000000000000000000000000000000074a9b3c2c2bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc255a1dc2000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"10000140420445578287104","buyAmount":"32693917720002","buyAmountMinusFees":"32693917720002","buyAmountDisplay":"32693917720002","buyAmountDisplayMinimum":"32040039365602","buyAmountInEth":"9744749115623795586048","tradeAmountUSD":33560171.24680275,"tradeFeeAmountUSD":285261.45559782337,"value":"9996982823151043603690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.45559782337,"available":true}},"fee":"84974353996783870631","feeInEth":"85001193573787415432","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json b/e2e/mocks/swap_quotes/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2e5a7e62c540a21db0e470b07062bb3cfa7f3e8f0431fefad03935708fc32334.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json b/e2e/mocks/swap_quotes/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2f21bf7272b45e35e6fab85bf1d1f8e4fdc297f166c7d12b85a2f2e73cd35a72.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json b/e2e/mocks/swap_quotes/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x2f838fd7246d2957852ceee844af19663913d77ee4cf072b374997b23cf7b3d2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json new file mode 100644 index 0000000000..716293a744 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2509.305302613892,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2491.9107353953436,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000a492d2422bd5a26388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"747713865920699959","buyAmount":"748659845357640960","buyAmountMinusFees":"742296236672101012","buyAmountDisplay":"742296236672101012","buyAmountDisplayMinimum":"734873274305380003","buyAmountInEth":"742530694671091583","tradeAmountUSD":2509.305302613892,"tradeFeeAmountUSD":21.362825265618174,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":21.362825265618174,"available":true}},"fee":"6363608685539948","feeInEth":"6365618663342691","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json new file mode 100644 index 0000000000..c969ddee2b --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566925.8777398,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709603.39686237,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001d7186c05f030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11162e34f3d4befeccc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b07793b1b0c94d1274aee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a78543bc470662dcc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002470317aa3ca59e727371ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0411ccf5f9f2033c97ec5ab62d321f1113e5f49b2a9dea5b6da99ef1c4b5457c84000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafd937010000000000000000000000000000000000000000000000044cacece6f1d978cf0000000000000000000000000000018a9000673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411fec4fad988765bed862e7668c2238f64666c1e17d324de8bc318d3cc239c1ed003b8bfbd222f7cc88c2a7b12399995b74c7024b0d7b42e83d3dd8f58c98b8051b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4aced452ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec09997ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c875fe11ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651da06c6ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d71ef8ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096ae6eabc6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd41cedee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a042f1688fc9f3a953b31dfb5ca6afea9a3873b010daced8cee68d5b5c621da066b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71caeaf610000000000000000000000000000000000000000000000101f8878620aef85090000000000000000000000000000018ab400673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b1b9ce36619effd31962dd95a411c3ec88f84fc87626f7bc1846fd9491bcd6db78781668b24e8fb0715b54b0d0187a90d839ec62f7790a63ca9ec4e95698bece1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84ac720eee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3b21333ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df44766cee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b704f28c7402a00000000000000000000000000000000000000000000000000000075e07f76541ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda9ba8e85000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"10002153141339106983936","buyAmount":"32700433600133","buyAmountMinusFees":"32700433600133","buyAmountDisplay":"32700433600133","buyAmountDisplayMinimum":"32373429264132","buyAmountInEth":"9746691238855641445376","tradeAmountUSD":33566925.8777398,"tradeFeeAmountUSD":285318.86996078835,"value":"9998994908517291596490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285318.86996078835,"available":true}},"fee":"84991456722396978570","feeInEth":"85018301701382409352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json b/e2e/mocks/swap_quotes/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x30780874fd5a4b4e7b2b70c63922687af80b253dc1cf535b42b3e03db04acc54.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json b/e2e/mocks/swap_quotes/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x310e77c386dfdfe054b4ee46afc6d11143dac6fcff8195ca815c0c65ab208cd3.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json b/e2e/mocks/swap_quotes/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x313f8a1d52e47dd08d06bf188067cebee5db4803e040b797300038eae7cdcf91.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json index 1cc6c56fe0..009a531d6c 100644 --- a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json +++ b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -1 +1 @@ -{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3350.611910781612,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":3277.77,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000039ed8f0000000000000000000000000000000000000000000000000dfee9681ffb4000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c5a5fa1b58ab49be71a95a8a","sellAmount":"3796367","sellAmountMinusFees":"3796367","sellAmountDisplay":"3796367","sellAmountInEth":"1026318551158490364","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1004006505977596625","tradeAmountUSD":3350.611910781612,"tradeFeeAmountUSD":27.861044999999997,"value":"0","gasPrice":"29499439762","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":27.861044999999997,"available":true}},"fee":"8500000000000000","feeInEth":"8534055300809571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3407.7206346292073,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x803ba26d0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000035453a0000000000000000000000000000000000000000000000000dfee9681ffb40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000042b694255dd980d07aff4b5f","sellAmount":"3491130","sellAmountMinusFees":"3491130","sellAmountDisplay":"3491130","sellAmountInEth":"1015420469977147284","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000315855028501430","tradeAmountUSD":3407.7206346292073,"tradeFeeAmountUSD":28.534755,"value":"0","gasPrice":"27187882932","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json b/e2e/mocks/swap_quotes/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x34f1a03db5514c7972b4647a9812ec462b53950e07e59a46092990d81453c1b1.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json new file mode 100644 index 0000000000..42a8885330 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2511.361898159039,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2493.952887810285,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000a4b5591ab87fdeb388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"748326682943839958","buyAmount":"749273381584862363","buyAmountMinusFees":"742904557841391033","buyAmountDisplay":"742904557841391033","buyAmountDisplayMinimum":"735475512262977124","buyAmountInEth":"743139207981681868","tradeAmountUSD":2511.361898159039,"tradeFeeAmountUSD":21.380332371545556,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.380332371545556,"available":true}},"fee":"6368823743471330","feeInEth":"6370835368476344","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json index 20ce771345..ccf20dbd4c 100644 --- a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json +++ b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":327777,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":325813.81986395555,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000055ffb8fae47fb00000000000000000000000000000000000000000000000000000000000015c897680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002e70000000000000000000000000000000002c900029b00026d00022300020900a0c9e75c48000000000000000021110000000000000000000000000000000000000000000000000001db00008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000000767d411ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000012a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120d17b3c9784510e33cd5b87b490e79253bcd81e2ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc2004458d30ac9000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e60c35600000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000673a66c80020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000001600ebaf0000000000000000000000000000162780a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a650020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a6500000000000000000000000000000000000000000000000000d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100400650597759662536","buyAmount":"369159087","buyAmountMinusFees":"369159087","buyAmountDisplay":"369159087","buyAmountDisplayMinimum":"365467497","buyAmountInEth":"99799313216248875656","tradeAmountUSD":327777,"tradeFeeAmountUSD":2786.1045,"value":"100000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":34},{"name":"INTEGRAL","part":66}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":2786.1045,"available":true}},"fee":"850000000000000000","feeInEth":"853405530080957131","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335703,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":331135.5572313288,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000001404a31a2000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100031585502850143040","buyAmount":"339240625","buyAmountMinusFees":"339240625","buyAmountDisplay":"339240625","buyAmountDisplayMinimum":"335848219","buyAmountInEth":"98670595157682807680","tradeAmountUSD":335703,"tradeFeeAmountUSD":2853.4755,"value":"100000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2853.4755,"available":true}},"fee":"850000000000000000","feeInEth":"850268476774226215","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json new file mode 100644 index 0000000000..921faddaea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.402845567899995,"available":true},"totalPrice":{"value":19.402845567899995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999998,"available":true},"totalPrice":{"value":19.1400087021477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a040000000000000000000000000000000000000000e4b361c8babda39d04dcc924000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d7200000000000000000000000000000000000000000000000000000000012358560000000000000000000000000000000000000000000000000dc283ff2eccc00010000000000000000000000000000072c900673f7881fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000dc283ff2eccc000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417c09ee104542f81ef9c2ff79bf2e4cc607a46a665498ae0b48bb1f05af6d35ac7edb8425507623c0a807a420ad855b741fd89182d425aa4dc1699b3b2863fa071c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"5781590886658699","buyAmount":"19134643","buyAmountMinusFees":"19134643","buyAmountDisplay":"19134643","buyAmountDisplayMinimum":"18177911","buyAmountInEth":"5703271692579999","tradeAmountUSD":19.402845567899995,"tradeFeeAmountUSD":0.1649241873271468,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM20","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.402845567899625,"available":true},"totalPrice":{"value":0.1649241873271468,"available":true}},"fee":"8500000000000000","feeInEth":"49143522536598","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json index 7af51627b4..e5dc4688f3 100644 --- a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json +++ b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":3275630,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3246330.4324828587,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000d90bd061000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000005400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000002affdc7d723fd8000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000b2bf9bb000000000000000000000000000000000000000000000002bdc04bd652ca4000000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf480000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c1baacf93a3a0da1d33cc6224bb14fc8bef5d4ad8a20488df2892855b4245d734122f0c22c1b4472406c79d4a2e375a293b98dabdf13676e2dfb0a07c7f3080da000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000ec7f3cb1f45f24000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000041a9143a0000000000000000000000000000000000000000000000101c8af65a236df1c0000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf490000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b50d6d52443b2f1fd8694a52c134167f9387d834af9967c85b46f326bd96e8312699ebe83ead6f57b8f47ea114290a312c9d6f31b541a8140a3e260f0e6e09042000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd80000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e21e65a3fcb74eadda3abef6","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1002377702839166910912","buyAmount":"3678212235","buyAmountMinusFees":"3678212235","buyAmountDisplay":"3678212235","buyAmountDisplayMinimum":"3641430113","buyAmountInEth":"993411722804177278016","tradeAmountUSD":3275630,"tradeFeeAmountUSD":27842.855,"value":"1000000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"0x","part":32.5},{"name":"Uniswap_V3","part":67.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":27842.855,"available":true}},"fee":"8500000000000000000","feeInEth":"8520210474132918743","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357030,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3301948.2289569923,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000035bfd39ccecfce000000000000000000000000000000000000000000000000000000000000c79cc8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000142e0000000000000000000000000000000000000000000014100013e200139800a0c9e75c480000000000000007020100000000000000000000000000000000000000000000136a000f1b00031a00a007e5c0d20000000000000000000000000000000000000000000002f600006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004c7ebc6ffbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000201200000000000000000000000000000000000000000000000000025f00004f02a000000000000000000000000000000000000000000000000000000000073188c1ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485120111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a041077fc48ae3177d2a80933b58f7708b45dcacf29d1bc0a3bdfeca9b0eab1faff000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000ce8729000000000000000000000000000000000000000000000000000000031738beb4d0000000000000000000000000000018a7b00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041f75c49bd1a6a220370547ca5669c56091fad66c5167ab82f836433f1825f1a12288bd8d5da014175d4942e1e590808dbc59af8568ef777298a0ff98db577fd251b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d2000000000000000000000000000000000000000000000000000bdd00090100a0c9e75c48000000000f0b0a04000a0000000000000000000000000008d30008840008350004450003f60003dc4140d315a9c38ec871068fec378e4ce78af528c76293016452bbbe2900000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000673f7887315a892a4d02c5c1169d5f0e4f7cb4130cc0d13800020000000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000226649fdf4ffe000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000627699147389300000000000000000000000000000000000000000000000000000000673f788700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000000000000000000000000000000005af3107a4000000000000000000000011037e7ee8dec00000000000000022be5a17895e9800000000000000000095e0daf6c0e67ceb8000000000000410b9eed23af0f4dc00000000000000000000000000000000000000000000015aa52c8d4861f3a2f314b00000000000000004563918244f400000000000000000000006a94d74f430000000000000000000000000000673f784b000000000000000000003b1dfde910000000000000000000000000000000000000000000000000000000000000000041849e999d09e5d9344a0ac563acbed58fc6f442c6f126c7e618232a0fd969c8ac19a10d12db4f40462e784ffcb096c11b3153d9f5c993f3584c292e533cf69d501c000000000000000000000000000000000000000000000000000000000000004041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000c39775d1dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc25100d315a9c38ec871068fec378e4ce78af528c76293c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2016452bbbe2900000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000673f7887315a892a4d02c5c1169d5f0e4f7cb4130cc0d1380002000000000000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000226649fdf4ffe000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000627699147389200000000000000000000000000000000000000000000000000000000673f788700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000000000000000000000000000000005af3107a4000000000000000000000011037e7c2b66800000000000000022be5a17895e9800000000000000000095e0daf6c0e67ceb8000000000000410b9eed23af0f4dc00000000000000000000000000000000000000000000015aa52c8d4861f3a2f314b00000000000000004563918244f400000000000000000000006a94d74f430000000000000000000000000000673f784b000000000000000000003b1dfde9100000000000000000000000000000000000000000000000000000000000000000413f5c2ae15fd545a0b4c120bb2ad6a1ecc2d5ae73a8745c23734add898be9757000d2d34c36eec9da3d396a0e84946cc3f7355331c4287ad81129ba5a173557a91b0000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000021984ff897ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a00000000000000000000000000000000000000000000000000000002dd9def056ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000000001715060000000000000000000000000000000000000000000002ae00009e00004f02a00000000000000000000000000000000000000000000000000000000004cae0ceee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a00000000000000000000000000000000000000000000000000000000010c4e59fee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec75120111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a043d25dae3b3ebe5b5adb4b42726b6f782f6ecebf053b02aadcce1e3dec36a9775000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000128a9b8100000000000000000000000000000000000000000000000000000046fa810cfe0000000000000000000000000000018a8500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041fb1c402e14522146b4593756e9e2e3cd0e0601aff98443706520ca3b21fb972b7d8d67c586e358401c1ed56952bcc3973e0fc018ae28411536051ba96befb1941c0000000000000000000000000000000000000000000000000000000000000000a0c9e75c48000000000000230806010000000000000000000000000000000000000004210003940003070000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000002caa6fbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a044cfe96b18356d873da4684499d8e8aba71378cd517921f12d2171cdcadce68bd000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000010f068bf00000000000000000000000000000000000000000000000483d34fbb5b2f00000000000000000000000000000000018a1500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d74c133ecd5661b18ba6ae6ea100c06d8f84e2026c401dd81b412988ddf08946422b76290c711417ce7b140a6793dfdadfa4153d7ef2d3c4a4eed26893c434a51c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000016585f5cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000061d158eeee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000c9a0f407000000000000000000000000000013f280a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000315855028501430400","buyAmount":"3382768647","buyAmountMinusFees":"3382768647","buyAmountDisplay":"3382768647","buyAmountDisplayMinimum":"3348940961","buyAmountInEth":"983902784875011425856","tradeAmountUSD":3357030,"tradeFeeAmountUSD":28534.755,"value":"1000000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":22.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"PMM14","part":6.666666667},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28534.755,"available":true}},"fee":"8500000000000000000","feeInEth":"8502684767742262158","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json b/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json new file mode 100644 index 0000000000..a388f599b3 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json @@ -0,0 +1 @@ +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json b/e2e/mocks/swap_quotes/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x408411a86f0d6554f71adcfcdbd6d9d6f013480a2e3659f9f6a497fa5c7c0999.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json new file mode 100644 index 0000000000..f757c709f3 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563545.668653555,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706255.013615992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001d24a03dcb4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001aca6c24e705032ba887c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac0e8e06c6ac9d3b55dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282bb35334f13e956d67c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024110fc3fa77d70d3a01dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bb9b06738731033c4751c46298494f36ad279cabcc3cc0fd8f58890df2ce30f6000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacff5dbc0000000000000000000000000000000000000000000000044c908cfab382be3b0000000000000000000000000000018a0c00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041983d42f56cd68bd65274e708e2dbc93b08725c6bf33c846a7fb14d8bf4a2b01f512ef80e31b6adb8b7f1ce65425db8f6f0246823cd80433a5bc4dd67717da5b41b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bad636a89ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b04cc974c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6da3398c0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d6ea5750feee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac0a4f183ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000009523717241c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095836ac7c9ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04f3f277453d80a6048bd2a74e4e9e7e72c6b0a4b908c6545a0c543cd3a4be41cf000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e718792b040000000000000000000000000000000000000000000000101f1e10ac212a495e0000000000000000000000000000018a4600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410f295363726d63a68780b1d8a4eff4926bf60785da1e0ab673bb1aad7fc456f4216d100f36e73900c254236fcf35a3d3353073f461ba3f0f8dfef7805e560a051b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002555cdf1757ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6b549595aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000095552e7b3fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aab426d85702a00000000000000000000000000000000000000000000000000000074ac98fb818ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2349b33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"10001145918662430040064","buyAmount":"32697086155571","buyAmountMinusFees":"32697086155571","buyAmountDisplay":"32697086155571","buyAmountDisplayMinimum":"32043144432460","buyAmountInEth":"9745693499529491725312","tradeAmountUSD":33563545.668653555,"tradeFeeAmountUSD":285290.1381835552,"value":"9997988003876508667090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1381835552,"available":true}},"fee":"84982898032950323670","feeInEth":"85009740308630655352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json new file mode 100644 index 0000000000..5b258ce877 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33556326.943136774,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709503.31342102,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001d255dedfefe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb188ad4bda6a3351dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac1947365c40cd9625eee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cb557f579baabd10dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411f817236dcd5bc48e7ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04cf296e6acfcdad1ac659c70da6ac1b8dbe40409f69c154158676d160260c8a1a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae9642e10000000000000000000000000000000000000000000000044cacece6f1d978cf0000000000000000000000000000018a0f00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d1b4721a2b485bfa77d359e877f5146fab0e0a9f3cf9330869699baafed725452ff29d2aa206163c6f0dae4734e19b77b981679719da40bd78cb06aa1d68d9f81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baee69949ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b359aa0bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fa273990ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d71060dfebee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac28c8b43ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000095273c7499c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095873967a0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0445901548158d8928c021be5c2af6905201ecc5eb95e1ce5bde6f76fb43d86ad3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e6da1f50000000000000000000000000000000000000000000000101f8878620aef85090000000000000000000000000000018a7800673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103ef973719095fa56d358631c35e4e2812b068ac82e9ca9f99558213c1ebbeda3d750384e38571b538737ea35252c588c9d2458dbc4cba8bf7aec5c9c903d67d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c0f8d59ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f5c26095ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a00000000000000000000000000000000000000000000000000000009558fb971cee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad28fa03202a00000000000000000000000000000000000000000000000000000074af912de01ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda3c3d52d000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"32700333544749","buyAmountMinusFees":"32700333544749","buyAmountDisplay":"32700333544749","buyAmountDisplayMinimum":"32046326873855","buyAmountInEth":"9746661416347886405632","tradeAmountUSD":33556326.943136774,"tradeFeeAmountUSD":285228.7790166626,"value":"9998994908517291596490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285228.7790166626,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978560","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json b/e2e/mocks/swap_quotes/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x4acf7e23ea2fdf997a098bb7525e73d946f4b44e20ad5c5893ae6d6c7d174f67.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json new file mode 100644 index 0000000000..94e99abba3 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.4028455679,"available":true},"totalPrice":{"value":3316.9562299826794,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000008cdd080bce2ebb7a320800000000000000000000092560c178ce069cc014138ed3c2f5221ba71f58ad6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"170952050222480802126","buyAmountMinusFees":"170952050222480802126","buyAmountDisplay":"170952050222480802126","buyAmountDisplayMinimum":"162404447711356762020","buyAmountInEth":"988374815621915360","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json new file mode 100644 index 0000000000..6324d8b0fb --- /dev/null +++ b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":335.59700000000004,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335.70300000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100031585502850143","tradeAmountUSD":335.59700000000004,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json b/e2e/mocks/swap_quotes/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x517b1b475a036479f3f41b7fa554f4f3f856d24e9e656f67861ed978d72c0661.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json b/e2e/mocks/swap_quotes/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x53a6af4265634c1f0804df1c92741fc7db6fe4a7e3b19dbbf52db98e135f7cd6.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json new file mode 100644 index 0000000000..ae3a3d0e3c --- /dev/null +++ b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33559694.273754865,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.250348583,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001d723fcd06dc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3ba6c174bd5c5bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f2ef6046d931fbee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab426f527a7aad8cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5a64f1ff012be86ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0402406cfc6574bbad15272cc2576c30aa40554fd3c193f86295268a0bd3f576c9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db01455690000000000000000000000000000000000000000000000044cc9336f6f1e961c00000000000000000000000000000189ca00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416b2753794909661532156a374b68bfe6ab82b2926fae7f6b9d7a84a5b5043dc81e33d2d3ae33582f9d6142f5e4a4e9b2f57206f27d939b03f483dd3a7468c1561c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549805ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1baf9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a02efdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6782489f3ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1f967ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0ade7cbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a93d1bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e7a1fc1659e52e4498ba0b75df7e72173a934a2769a87fd74a237b397455001e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71cf207210000000000000000000000000000000000000000000000101ff280e1e0b2b2ec00000000000000000000000000000189cf00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414fa9f16eef247a9963a2e3047687de6c2e901f7df007dfe703922c640706812264b61564b05b94aff8d004ff77c681ef594faaeed9e795c7e0c7b6cc26a8787b1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6d803ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149932c2ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f11ac1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7225798bd02a00000000000000000000000000000000000000000000000000000075e35e4baafee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a5b95b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"32703569574235","buyAmountMinusFees":"32703569574235","buyAmountDisplay":"32703569574235","buyAmountDisplayMinimum":"32376533878493","buyAmountInEth":"9747625947296483564544","tradeAmountUSD":33559694.273754865,"tradeFeeAmountUSD":285257.4013269163,"value":"9999998293713846870000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285257.4013269163,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json new file mode 100644 index 0000000000..c410de763f --- /dev/null +++ b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.38017252,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.35435174,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001d723fce98f20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3bbd98623f1cf52c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f45b0fe1b2f16fee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab44923ea75a79edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5c5167bd650186aee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a044ef56786a83a39ec2ca264117560b302ba8b71df73113dff281554d714085039000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0e3385f0000000000000000000000000000000000000000000000044cc933aaf91181260000000000000000000000000000018ab900673f787900000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103699ca1aab49b52b347bf8a84b4b521f4a667de04068b31a0e4ae44898672d8429e4ea0bb32eb22a8808f984cd7d1de906e16b76db96184114519ac2a7768741c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549b39ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1bb612c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a072b8ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e67824da95ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1fd70ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adefd5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a9452dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fe168d7e349e1ce5d11b32a26564f58f9c8c7c379c9155b490c7fdd05f1dc714000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7237f82480000000000000000000000000000000000000000000000101ff281c12601a4520000000000000000000000000000018aac00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041cdfcbdda57aa7dee2ffde4e8d0ec4d5ce0c50c0d65750c1a1c137d8bc342045829ce826e47b5a5eae56ebf83df7d16e89cb18062f7e07960a3e8cbd4f338ca741b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6f835ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a011499bb6cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f122cfee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72257d93202a00000000000000000000000000000000000000000000000000000075e35e51f66ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a74f81000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10003156875708817547264","buyAmount":"32703569678209","buyAmountMinusFees":"32703569678209","buyAmountDisplay":"32703569678209","buyAmountDisplayMinimum":"32376533981427","buyAmountInEth":"9747625978286974005248","tradeAmountUSD":33570294.38017252,"tradeFeeAmountUSD":285347.50223146647,"value":"9999998325952559545000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50223146647,"available":true}},"fee":"84999985770596756132","feeInEth":"85026833443524949144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json new file mode 100644 index 0000000000..3264685b72 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.2719462,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.250348583,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001d261af4545e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc45646cc122e1e40c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6c9a35ee36ad99ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db6757b208395e219c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9a20b17db8c171bee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040201404289c9b6444cdb7f40199e912ca3b1dbcfdf973b489900ee7312d312ad000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16eb85a0000000000000000000000000000000000000000000000044cc9336f6f1e961c0000000000000000000000000000018a6100673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004149ddfaaca684945752e1b6d91a06b51aff645cf9b0dc641854f973e603087bc6258e17f5f096214d32f869bd1a161a70806854ecc37fd1d9e155f424c17459af1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0686d1cee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663cf73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fe3e07ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736485f2fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472706bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b041169c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b049ec0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0448c1595f661b6aa63f235f43c7ba7aa824b325490fa190c7a7dbe68306d6ca6b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71d1945300000000000000000000000000000000000000000000000101ff280e1e0b2b2ec0000000000000000000000000000018a0a00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b3303d18f3e2a158e7ea7b7e41d5d3b2fa4d0c2727cee7f837e0b33218a0eb3008da1e7935d20220f5486e979506bca4dde6e720ddb5b80d7bc840fa648383de1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b326939ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73601abc8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cc54b9dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf0dd2d2d02a00000000000000000000000000000000000000000000000000000074b286b7827ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a5b95b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"10003156843459922112512","buyAmount":"32703569574235","buyAmountMinusFees":"32703569574235","buyAmountDisplay":"32703569574235","buyAmountDisplayMinimum":"32049498182751","buyAmountInEth":"9747625947296483564544","tradeAmountUSD":33570294.2719462,"tradeFeeAmountUSD":285347.5013115427,"value":"9999998293713846870000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5013115427,"available":true}},"fee":"84999985496567698395","feeInEth":"85026833169409337952","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json b/e2e/mocks/swap_quotes/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x6637ab171c0d5deb7c4025fb7f30c5031c6068aa2af5e85777111a5b7d9568b3.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json new file mode 100644 index 0000000000..b71c065e42 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":335597002.05361104,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":262040018.50635105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000ebdfe76a3823000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000e66000000000000000000000000000000000000000e48000e1a000dd0000db600a0c9e75c4800000000000000000604000000000000000000000000000000000000000000000000000d88000ace00a007e5c0d2000000000000000000000000000000000000000000000000000aaa0004c400a0c9e75c48000000001f07060401010000000000000000000000000004960004090003500002c300023600012800a007e5c0d20000000000000000000000000000000000000000000001040000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b78be6f25800000000000000000000000000000000000000000000000000000000000000000020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001beb7818f3f000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000073e89fa4a7cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000c9380728cdaee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000c117c7533fdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000003f98339f1505ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c481c0804020202010101010005b80005080004b900046a0003de00032e00027e00022f00011f00004f00a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4851001116898dda4015ed8ddefb84b6e8bc24528af2d8dac17f958d2ee523a2206206994597c13d831ec7004491695586000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fa7802a0900000000000000000000000000000000000000000000000000000000067460fca490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001e3d4db95ddee63c1e5007858e59e0c01ea06df3af3d20ac7b0003275d4bfdac17f958d2ee523a2206206994597c13d831ec75100debf20617708857ebe4f679508e7b7863a8a8eeedac17f958d2ee523a2206206994597c13d831ec70044a6417ed6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f2503ccae85100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b309c79c1600a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000007de48545595ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000fd4d3b3682cee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003715d56acb6200a0c9e75c48000000000000200d040100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca00000000000000000000000000000000000000000000000000000022bef60630fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000aa042be5ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000282018bfea0bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000054e0d61b6a8bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000ee41d7a6c458000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"261966558315608","buyAmountMinusFees":"261966558315608","buyAmountDisplay":"261966558315608","buyAmountDisplayMinimum":"259346892732452","buyAmountInEth":"78081752371550116200448","tradeAmountUSD":335597002.05361104,"tradeFeeAmountUSD":2852574.517455694,"value":"100000000611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":0.5},{"name":"CURVE_V2_TRICRYPTO_NG","part":0.5},{"name":"UNISWAP_V3","part":68},{"name":"BALANCER_V2","part":0.5},{"name":"SYNAPSE","part":0.5},{"name":"CURVE","part":16},{"name":"CURVE_V2","part":0.5},{"name":"UNISWAP_V2","part":7.5},{"name":"SUSHI","part":1},{"name":"DODO_V2","part":1},{"name":"PANCAKESWAP_V3","part":4}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2852574.517455694,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json b/e2e/mocks/swap_quotes/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x6b1bc3e15d54a985e2888d2e030747576e9152fd30d63458c24de6e7df94ecf7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json new file mode 100644 index 0000000000..7496023376 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json new file mode 100644 index 0000000000..a539859f64 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2509.305302613892,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2491.9107353953436,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000a2e941e9956974c388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"747713865920699959","buyAmount":"748659845357640960","buyAmountMinusFees":"742296236672101012","buyAmountDisplay":"742296236672101012","buyAmountDisplayMinimum":"727450311938658992","buyAmountInEth":"742530694671091583","tradeAmountUSD":2509.305302613892,"tradeFeeAmountUSD":21.362825265618174,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":21.362825265618174,"available":true}},"fee":"6363608685539948","feeInEth":"6365618663342691","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json b/e2e/mocks/swap_quotes/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x70f7e7aab42b956af7fa355cbf1bdfbd25e52da7a2eb55dc84946298982031ce.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json b/e2e/mocks/swap_quotes/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7473e5b66b4c85580c805734260158b0bc28414091daf5d1838380ff6ce92915.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json b/e2e/mocks/swap_quotes/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x75518d942e76cf2733daec56e43b033b9ab72e5fb1261acf521dec9186f86112.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json b/e2e/mocks/swap_quotes/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x758830a83d04b8de4271ef09113526cff63831caea15e172a7024c47079a0640.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json new file mode 100644 index 0000000000..443df149fd --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.0008404673,"available":true},"totalPrice":{"value":3313.747591674427,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x8bbf7edf5f70e8b3efb16194f428a1426994dbeed535d07299e0365d2003122d","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3310964834","buyAmountMinusFees":"3310964834","buyAmountDisplay":"3310964834","buyAmountDisplayMinimum":"3310964834","buyAmountInEth":"987106934306344199","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":36.92733,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":36.92733,"available":true}},"fee":"11000000000000000","feeInEth":"11003474405313515","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json new file mode 100644 index 0000000000..30b2337012 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566931.13746454,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709508.367881984,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219707531a18be605b100000000000000000000000000000000000000000000000000001d7181253f270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11167394d51d89f36fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0779802608c30a9648ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a7ed17effdfb428ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247031d8211e70a9b4175ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d0c6af6b97cc53b5b6fae9443a40128a432bbbf588b30b11791e51a9f0c5ee22000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae96e4f80000000000000000000000000000000000000000000000044cacf8347e0c14860000000000000000000000000000018a0d00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004153e4b9140e9e51dc9ac87a469f77e788a975a997086d82819fd26e39477d9dd44f366532ee11f2431fc9bd89f70229b436a29e4824df012e688fe08b248840b91b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4acf7020ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec0ad3bac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c882d9a0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651e95543ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d7e32eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acddf215c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd5a520ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04deeef5d51152ecd7b8486ca10b2ac3e730870da844b94d8913624d3f17f0a40f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e716b2d1f70000000000000000000000000000000000000000000000101f88a2c4d8ad4cf80000000000000000000000000000018a0100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419d01f843d8e2714ec628f89fc2467120dfa5119c35d67f15cf2974911c2924d83cf6ff54105e440a33e556d6832663e2b27b56a6f982afe4ae639c11f8e3b3241c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84b28ecfee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3cc04faee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df1f08bcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b703c71fce02a00000000000000000000000000000000000000000000000000000075e0623911eee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda410efa1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"10002154708613169438720","buyAmount":"32700338597793","buyAmountMinusFees":"32700338597793","buyAmountDisplay":"32700338597793","buyAmountDisplayMinimum":"32373335211816","buyAmountInEth":"9746662922458181046272","tradeAmountUSD":33566931.13746454,"tradeFeeAmountUSD":285318.9146684486,"value":"9998996475296478968045","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285318.9146684486,"available":true}},"fee":"84991470040020071228","feeInEth":"85018315023211940232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json b/e2e/mocks/swap_quotes/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x782dffa9594ac07a5cbac598cd8fb44ea353f9e92282e510be73c721fe35ee75.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json b/e2e/mocks/swap_quotes/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x789a64db553a97f3f7303b9fee4d285f72e961a5358744c85e27758406575040.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json b/e2e/mocks/swap_quotes/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x794906044645a24e8b7d66739c2863cbade141e0e4607dac17daddc9b5e46dc7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json new file mode 100644 index 0000000000..6903cc4c08 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":3.3435529110000003e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181997715,"available":true},"totalPrice":{"value":0.014690118221681845,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000000000000002694000000000000000000000000000000000000000000000000000000000000383800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000034e00000000000000000000000000000000000000000000000000000000033000a007e5c0d200000000000000000000000000000000000000000000000000030c00009c4160e68c1d72340aeefe5be76eda63ae2f4bc75141100044fe0291560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003736a8a29c6075120111111125421ca6dc452d289314280a0f8842a65514910771af9ca656af840dff83e8264ecf986ca012456a7586800000000000000000000000000000000000000004b5facec2e3cd86b0cd90134000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000395e00000000000000000000000000000000000000000000000000038571f03f862710000000000000000000000000000072c800673f7882572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000419e14c7407a43cd61f9166ca6dc061fb8a89e3c7d25d35a3df6de1968cebb94e95602a91504ef5cfe247e549284c42143b0f7bc4d903138841a2d136cca06a6651b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9963","buyAmount":"14686","buyAmountMinusFees":"14686","buyAmountDisplay":"14686","buyAmountDisplayMinimum":"14393","buyAmountInEth":"4377309159999","tradeAmountUSD":3.3435529110000003e-11,"tradeFeeAmountUSD":2.8190148000000003e-13,"value":"9960","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"DEFI_PLAZA","part":50},{"name":"PMM20","part":50}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.8190148000000003e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json new file mode 100644 index 0000000000..571b998d08 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33559693.8061895,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712739.80088858,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001d723fc63d330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3b440d41abcf166c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825eccba9e21868deee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab3933bb12936446c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5214b87af62b586ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04685066ec87a562a6fa7ad98347b69147529ca716a35320d3ac479c9ba591e404000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe90bdd0000000000000000000000000000000000000000000000044cc9326e2135a2de00000000000000000000000000000189e400673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b09de3a88b2468d8ff28c342f6effe27b6b10f887ca24cc07bda31e0e4965271774d4b899ce54dc4daf8e0a030f6be2539452eaa96a54f17ac042f3e71860f1d1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c548a2bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1b93a9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e89f0a4bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678232d82ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1e7f4ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adc50cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a91a3bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0400fbcd306326f4b77f4af35410ccb2da0fdd0c82e03ffed84112e56467a0d88a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71c9f2c2e0000000000000000000000000000000000000000000000101ff27d1cfc8922c20000000000000000000000000000018a0900673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a310b6f148fc362cc272399fcbdd45258cc853127874e7293ba217c7f567271050807e8d1dc02c2a10cf81914f5749402866029488751dfb864577173bb0e9aa1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f64cdeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a011496e427ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f0f7eeee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72256822b02a00000000000000000000000000000000000000000000000000000075e35e30772ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe649ede25000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384021504","buyAmount":"32703569124901","buyAmountMinusFees":"32703569124901","buyAmountDisplay":"32703569124901","buyAmountDisplayMinimum":"32376533433652","buyAmountInEth":"9747625813367991525376","tradeAmountUSD":33559693.8061895,"tradeFeeAmountUSD":285257.3973526108,"value":"9999998154390384020000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285257.3973526108,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json new file mode 100644 index 0000000000..a5b06a29e9 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2501.5871028969655,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2484.2467393178863,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000a268fda95df51f2388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"745414024230539959","buyAmount":"746357304565681096","buyAmountMinusFees":"740013267476872807","buyAmountDisplay":"740013267476872807","buyAmountDisplayMinimum":"725213002127335352","buyAmountInEth":"740247004388563151","tradeAmountUSD":2501.5871028969655,"tradeFeeAmountUSD":21.297122828242088,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.297122828242088,"available":true}},"fee":"6344037088808289","feeInEth":"6346040884823788","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json new file mode 100644 index 0000000000..ad59255b13 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.10720451,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.540998854,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001d72441fdc170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3b83fd491514cf4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f0c5c655853b54ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab3f2ecc7e5d4c17c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b57775320439b574ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04317f2f8240aeeb252bb0fcd1d515960cf5433b16d1e192cbd3628e5331100edf000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16eb3460000000000000000000000000000000000000000000000044cc93314cde2731f0000000000000000000000000000018a5400673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004145b0254c2046af73c5aee6f3f13179962b3369763ef1e47d14b7ecd30524db193774499a8a258a954f098cb135d16dee5eb32eeb8c5b6098c5fb00891eabec301b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549324ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1ba5c4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e89fc7e4ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678240f38ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1f341ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0addb8ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a930d2ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d75d2bf89d9c8f711fe084162d6ed23c2435bf07b3849de9ba9ae56efa836e58000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cb1c80000000000000000000000000000000000000000000000101ff27f8e04112fb40000000000000000000000000000018a5000673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041056e4c2ddc4ffdd008d3ecc1ef0cace08bf1c6957be7227de0aa3faf0aebbc085d193f5a133a80afb12be69e2b0765ac955bab4e1f428a8705c00a26a84b73a31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6a700ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149862bbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e307ec50ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7230e24b202a00000000000000000000000000000000000000000000000000000075e3701f1eeee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6903bcb3000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10003156794370779805696","buyAmount":"32703642844339","buyAmountMinusFees":"32703642844339","buyAmountDisplay":"32703642844339","buyAmountDisplayMinimum":"32376606415896","buyAmountInEth":"9747647786183681805312","tradeAmountUSD":33570294.10720451,"tradeFeeAmountUSD":285347.4999112383,"value":"9999998244640204720000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4999112383,"available":true}},"fee":"84999985079441740120","feeInEth":"85026832752151628352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json new file mode 100644 index 0000000000..49f23483b6 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566969.80966618,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709545.530886244,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001d7183567b2b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111871a899dcefedfec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077b7bc99c6f996c00ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895aae87f3f5df640afc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002470348783412d4a647b2ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0451b0bd55558286be1d8ef07e88b54756210d89ba36842947d93f332363f81173000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003daf9e95a50000000000000000000000000000000000000000000000044cad4b4f57ce713000000000000000000000000000000189a100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415550e66e3efac5936c581f1addca07763fa189bed39ee1edb84a71b19adfe0567c04dc5f3996afa936c6f534f7c424ad63888627f76c72520c7f7e86a08c26911b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4ad3e9b1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec13da20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c8e162dbee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e65259dff7ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85dd85dbee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096ace92b06c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970de0e8c3ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ee31c1a236b2d72b79a076eab2ff3e667f76a4befb2c728ce5f3c15ed92c6a7f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7171e5c700000000000000000000000000000000000000000000000101f89da698946287700000000000000000000000000000189a300673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414e92b57e848f538c9b91bcaa298a62744be7f8823917a28072174c74c4c3f9a43da9b2e87b7f68a377b9d633dbe333f4ff46eb6299212d67bf8c2bc1ef9af46f1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84df7fadee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d48ac6baee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df2a47e3ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7042118c902a00000000000000000000000000000000000000000000000000000075e06b02477ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda647d6eb000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"10002166232018216695808","buyAmount":"32700375750379","buyAmountMinusFees":"32700375750379","buyAmountDisplay":"32700375750379","buyAmountDisplayMinimum":"32373371992876","buyAmountInEth":"9746673996157964205056","tradeAmountUSD":33566969.80966618,"tradeFeeAmountUSD":285319.24338216253,"value":"9999007995062950057592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.24338216253,"available":true}},"fee":"84991567958035075489","feeInEth":"85018412972154841920","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json b/e2e/mocks/swap_quotes/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x7e67791a02ea568aa9c2ff05cda74ff47d1f6bad7152d538f06ac3b7ca01a06a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json index 6f6baf89f9..9e6724cdda 100644 --- a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json +++ b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224685999996,"available":true},"totalPrice":{"value":4.9991123429999975,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999997,"available":true},"totalPrice":{"value":4.925255079361105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a0418f9eb2f206ff466c609f55aa13392b9a0d92a8134bc46619dd14d47ca348063000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000005669c5d4954f100000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000027171006733cf7500000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b4060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2f38911a3c4090576d252431b1b758831a0a6a5b5fc631cafbb4bdc0fd1511f00af090e9a31ceaa1e47f70be1634ba4e437d3dda57c2b487c038ff286702e351b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1530442022072892","buyAmount":"1520101426581305","buyAmountMinusFees":"1507180564455364","buyAmountDisplay":"1507180564455364","buyAmountDisplayMinimum":"1492108758810811","buyAmountInEth":"1507831155952519","tradeAmountUSD":4.9991123429999975,"tradeFeeAmountUSD":0.042223568506876794,"value":"0","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.859999999941,"available":true},"totalPrice":{"value":0.042223568506876794,"available":true}},"fee":"12920862125941","feeInEth":"12926439561872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999994,"available":true},"totalPrice":{"value":5.001402090999997,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":4.95883913420154,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04f810c347a7679810066e0ab51d18c9a769f5ace32442b13554651ce29671d5a4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000054b8f4338feb800000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000189f700673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b40600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412ac6786871f454a5ee2e09aafd5a0ec567203c61f040cc5549ff500bd000d76817e9f0d0e9a6926060f9c0e952d02f0a61f7b3b9719949db5af5bbc15f1a15091c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1490299999999999","buyAmount":"1490284661193081","buyAmountMinusFees":"1477617241572940","buyAmountDisplay":"1477617241572940","buyAmountDisplayMinimum":"1462841069157212","buyAmountInEth":"1477617241572940","tradeAmountUSD":5.001402090999997,"tradeFeeAmountUSD":0.04251148022260124,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.969999999735,"available":true},"totalPrice":{"value":0.04251148022260124,"available":true}},"fee":"12667419620141","feeInEth":"12667419620140","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json index 9df3f56eb5..a482fa0135 100644 --- a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json +++ b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":32678600,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.3974578376,"available":true},"totalPrice":{"value":91558.70354881878,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d40000000000000000000000000000000000000000000000309b80ca0a3b85dc84a0b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b483800000000000000000000000000000000000000000000472ce8df480e01953aa0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024785c7cf1bc3f272978cee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a3ea0befe4851171b1700000000000000000000000000000000000000000000000000000000673520c80000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020c86709c8f7b5c1195000000000000000000000000000000000000000000000000000000000673520c80000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004ea9ff6c0957ffff83cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023b744a1daf83a88d8ff4ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a890bb826aa77f79a88ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000000000000000000000000311931edb26aab6a61c3f0000000000000000add542d7912ba20880a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a0000000000000000000000000000000000000000000000000000000000000089000000000000000000000000000000000000000000030da595bde5318a373325000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000193466e3a56000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10004316612836566637568","buyAmount":"230360795252358583008687","buyAmountMinusFees":"230360795252358583008687","buyAmountDisplay":"230360795252358583008687","buyAmountDisplayMinimum":"192111275437648165244183","buyAmountInEth":"230560095776006792134656","tradeAmountUSD":32678600,"tradeFeeAmountUSD":358770.17975,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":358770.17975,"available":true}},"fee":"109787500000000000000","feeInEth":"109834891013179455968","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"22869e31-a126-4e07-a346-871050cc37df","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"230360795252358583008687","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":43.78843940245906,"receivedValueInUsd":91582.21787059754,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"230360795252358583008687","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3709771583844862484945983","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"toAmount":"3709771583844862484945983","minAmountOut":"3672673868006413860096523","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"8970679492600000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":29.472988059347447}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"fromAmount":"3709771583844862484945983","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"230360795252358583008687","minAmountOut":"192111275437648165244183","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"4357187182120000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":14.315451343111617},"serviceTime":1140,"maxServiceTime":1200}],"gasFees":{"gasAmount":"13327866674720000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":43.78843940245906},"serviceTime":1140,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1140,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.450371174,"available":true},"totalPrice":{"value":104228.52951520277,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d400000000000000000000000000000000000000000000002f9631bf499584cfc783600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b48380000000000000000000000000000000000000000000040383dc412feada2e54ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023eabdb38f1f2362626ccee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b37f5aa1f7d41284557000000000000000000000000000000000000000000000000000000006740c9cc0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ff5a56bfcd2a7d01b48000000000000000000000000000000000000000000000000000000006740c9cc0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004a6d6de7cbb53c5949cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023347ab4548f4ef4be4b9ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a17ef464d6d5621ae397c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000000000000000000000030113f2dd360b9deceb3400000000000000009afabbc164bbe33480a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a000000000000000000000000000000000000000000000000000000000000008900000000000000000000000000000000000000000002fd3b8768e7b1f574b1b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019373fa727f000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"231428065409894054706516","buyAmountMinusFees":"231428065409894054706516","buyAmountDisplay":"231428065409894054706516","buyAmountDisplayMinimum":"193952246946171502387801","buyAmountInEth":"231428065409894054707200","tradeAmountUSD":33570300,"tradeFeeAmountUSD":368559.931125,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":368559.931125,"available":true}},"fee":"109787500000000000000","feeInEth":"109787499999999999992","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"a8fb8efa-1c34-4692-b9c8-9a0be04d48c5","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"231428065409894054706516","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":41.224838142837896,"receivedValueInUsd":104335.14694185717,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"231428065409894054706516","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3631867813667308204518196","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"toAmount":"3631867813667308204518196","minAmountOut":"3595549135530635122473014","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"8271646761700000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":27.747487211525506}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"fromAmount":"3631867813667308204518196","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"231428065409894054706516","minAmountOut":"193952246946171502387801","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"4017656998540000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":13.477350931312388},"serviceTime":1260,"maxServiceTime":1200}],"gasFees":{"gasAmount":"12289303760240000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":41.224838142837896},"serviceTime":1260,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1260,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json b/e2e/mocks/swap_quotes/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x8899ca0b40ef9a7b85ec617da30ef748ededc9c44a2bcccea0b822abe9764fda.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json new file mode 100644 index 0000000000..0da6c6e171 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000bc0d05d120000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3154970066","buyAmountInEth":"989863555623319945","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json b/e2e/mocks/swap_quotes/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x88d022e19d93c6e276529a3fdf4245b42357ae32ccba6cd2f750e9fb1874a08b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json b/e2e/mocks/swap_quotes/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x896f4a517b70e5ec2d552ef43bd93b268fb523c4d8a19f699edc529c24333380.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json b/e2e/mocks/swap_quotes/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x8c1535268411f7a30b120d72c13882a0858a67a8e2a0189d33f8510deb60e6d1.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json new file mode 100644 index 0000000000..76bfbdabe7 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2511.361898159039,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2493.952887810285,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000a30b6f7a20a7f3b388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"748326682943839958","buyAmount":"749273381584862363","buyAmountMinusFees":"742904557841391033","buyAmountDisplay":"742904557841391033","buyAmountDisplayMinimum":"728046466684563213","buyAmountInEth":"743139207981681868","tradeAmountUSD":2511.361898159039,"tradeFeeAmountUSD":21.380332371545556,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.380332371545556,"available":true}},"fee":"6368823743471330","feeInEth":"6370835368476344","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json b/e2e/mocks/swap_quotes/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x917d73dae247badc051af273d8c868ba7081ad54df5eee0afd89713250393d4b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json b/e2e/mocks/swap_quotes/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x91ffe4bd20a85fb92cf89d9c6ceb939bae8e743cc757caaed9068f14e9c21afc.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json b/e2e/mocks/swap_quotes/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x924887ee4b4899654feb435b568f43b26d7047709196ae4d3a2e848c2c676a64.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json b/e2e/mocks/swap_quotes/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x97cfd13576c3002e40f5f426b0237de44c317cefde008bf74d8b99494c1c98a7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json b/e2e/mocks/swap_quotes/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x98b83f1ccefc28da34c1c6226c1916fdadeba9296ddbb958495e514a151fa456.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json new file mode 100644 index 0000000000..a74f9e1047 --- /dev/null +++ b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.10720451,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.540998854,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001d261f3bfb7c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc4542027c0fb2563c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6a763385c9b444ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db67243035120e14dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df973aa508aa5bb61ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e02f7522981c51779547c7844b5391daecc352b1d00e50a4cd80b38a1bc35dfa000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0fa2d8d0000000000000000000000000000000000000000000000044cc93314cde2731f0000000000000000000000000000018a9d00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417af3b55b2b0916c78230246b7d63a7daff7ebd6b972fa253773e362a7ef370b253106faef075ec6848d4cc7d3dc1042e41df3be71de639ec0f0a61e5498d37381c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0686848ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663c5b5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fdd7f9ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d73647e5b1ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac4726a55ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b04054cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b049297ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04f9ce9c119e8499b4b866b078fb113e28a2dda93a01a7f706339e4198c71f5947000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cb1c80000000000000000000000000000000000000000000000101ff27f8e04112fb40000000000000000000000000000018a3400673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417918e8636ea246d496ab545df542370f0b0b6d2d36c7e28463338552b097cc6a19493d4801b665b7607ba4c5e805f0d3f56adc8e99024d997d6ad05dbf34face1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b3238b5ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73600dddbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbe22bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf191e11802a00000000000000000000000000000000000000000000000000000074b2985cddfee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6903bcb3000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10003156794370779805696","buyAmount":"32703642844339","buyAmountMinusFees":"32703642844339","buyAmountDisplay":"32703642844339","buyAmountDisplayMinimum":"32049569987453","buyAmountInEth":"9747647786183681805312","tradeAmountUSD":33570294.10720451,"tradeFeeAmountUSD":285347.4999112383,"value":"9999998244640204720000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4999112383,"available":true}},"fee":"84999985079441740120","feeInEth":"85026832752151628352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json b/e2e/mocks/swap_quotes/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x99de4726f1d67afee9a32d298bc3ff0f4a752ec3aa68643cdf7112a7f8b7388d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json b/e2e/mocks/swap_quotes/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0x9ae7c9f062f39ddadc05f8228b0d4af5aee7d8bf3f73bae57c05b0923b1f3ebd.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json new file mode 100644 index 0000000000..bd0ac7961e --- /dev/null +++ b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560175.663590424,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703016.510569382,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b50f5294399c00000000000000000000000000000000000000000000000000001d70022d6fb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba6405c410121d33c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061f1a77fb49a12d9aee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939f00d15b2149d3c3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5ccb9fd4489730872ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04be610c442fc54f6d05b1f8e396b2ab5ea208ed79ab3fb772550eb96f4476aa3c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacac96890000000000000000000000000000000000000000000000044c7442fc06cdfc5d0000000000000000000000000000018a7f00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103aa56d363db04eafe7fa3977d705c209e885e51c0de0167a9542d5ceaf5aef0349aef3e18584ec6c14caef34ec9cf62c4b7aede2b5dfad9aa9b8aa6e1db40c81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c1bdc5ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e249c9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f38800ba86ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6051dda92ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81ff7460ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a5358afec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970625f196ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d69eef5f67f59a3e5d8aeb4db63b1a8f95ae1cdf06ae0e4826ea64de9f4a25a3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e711ac19250000000000000000000000000000000000000000000000101eb3fb311984725e0000000000000000000000000000018ab100673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041dec797a653ff857e33c0aaab21d57da5e39897d970dc7912bf4b3a8971ac675512ee74cc0bb4a8ec55c7982b992208c02b12b7ae695e78ff4a55b50c828923f41b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b660803b4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0051a1782eee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7726477ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c6622c4802a00000000000000000000000000000000000000000000000000000075da636fbd2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc213ad315000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"10000141736544255166464","buyAmount":"32693848560405","buyAmountMinusFees":"32693848560405","buyAmountDisplay":"32693848560405","buyAmountDisplayMinimum":"32366910074801","buyAmountInEth":"9744728501914313765888","tradeAmountUSD":33560175.663590424,"tradeFeeAmountUSD":285261.4931405186,"value":"9996984138834155356203","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.4931405186,"available":true}},"fee":"84974365180090320527","feeInEth":"85001204760626168904","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json b/e2e/mocks/swap_quotes/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa090ce9f5985e169e134338a76cf4daade3414f42f1ecc86c7b57721fda4788e.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json new file mode 100644 index 0000000000..35b30be2ed --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.38017252,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.80331239,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001d261f3fe75f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc457b089f50939d5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6e0239184edf7bee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db67798866cc62b1ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9c082dcd951df47ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04cb85e599ad07306a35c8ee1f2ac5ab2c09f5f512114c4ea80a161e9904f75a5a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ebbb00000000000000000000000000000000000000000000000044cc933aaf91181260000000000000000000000000000018a6700673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004108d5e56eba49a4c11fa4513205874a5d9d17a619dd382c554fa75cecb284f82868021bef59918abb0bf4f7f50cb92c67b4925cc8497dfb8eac3b6a668db4bcfa1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0687048ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663d5d9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fe8113ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d73648af00ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472746aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b04195ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b04a6bdee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04982d4cbf4ed080247db9ed949d24abf7e6d91608a098ac3e4a7598fccb5f0ed3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7229dcc3b0000000000000000000000000000000000000000000000101ff281c12601a4520000000000000000000000000000018aaa00673f78790000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418ba3504bebcee0e912fb65097267b9e37e3fd802de4155ac1d1076c8aa598c0363f599886c9128571a34b9ae7e42176169712bcd651cea0c5c00ce3a7ccc61c61b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b328918ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e736023310ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbf64aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf192820702a00000000000000000000000000000000000000000000000000000074b2986c952ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6907bd13000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10003156875708817547264","buyAmount":"32703643106579","buyAmountMinusFees":"32703643106579","buyAmountDisplay":"32703643106579","buyAmountDisplayMinimum":"32049570244448","buyAmountInEth":"9747647864346936205312","tradeAmountUSD":33570294.38017252,"tradeFeeAmountUSD":285347.50223146647,"value":"9999998325952559545000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50223146647,"available":true}},"fee":"84999985770596756132","feeInEth":"85026833443524949144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json b/e2e/mocks/swap_quotes/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa13c88273d237867b613f4d72a1dbbb088e24f25f725b09cb8c602c0c576f7f2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json index 69da852a00..f6af9191ca 100644 --- a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json +++ b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777.7,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":32581.47845280195,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000022da9292000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10040065059775966254","buyAmount":"36916018","buyAmountMinusFees":"36916018","buyAmountDisplay":"36916018","buyAmountDisplayMinimum":"36546858","buyAmountInEth":"9979960870037262245","tradeAmountUSD":32777.7,"tradeFeeAmountUSD":278.61045,"value":"10000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278.61045,"available":true}},"fee":"85000000000000000","feeInEth":"85340553008095713","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570.3,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":33134.57865357899,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000200ca002000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10003158550285014304","buyAmount":"33945600","buyAmountMinusFees":"33945600","buyAmountDisplay":"33945600","buyAmountDisplayMinimum":"33606144","buyAmountInEth":"9873323853782658006","tradeAmountUSD":33570.3,"tradeFeeAmountUSD":285.34755,"value":"10000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285.34755,"available":true}},"fee":"85000000000000000","feeInEth":"85026847677422621","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json new file mode 100644 index 0000000000..b78eea143d --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33556332.21107797,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709581.81785892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970753448fc4e1fe300000000000000000000000000000000000000000000000000001d71857a7c5b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111673b631be9eeb96c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077980473c90caa3a8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a7ed49de4416dfe7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247031d84e13d8d0d67a0ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fbd726fdd4d1f623db7d5b74aac2d5ff43dad1f1b6fd9ed33537e15628c14831000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafd9d9670000000000000000000000000000000000000000000000044cacf839ed89d74b0000000000000000000000000000018a6000673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004159c7b2149a622a6cfcf972994f75933fb66f7a2aaf78afc0ba69bb04daa6aed86a5281a3ee8b2702eafa21a2c7492a96fe0be18c9a775b97a6211afb09c36e981b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4acf706bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec0ad451c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c882dfcfee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651e95c9fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d7e38cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acddf2d2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd5a5dcee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049c652ea02bb07375df23a7951c0d0da63092ca932d45c6e22656fdd00d243d2e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e70025c0000000000000000000000000000000000000000000000101f88a2d93ac4e75b0000000000000000000000000000018a7300673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d7554336eb917540d49a6c64d01a34646e888170c1e26bee39bf635572da28a70fa8fc0ae2d25aed620bf356dbf3c8208550b26dc36507f7740fddae6a54fc8e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84b291c0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3cc1173ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df35e67bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7047e0d3f02a00000000000000000000000000000000000000000000000000000075e074160aeee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda871612b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711680","buyAmount":"32700412027179","buyAmountMinusFees":"32700412027179","buyAmountDisplay":"32700412027179","buyAmountDisplayMinimum":"32373407906908","buyAmountInEth":"9746684808820972205056","tradeAmountUSD":33556332.21107797,"tradeFeeAmountUSD":285228.8237941628,"value":"9998996478239664711490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285228.8237941628,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150048","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json new file mode 100644 index 0000000000..6bfb291b6c --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.49070184,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.460567515,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001d261af778e30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc45921fa707820acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6f71e56f3e4071ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db679c1719d17f9f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9dfa09b4109f71bee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a048fdd9672f5a428ce196a85ed6ce3b227bc7f39542b0d9a3ef69e3fedcf06e8fb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0145c270000000000000000000000000000000000000000000000044cc933e7c75b456900000000000000000000000000000189c700673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410f3df952eb59948eef1e7c06c2e6c710ada9e7b89a0dd1aa66f349c022c560f777a5970e501e1a6ec0e7fd2e6ab101d3d6031c28b7ed00c3d6d6c0bc1ee022881c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0687386ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663dc62c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fec58bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736490083ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472787fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b042180c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b04aee6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e758ed3e8a5a1b17a1fbea380982017378e17c0c60708129845054c23e2752c4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71cf220610000000000000000000000000000000000000000000000101ff282a52b96444a00000000000000000000000000000189c600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418dfa4e8e87a8d4855c305fafa26f42df49573a1f982476cc9923b8d49affc0f3280c89aa068c9b857ae9ee83c1dea6d302cb4150884b98dc3d0cece01c5cdde01b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b32a9a4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73602bd3aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cc55bbcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf0ddae2602a00000000000000000000000000000000000000000000000000000074b286c41aaee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a8ee4b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"10003156908643949544448","buyAmount":"32703569784395","buyAmountMinusFees":"32703569784395","buyAmountDisplay":"32703569784395","buyAmountDisplayMinimum":"32049498388708","buyAmountInEth":"9747626009936773165056","tradeAmountUSD":33570294.49070184,"tradeFeeAmountUSD":285347.50317096565,"value":"9999998358877292100000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50317096565,"available":true}},"fee":"84999986050456982850","feeInEth":"85026833723473571120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json new file mode 100644 index 0000000000..45f554cc4b --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":7.793323182455225,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999994,"available":true},"totalPrice":{"value":5.001402090999997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000000000000000000000000000818dca3021ec9000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b2b0d9e63e75ac04b0efc39d20809eabb9c79544b96cbd1b8ef993a49de1b147a6956e498d8e590172d6e2c7f9a4be993ace0d6ec7433e5835667390e407c63fe869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a7908a4a86a3ff6fd6a39092","sellAmount":"2321493457745455","sellAmountMinusFees":"2282360697426495","sellAmountDisplay":"2321493457745455","sellAmountInEth":"2322226713127717","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1490299999999999","tradeAmountUSD":7.793323182455225,"tradeFeeAmountUSD":0.06568492518677599,"value":"2321493457745455","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999998388,"available":true},"totalPrice":{"value":0.06568492518677599,"available":true}},"fee":"19566380159480","feeInEth":"19572560299042","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json index 0c82e64120..9627c95598 100644 --- a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json +++ b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.86,"available":true},"totalPrice":{"value":3267.86,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":3254.9612525657612,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f004a700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006e0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f0c368000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000bec1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000c238a4fb00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008200c3f531225be4b3606dea","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000431661283656663","buyAmount":"3255539213","buyAmountMinusFees":"3255539213","buyAmountDisplay":"3255539213","buyAmountDisplayMinimum":"32555393","buyAmountInEth":"996482803216262743","tradeAmountUSD":3267.86,"tradeFeeAmountUSD":27.776809999999998,"value":"1000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3267.8599999999997,"available":true},"totalPrice":{"value":27.776809999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8503669120911081","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.7924189170694,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f9f88100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001fabb16000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000c295000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000c619fb9400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000026257794ea783e78046af666","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3320861189","buyAmountMinusFees":"3320861189","buyAmountDisplay":"3320861189","buyAmountDisplayMinimum":"33208612","buyAmountInEth":"989815885993339945","tradeAmountUSD":3355.9700000000003,"tradeFeeAmountUSD":28.525745,"value":"1000000000000000000","gasPrice":"26706819757","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":28.525745,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json new file mode 100644 index 0000000000..40f74a7a41 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566987.398049995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709562.432878543,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001d718455bc040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111959a52d5b3e7635c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077c62aa4cdee3e119ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895ac43b2c00b9cfed7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247035c023ae8a55f4ddbee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04806293ee858138870a8a55ea53f6e17bceff581700e55ce49690f9ed475f0dd8000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe09efa0000000000000000000000000000000000000000000000044cad711b4aab2ad80000000000000000000000000000018a8b00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041f230e90a15f81c16dc2b42fdb50d7f15ea54b502de5b659ac01a6ac3f8a3dae421545d50a8db10f5f8b9893773fac6665f351af842eb60b4dd332f6f35bf90dc1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4ad5f2b3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec17f4e8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c90c61bdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6528d0f46ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85e015feee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acee45aac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970de60844ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0442ca2670ff8bb27ace3f2aa6f27dfe17bc2dfcba1294b6b65f332c4083ff2422000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e8960cd0000000000000000000000000000000000000000000000101f8a68265801e0aa0000000000000000000000000000018a8c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418c72c968a10b913ad5a122b01e120f55e9f0449a07445b19fcd59fbaf8938d4666ae67734ecd04f9f4da30dca01b83b07c99e49363ae2cca17b757ebf3bffe3d1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84f3f02bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d4e188a8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df2f655aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7044a045902a00000000000000000000000000000000000000000000000000000075e06f013c2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda749abd1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"10002171472942246811648","buyAmount":"32700392647633","buyAmountMinusFees":"32700392647633","buyAmountDisplay":"32700392647633","buyAmountDisplayMinimum":"32373388721157","buyAmountInEth":"9746679032553491444736","tradeAmountUSD":33566987.398049995,"tradeFeeAmountUSD":285319.39288342494,"value":"9999013234332130657592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.39288342494,"available":true}},"fee":"84991612491823110589","feeInEth":"85018457520009097912","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json index 60f3c509a9..d0733b08fc 100644 --- a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json +++ b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":3275.63,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.999994833,"available":true},"totalPrice":{"value":3253.789283583902,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c000a643200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1002377702839166910","buyAmount":"3253806096","buyAmountMinusFees":"3253806096","buyAmountDisplay":"3253806096","buyAmountDisplayMinimum":"3221268036","buyAmountInEth":"995694210762976972","tradeAmountUSD":3275.63,"tradeFeeAmountUSD":27.842855,"value":"1000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.6299999999997,"available":true},"totalPrice":{"value":27.842855,"available":true}},"fee":"8500000000000000","feeInEth":"8520210474132918","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c3f8035e20000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3287810911","buyAmountInEth":"989863555623319945","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json b/e2e/mocks/swap_quotes/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa98e2259524f94bb4ff9e44278ae9cc7a166bc8da74725e664bdd68ee474ab52.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa9a91d15e35d61fe34944c2f6547c2be8fdafc47831ef66334d6dfcd734cc5c7.json b/e2e/mocks/swap_quotes/0xa9a91d15e35d61fe34944c2f6547c2be8fdafc47831ef66334d6dfcd734cc5c7.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xa9a91d15e35d61fe34944c2f6547c2be8fdafc47831ef66334d6dfcd734cc5c7.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json new file mode 100644 index 0000000000..78bcff5f32 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566987.398049995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709562.432878543,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001d256161cc380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb1bae12b35ce87f5bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac19792ccc83724cf4fee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cba0a2022f43925a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411fc5197af5cfa954d4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04602bf4d70195c77a6ecbcb851439149f17c5dcf56b4c297fe351cd2bf9358ef4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe09efa0000000000000000000000000000000000000000000000044cad711b4aab2ad80000000000000000000000000000018a5c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419ee5d229fb78c883f454f7d80877037f113f629aa5b32cb322a37bd9a0fdbb8869827f950afe83af1172baa336acd97c4a8827c073f43bc26f8e6d2635a2593e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baeeda542ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b367e055c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fabc1859ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d711121976ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac2956b1aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000095274e20c2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095874b24a0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a042d03edec40bda6c5232f9e2a45d7ef3a3b075dc793ea2a867952e1de68f48661000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71eb4fb360000000000000000000000000000000000000000000000101f8a68265801e0aa0000000000000000000000000000018a1c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411d38673fe1eb916f9251cfe1c0847d5f01cdbad4f285c6800c099c8b3d50c1ef7c5e9d570ec03357b18a96a558cd189b77ee0b8ae6c9817dd6194d4032aa46411c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c565297ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f6eec556ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000095590d4d0eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad31d4f4b02a00000000000000000000000000000000000000000000000000000074af9f03cefee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda749abd1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"10002171472942246811648","buyAmount":"32700392647633","buyAmountMinusFees":"32700392647633","buyAmountDisplay":"32700392647633","buyAmountDisplayMinimum":"32046384794681","buyAmountInEth":"9746679032553491444736","tradeAmountUSD":33566987.398049995,"tradeFeeAmountUSD":285319.39288342494,"value":"9999013234332130657592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.39288342494,"available":true}},"fee":"84991612491823110589","feeInEth":"85018457520009097912","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json new file mode 100644 index 0000000000..4135596c4d --- /dev/null +++ b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2491.682924363639,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2474.4121161915396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000a36af8b8240477f388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"742462812350419959","buyAmount":"743402629133555975","buyAmountMinusFees":"737083706785920750","buyAmountDisplay":"737083706785920750","buyAmountDisplayMinimum":"729712869718061543","buyAmountInEth":"737316518381135557","tradeAmountUSD":2491.682924363639,"tradeFeeAmountUSD":21.212811888681877,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.212811888681877,"available":true}},"fee":"6318922347635225","feeInEth":"6320918211033435","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json new file mode 100644 index 0000000000..d391fd9381 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570296.09527872,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712815.451487437,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001d261f588b060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc46e1534bf7cdca1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f844b7be5610b09ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db6991c475cd9a5ccc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412dfba358f3deae8408ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fe92255a1f4b49bcd77a4b528047f4e2ebe620e8d9a9bb42f464688c61f42269000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ef08c0000000000000000000000000000000000000000000000044cc9375a825fccb60000000000000000000000000000018a3b00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004144cedcc705a01e08be805fb3161cb26ff9bccbfc4d1311ddbcadb943aeb1d92b0f48733ee0e8d116e30ac0f6bfa917c69cc8f15084821b266b0ed34ec37eb3d31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb068a294ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b6643b47c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e71a02a78dee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d7364d9fd7ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472b3bfee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b049780c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b052556ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bce05994501512b9bd4db7115790029d58e49d47f4e86ecc6359aadcbffe0176000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245d97510000000000000000000000000000000000000000000000101ff28f9368e73faa0000000000000000000000000000018a7100673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004176572d335672511f5af32a2a8c6b08a66fe0054538730af44425c39af20ff7f43d98d690460d482319c20fd77c2a605b0b2e071d9df3bebf00ee088f2e3059ce1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b34822eee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e7360a92f4ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdc74b0ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf196753902a00000000000000000000000000000000000000000000000000000074b298cf53cee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6920e174000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"10003157386770057969664","buyAmount":"32703644754292","buyAmountMinusFees":"32703644754292","buyAmountDisplay":"32703644754292","buyAmountDisplayMinimum":"32049571859207","buyAmountInEth":"9747648355464272986112","tradeAmountUSD":33570296.09527872,"tradeFeeAmountUSD":285347.5168098691,"value":"9999998836852429675000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5168098691,"available":true}},"fee":"84999990113245652237","feeInEth":"85026837787545492752","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json index 93f1092750..a8554aaf59 100644 --- a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json +++ b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":3277.77,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":3258.3068868761006,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000037c4d02000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1004006505977596625","buyAmount":"3691782","buyAmountMinusFees":"3691782","buyAmountDisplay":"3691782","buyAmountDisplayMinimum":"3654865","buyAmountInEth":"998044802684512291","tradeAmountUSD":3277.77,"tradeFeeAmountUSD":27.861044999999997,"value":"1000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":27.861044999999997,"available":true}},"fee":"8500000000000000","feeInEth":"8534055300809571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3313.6872507858657,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000033484f2000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3394795","buyAmountMinusFees":"3394795","buyAmountDisplay":"3394795","buyAmountDisplayMinimum":"3360848","buyAmountInEth":"987400736831933991","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json new file mode 100644 index 0000000000..a9c21af497 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570293.804233156,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.249849234,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001d261f37a13d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc4502b7ca0eec06ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f66865fc35dfb34ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db66c57690575755dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df91e5f7436aa1db6ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a045032d51692ac415e1a648e60569659fb227249f3b40cf2f594187799cc0ef86e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db08819af0000000000000000000000000000000000000000000000044cc9326e2135a2de0000000000000000000000000000018ab600673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a98e63cbb42172877714f4512e0b22c30600132cc754b02017ef35b5508d78ad5d27a8638adcabf8f7e96f37ef8fdca520ba65f1354c6928b5b1e46c706a6dc01b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0685f66ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663b3c9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fd1c4aee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736470643ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac4725f25ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b03ef04c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b047c3aee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049dfca7708d9fabd31e59a3910fea0cbd9a96877cb2fa3802fa162532e813fc65000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245c8ecd0000000000000000000000000000000000000000000000101ff27d1cfc8922c20000000000000000000000000000018a6a00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415ad2560c473c613b53a8a8ef943a56ab7dffb3ca23dffb0d06003a8f8a0158ef1657adf44bc9a86540f843042c67e56ddf1e342047b283f7278058ed2c5c5a7a1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b31df7cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e735ff6324ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbcbd8ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf1912e7702a00000000000000000000000000000000000000000000000000000074b2984b6c7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe68ff4bb7000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"10003156704092453246976","buyAmount":"32703642553271","buyAmountMinusFees":"32703642553271","buyAmountDisplay":"32703642553271","buyAmountDisplayMinimum":"32049569702206","buyAmountInEth":"9747647699427953725440","tradeAmountUSD":33570293.804233156,"tradeFeeAmountUSD":285347.4973359818,"value":"9999998154390384020000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4973359818,"available":true}},"fee":"84999984312318264170","feeInEth":"85026831984785852584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json b/e2e/mocks/swap_quotes/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xb6c1a3b3ab23ecf673b633f2200e2ca9f4179fab9384be8075d96abaa43a3643.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json b/e2e/mocks/swap_quotes/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xb995822a3ed4c3e33fb613e8c8f8a0ee8cd20d6ef6b92cb92207f6318a8792b9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json b/e2e/mocks/swap_quotes/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xbcfaf40b83fbdc1bbe2e28ad70b8f86ab2ac9e040e83db7df9a84d7ea2165085.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json b/e2e/mocks/swap_quotes/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xbd2a6beee3ee4549f11111b7887cc85f88eea10a38441d0a1bd578be099031e9.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json b/e2e/mocks/swap_quotes/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xc1a5bea34857e53b8841d211b877f7c56b76490a1548ae5abc284124f34f8774.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json index 123c0528ab..48376a7fe4 100644 --- a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json +++ b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777700,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998224686,"available":true},"totalPrice":{"value":32073922.086188484,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001ce26d3f536a00000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000092000000000000000000000000000000000000000000000000000000000000009e00000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000000ca0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000ea88907b2e000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf480000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c03779581988dfa71a9e226ba94ecac891802686a70986de56a10e67422a5c2e228883c56c096ed0130d5d6ede6645d19b43462718f19779093aa14a91c2642c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000d995d0d6b900000000000000000000000000000000000000000000000f7a831fd5d353462c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c91faa8a7e1ee2de80758371925e4cd859404134196dd300fc5ed05f84a7fd300141a7d3517f85a33c417828dde5ccb2934af7d035884b25bd11452341a5e6c030000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd39ccecfceafc800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000002fbf01ad8c5000000000000000000000000000000000000000000000036496cc4c6a3cd8000000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf4b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c090b30635ae3f816c8327472f34ffbbf6eb28b4aece3fd7d9f2328f04a81d2e161724aa4e59a3830f49552f7148d23ab77e1354acd9f6d5039bb0f7ccb60a671000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000ea1d87d122000000000000000000000000000000000000000000000010a98bd702abf08000000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cfa200000000000000000000000000000000000000006733cf490000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b4cef07f40eec1ccbbdc1398b68cec135346661b63a1cb97bd79817b7b278ea8e38845373b8f5ab9af98cc51f753a5465782adad9bac03e52e7ba47bfecec778e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f91080507857ac40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb25269eba708070000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000bc1f64a4d3d74e100d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3bf7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000999fc40e3e4a367822b87344","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10040065059775966254080","buyAmount":"32079617225546","buyAmountMinusFees":"32079617225546","buyAmountDisplay":"32079617225546","buyAmountDisplayMinimum":"31758821053291","buyAmountInEth":"9824492397804534155264","tradeAmountUSD":32777700,"tradeFeeAmountUSD":278610.45,"value":"10000000000000000000000","gasPrice":"29499439762","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":80},{"name":"0x","part":17.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278610.45,"available":true}},"fee":"85000000000000000000","feeInEth":"85340553008095713160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712745.754849713,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000001d72402027d50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c405f9396cae53aec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b08263e200b89b6e221ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896abb38215e4f45fbdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711bc0352f9d8404febee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049ca65f9bd66a5a253f78d81c146c833c863c1286818685f1b709dfcaa9d28f45000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16f68e30000000000000000000000000000000000000000000000044cc93fbe9ffc00000000000000000000000000000000018a7d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041702251d0c6691b1c842e44211659e6bb540a2736b875632e9bcc27420f7c619f04ab35816df8b05571044d8f11ea393c225970c2498476722295dab26c5bb42f1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c5541b3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1d05d0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8ae2fa0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678353554ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c2cf16ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0af9153c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711aae839ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0481f3cfb45511abc574772f16d0fc101142e32a0bf415e48cdbcf79ef7b66f182000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e722a0550a0000000000000000000000000000000000000000000000101ff2af0ad7f100000000000000000000000000000000018ab700673f78790000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416b0486d7311f61b4844602065abe812140b5ec182db9ec11d7775e89e6ff0dc11beedd087336a33db7efac82e589037d39d9f90bcc61811a778bbdf020df97361b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93fd8015ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0114b573e7ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f2c535ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72264ec5402a00000000000000000000000000000000000000000000000000000075e35f98d0dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64f9b149000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10003158550285014303744","buyAmount":"32703575077193","buyAmountMinusFees":"32703575077193","buyAmountDisplay":"32703575077193","buyAmountDisplayMinimum":"32376539326422","buyAmountInEth":"9747627587508145045504","tradeAmountUSD":33570300,"tradeFeeAmountUSD":285347.55,"value":"10000000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.55,"available":true}},"fee":"85000000000000000000","feeInEth":"85026847677422621584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json b/e2e/mocks/swap_quotes/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xc37bac6373415804bfd470b242ad47863ad987eeb9757ef24c012c787031ad9d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json b/e2e/mocks/swap_quotes/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xc5e4b08a22816ffa7ba3426cf8ad4591952172789fd85ca157965430162016ba.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json b/e2e/mocks/swap_quotes/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xc817647742ed906372d0f825a22a6b0cbfbcbdff8a3908e65c6da1963cb05376.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json b/e2e/mocks/swap_quotes/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xcba65e6f28aa1ec4c7faebdcddc36970b02eec54537026b8f86a905b120ce68f.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json b/e2e/mocks/swap_quotes/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xcd15c6b5ae7e4d9f9092a6596c63f9bd4898cda3d816c4ed85376528cba0e94b.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json b/e2e/mocks/swap_quotes/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xd031f8d89beeb0e6acaf68570702d71cc3bf1fbb781355f79de2baad2a5569f2.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json b/e2e/mocks/swap_quotes/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xd5b3250d5d6bd134107284cecebd868c1028049cf34f99c10b27c26a7a935150.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json b/e2e/mocks/swap_quotes/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xd5b661ef4600f2e07669f7c9f13dd93f6ffa22b2724ea2afbb50e4a0a5f1fcb6.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json new file mode 100644 index 0000000000..676e76162b --- /dev/null +++ b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":3.3425461200000005e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181997715,"available":true},"totalPrice":{"value":0.014690118221681845,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000000000000269400000000000000000000000000000000000000000000000000000000000038cb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000034e00000000000000000000000000000000000000000000000000000000033000a007e5c0d200000000000000000000000000000000000000000000000000030c00009c4160e68c1d72340aeefe5be76eda63ae2f4bc75141100044fe0291560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037c6e3d34a6175120111111125421ca6dc452d289314280a0f8842a65514910771af9ca656af840dff83e8264ecf986ca012456a75868000000000000000000000000000000000000000077a4a4ee116bb5875d1cfc64000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000395e00000000000000000000000000000000000000000000000000038571f03f862710000000000000000000000000000072c800673f7882572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004149e8e2a6bf054514a52e9ad465b571f6891de14f2b038d8d2c94ec4a5b477bd85a8ea2b08cf555e750dc1f456fbdd8ae0297d059fce79b01a97769c51051d89c1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"14686","buyAmountMinusFees":"14686","buyAmountDisplay":"14686","buyAmountDisplayMinimum":"14540","buyAmountInEth":"4377309159999","tradeAmountUSD":3.3425461200000005e-11,"tradeFeeAmountUSD":2.8190148000000003e-13,"value":"9960","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM20","part":50},{"name":"DEFI_PLAZA","part":50}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.8190148000000003e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json new file mode 100644 index 0000000000..b2988b83dc --- /dev/null +++ b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563550.0201824,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706259.195338294,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629967518d5866de00000000000000000000000000000000000000000000000000001d70c1785a370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b10683f53f5ab5d868bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cc210f43fff447abee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a33467f582e764a3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f4715f001a838ddce0ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04021eed34b27d40be3a5427dd495bd9648e963a3c5bdb23db7b8678fb10f16dc0000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacbd427f0000000000000000000000000000000000000000000000044c9096549ed3a6b600000000000000000000000000000189e200673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041bd4354a98bba6d96a5072f81080728c525e9f9fcd06f06479d5cf3e8478a04c335dfeffb7b6c154a9c618a1e7068bf82ebed4c0a52f50c871903cb814ead85711c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4948330fee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f5c509c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a8398947ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b79c4daee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83eb2dd1ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a908c3c1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fccf9bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e08385c552673b9bad8ae89aeadcc26f631040616032ced7e02e5a5846ecb97e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e710be25d20000000000000000000000000000000000000000000000101f1e33bd5399b12a00000000000000000000000000000189e000673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416db0fe347610ff69317ebe94527f213a8e512afd087e4150847137f3a0adc50245fc447653951d30b7674975fe7a4cc91a9de602771531e557cbce9cebd371351c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75595d02ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0092a617c0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db47bb3fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e50ccb4902a00000000000000000000000000000000000000000000000000000075dd62100f3ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2746579000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"10001147215315512138752","buyAmount":"32697090336121","buyAmountMinusFees":"32697090336121","buyAmountDisplay":"32697090336121","buyAmountDisplayMinimum":"32370119432760","buyAmountInEth":"9745694745584224726016","tradeAmountUSD":33563550.0201824,"tradeFeeAmountUSD":285290.1751715504,"value":"9997989300120165687090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1751715504,"available":true}},"fee":"84982909051021408340","feeInEth":"85009751330181853168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdac1e5c57448525e3d7f7ed0b6a31ee4ae2195bb1f905790021d400d33941064.json b/e2e/mocks/swap_quotes/0xdac1e5c57448525e3d7f7ed0b6a31ee4ae2195bb1f905790021d400d33941064.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdac1e5c57448525e3d7f7ed0b6a31ee4ae2195bb1f905790021d400d33941064.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json b/e2e/mocks/swap_quotes/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdaccd3a899e990c38a089d48f308eee1c53cfd640d3ef942f2fbd0cfdeeccd1f.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json new file mode 100644 index 0000000000..49d427cb63 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33552947.80136945,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706255.013615992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001d70c139333f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b106805ee99f624445fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cbe7f022bc368595ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a2de813cd958421cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f46c897257897cf7f4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04516c2dd0693287821fb8b81defc9d4938f4b6bfe4108e7340f5bba461758a9f3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae4249890000000000000000000000000000000000000000000000044c908cfab382be3b0000000000000000000000000000018a8200673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041027cbdb194f7d656218565a35a42bbfeb42d7b6718fca26d7dae3c2e0f70722933454e600bc2e384ed55ee821962dcf0b862458fc13762e2277731a0658d68331c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4947b227ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f4c10fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a82ee610ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b6d1af6ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83ea8b7cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a907807bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fb8b21ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04790d65fa96077fc277e262e003f6fd59f50ca3da5c286f4a94230466db2ae0dc000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7181c25220000000000000000000000000000000000000000000000101f1e10ac212a495e0000000000000000000000000000018abb00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ff8cb87977b0dfc54f7ac26710945dbf41ed82c26fd5129c7117e77a45c3065936d4e1935ad52ee25ca391cc23ba92327b8c4742ec6c35400b70a29d1f4363bf1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75544e6fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a009290a0cbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db467747ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e502ab8702a00000000000000000000000000000000000000000000000000000075dd6112f86ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2349b33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"32697086155571","buyAmountMinusFees":"32697086155571","buyAmountDisplay":"32697086155571","buyAmountDisplayMinimum":"32370115294016","buyAmountInEth":"9745693499529491725312","tradeAmountUSD":33552947.80136945,"tradeFeeAmountUSD":285200.0563116403,"value":"9997988003876508667090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285200.0563116403,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json new file mode 100644 index 0000000000..799c484388 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563550.0109991,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706259.18651182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629964da0c1ce59c00000000000000000000000000000000000000000000000000001d70c17838180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b10683f34f38a23dc5fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cc20f067cfa2e3b8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a334398cf5b4afefc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f4715c6382f3b5ccfaee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040cce2431687de93ea4dc2009945727cb02759b1209e02a3bfe0883ad9d294e8c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacbd42370000000000000000000000000000000000000000000000044c90964f9181415300000000000000000000000000000189f200673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004136e6eb58ece78aef2b499ed9ca7fb0e220573f2b27696bbcdcac4ade92187b71124b00dd0f277663c9fb2403241e2e9b10fa211558ab851aaceb07178cda46a81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c494832c9ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f5c47cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a8398387ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b79be03ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83eb2d7aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a908c312c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fcceecee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ab13cd069575301577611fd6a5d382b8dd3d6bf03759162386d470feee08e6eb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e710be24c30000000000000000000000000000000000000000000000101f1e33aa61a4b4f700000000000000000000000000000189e600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418c7299bd7042fe57ddcf44190c6dc14e8cdc38577e27558e584cabe83c88cbe24344c1cac781516ec8585784516a617f132a940f030b642ef67a182ef21a8a171b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75595a46ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0092a60c27ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db47ba90ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e50cc5d002a00000000000000000000000000000000000000000000000000000075dd620f867ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2744301000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"10001147212579103448064","buyAmount":"32697090327297","buyAmountMinusFees":"32697090327297","buyAmountDisplay":"32697090327297","buyAmountDisplayMinimum":"32370119424025","buyAmountInEth":"9745694742954143285248","tradeAmountUSD":33563550.0109991,"tradeFeeAmountUSD":285290.1750934923,"value":"9997989297384621033178","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1750934923,"available":true}},"fee":"84982909027769278782","feeInEth":"85009751306922379312","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json b/e2e/mocks/swap_quotes/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xdbb457cbafd94267c9ec6639f87dc550701b2853b07b0805c16268525d3f9039.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json index c3e9fce2ab..a253a6d5f5 100644 --- a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json +++ b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":32777700,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":88258.37730603,"available":true},"totalPrice":{"value":29320048.763008237,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007a84e8b13000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000001fdf000000000000000000000000000000000000001fc1001f93001f49001f2f00a0c9e75c4800000000000000080101000000000000000000000000000000000000000000001f01001541000f0600a007e5c0d2000000000000000000000000000000000000000ee200080d0007f30004b600a0c9e75c4800000f0f0f02010100010000000000000004880002d800028900020e0001bf00014400007400005a404097dec872013f6b5fb443861090ad931542878126f39b5b9b0000000000000000000000000000000000000000000000000000000d01aac3c100000000000000000000000000000000000000000000000000000000673a66c84041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051005426178799ee0a0181a89b4f57efddfab49941ecc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4a331a7700000000000000000000000000000000000000000000000000000000000000000c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23aa370aacf4cb08c7e1e7aa8e8ff9418d73c7e0f6ae4071118002dc6c03aa370aacf4cb08c7e1e7aa8e8ff9418d73c7e0f0000000000000000000000000000000000000000000000000000000cce883c77c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a00000000000000000000000000000000000000000000000000000001957e05907ee63c1e5007bea39867e4169dbe237d55c8242a8f2fcdcc387c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca0000000000000000000000000000000000000000000000000000000c0ff748432c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a0000000000000000000000000000000000000000000000000000000c70c75aeb8ee63c1e5001ac1a8feaaea1900c4166deeed0c11cc10669d36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd7c9b6472d91c2fd1af64cabad046f44d158dce085aa2be72641b31d66a495cd3000000000000000000000000ff9e5633a678c6c5d3c3e891511af1e0c061a5980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e063b1fce4000000000000000000000000000000000000000000000015af1d78b58c40000044000000000000000000000000000000000067a858cc00000000000000000000eefc756b81ed6b52ed0777043c13a9db834f342be3d6079ed3f64ef57f748620deb75f225ca1b743831fc5e4540102d4d45d0f2f8310dfc808fc120b703dc7500000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a0c9e75c480000000000000018170300000000000000000000000000000000000000000000030f0002c00002105100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a04442decdb08829e9095f38b7fbb506b8d67229a7cbf6b7c419e2e716e548c0474000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000129204efe3000000000000000000000000000000000000000000000000000000259e09305d0000000000000000000000000000027177006733cf7500000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004104c6941f095bc9655acccb2b9d31aa200e62991d0ce89ed1bab5ff82bd84483d2ffdfdf92f29d4b8b6ebdad3965ccab5bf368380ca07e14d6a19b3506d7daba31b000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800443df021240000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d2da5c40902a0000000000000000000000000000000000000000000000000000001299452c1fbee63c1e5013416cf6c708da44db2624d63ea0aaef7113527c6a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000001b0907070000000000000000000000000000000000000006a70006580006090002105100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a04d4ed474d49f316e21d6ae822a99b4de64e2dc3fe03e61740e73478a8285a6379000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000018a4e90500000000000000000000000000000000000000000000000000000055027dadd00000000000000000000000000000027173006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e5e1eb6a12b6cd1ecedc31989781904c5105db3b31b10a549169a678aa0301c0257874df749e6e33c4f27bb3895f21cf1262b9b155e8cda96c50df533f91cd231c0000000000000000000000000000000000000000000000000000000000000000a0860a32ec00000000000000000000000000000000000000000000000000000055027dadd00003d05100ead050515e10fdb3540ccd6f8236c46790508a76dac17f958d2ee523a2206206994597c13d831ec700c4e525b10b000000000000000000000000000000000000000000000000000000000000002000000000000000000000000022b1a53ac4be63cdc1f47c99572290eff1edd8020000000000000000000000006a32cc044dd6359c27bb66e7b02dce6dd0fda2470000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055027dadd00000000000000000000000000000000000000000000000000000000018a05374000000000000000000000000000000000000000000000000000000006733cf75000000000000000000000000000000000000000000000000000d84421de0623b80e8abc1d4f24a7fa815a56407f610bf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026000000000000000000000000067297ee4eb097e072b4ab6f1620268061ae8046400000000000000000000000060cba82ddbf4b5ddcd4398cdd05354c6a790c309000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041622afcc55ae520a54b96a1d97ed80991fc76e944e835f7c0c0c76dcb80263ccf29a92f57b1ae55a4af264967a741550f2bb62e405f844337d10053dd688e6e541c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004156f6f791aee52b941fca890fdfb5d1d5e7be2ec0f7aa1e9ef731dd1e0658620743f3a541dd16efa10e098cac70936c4add03a41225f5ce3ee8d690ea089535271b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000001e69ccceee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec702a0000000000000000000000000000000000000000000000000000000005b64506aee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000006170002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001a7796e3b4b77ec907fdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001a8787df245ed3ea6913ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000027bb04be261a83de5696c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000239e417e3fd9e87b9444fee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000000181306010000000000000000000000000000000000000003290002da00028b00007b0c20a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48004375dff511095cc5a197a54140a24efef3a4166ae4071118002dc6c0004375dff511095cc5a197a54140a24efef3a416000000000000000000000000000000000000000000000000000000000261f4aba0b86991c6218b36c1d19d4a2e9eb0ce3606eb485100111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a0471697798811773bacdb88f1489462e9bdcef508a24244acc4f66ac294622cd31000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000ca24c1c000000000000000000000000000000000000000000000000000000584f529e630000000000000000000000000000027175006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041c9c415effff79800ffcb49d4e9c0b54a408d73e97ddbab96e1f8dea90f17828233c306cc2661de5ef963fbee09766037c83fcca1e6c1051031a5d719ffbde45b1c0000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000004c9890c5ee63c1e5009a772018fbd77fcd2d25657e5c547baff3fd7d16a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4802a00000000000000000000000000000000000000000000000000000000058d9f0fcee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0c9e75c48001312030202020201010000000009920009050008780007bf0005d100051800040a0002fc00010e00a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e895fb2000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd5d0df1f4e54eace0329ad6f8082025e2e6006f6f79a2c1f4382de8996e1d5968000000000000000000000000d1a045c863db62874288e96accb31c15e529f64a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000ff1b3c9b2aae3ed204480000000000000000000000000000001006957bf580000000000000000000079119fb6bc8405bb87f4db0af4872b067b6f2958ee50ad96eebf41c7cc211660e8ca81bd85c38792a8706678e69e15a2758e77457bcf2137f1d08cb77a93b9810000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003cd111f4000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003bffe581000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000003ca586dec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000001ca00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc201449fda64bd9e082880cd3410c11ec40e8e15677025f2cf79ee8ac64d60a179cf654e25bf79000000000000000000000000d1a045c863db62874288e96accb31c15e529f64a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000007b7585e80000000000000000000000000000000000000000000000254dda381b9b62cdc04480000000000000000000000000000001006957bf8900000000000000000000cb9167c1e212bbb01995ccddf9a61e746ee783580e4945fe0e4e37cc5643f0502aca66d55041fb348b6c50ccc5788d331f0b4dae940183fd8efb690ba15a93750000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a58000000000000000000000000000000000000000000000000000000005e541470c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000002425c2e18ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000027c858287ee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000007bc1b9e950000000000000000000000000000162780a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a6500d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10040065059775966254080","buyAmount":"33220697749","buyAmountMinusFees":"33220697749","buyAmountDisplay":"33220697749","buyAmountDisplayMinimum":"32888490772","buyAmountInEth":"8980959528472300543488","tradeAmountUSD":32777700,"tradeFeeAmountUSD":278610.45,"value":"10000000000000000000000","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":3.333333333},{"name":"ONE_INCH_LIMIT_ORDER_V4","part":5.333333333},{"name":"CURVE","part":5.111111111},{"name":"CURVE_V2_TRICRYPTO_NG","part":2.222222222},{"name":"DEFISWAP","part":0.2222222222},{"name":"UNISWAP_V2","part":2.222222222},{"name":"UNISWAP_V1","part":0.2222222222},{"name":"UNISWAP_V3","part":58},{"name":"SUSHI","part":5.777777778},{"name":"PMM11","part":1.555555556},{"name":"PMM15","part":3.555555556},{"name":"LITEPSM_USDC","part":11.11111111},{"name":"CURVE_V2","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3277.77,"available":true},"totalPrice":{"value":278610.45,"available":true}},"fee":"85000000000000000000","feeInEth":"85340553008095713160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":31579296.103837468,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007750f96a500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011e000000000000000000000000000000000000000000000000000000000000012a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003c00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000000000000000000000000000008c000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa7399d9f9c5dc10000000000000000000000000000000000000000000000000000000179c9c7e6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000aeaf6fbda0235f6e25000000000000000000000000000000000000000000000000000000026391a895000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f7ad66c6f66bc100000000000000000000000000000000000000000000000000000000248805fd8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002f8937c9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002d11b1ae000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000144375727665563200000000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002cbcd2cc00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b908000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002ffaca20000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000006712f67b00000000000000000000000000000000000000000000001b6982f65f3be6800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78870000000000000000000000000000000000000000673f784c0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c805adaf35745f9488e978eea3fc8e3d2efd8d99cf7d3734f599b6ca1fda0f21f45ec83fb9fbff07d48b2ccca52899ff8fd057d32974431bfbbaa12f189710d3e00000000000000000000000000000000000000000000001adfe9ce6767e72af90000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000037cb5c4200000000000000000000000000000000000000000000000ee49e0fdbf57f6314000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78870000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3491a4ed21e632b5197db8d492d5bcf1369019a23c56a0cc01b5f62cd8b50cae72d2edf08054a8a70d67cb24a109355d015911e97c306a9d7e7cbabc3b993d4300000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000078858314800000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000005b0037d22afdbb5cb640d081","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10003158550285014303744","buyAmount":"32352249444","buyAmountMinusFees":"32352249444","buyAmountDisplay":"32352249444","buyAmountDisplayMinimum":"32028726950","buyAmountInEth":"9409886293333213576704","tradeAmountUSD":33570300,"tradeFeeAmountUSD":285347.55,"value":"10000000000000000000000","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":7.5},{"name":"Uniswap_V2","part":2.5},{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":85},{"name":"Curve_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.55,"available":true}},"fee":"85000000000000000000","feeInEth":"85026847677422621584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json b/e2e/mocks/swap_quotes/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xe49d8211c5e2a786922e6ecda40db04cabb080833a28048d926d27d6ef2b961d.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json b/e2e/mocks/swap_quotes/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xe67f57c17b114c934eb0d18e46f319fc99104106969c4a069cfc8546729e0510.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json b/e2e/mocks/swap_quotes/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xe744a6a4e4015f33d9ccf76c5278a0a06d8f34b40cec0f0b2f610bc262506a5a.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json index 18a289958b..e98edf72e8 100644 --- a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999999,"available":true},"totalPrice":{"value":49.99974165,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.63,"available":true},"totalPrice":{"value":46.60460230967496,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000032faedc7b120000000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000007bc7165531437148ac17fe5f90bcafc6a9622d870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a79720000000006733cf8400000000000000000000000000000000000000006733cf4a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c0e35d801d7ecb92232d8a35e20b95c73249cf0b1ee02c96df9321648284a4f8c625cd7a6018c9f3811472a99cccae3115e4e8bf1b435ca7398c047170861b9af0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fcad35cd6867b9945659b179","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"15300454012717802","buyAmount":"14349648000000000","buyAmountMinusFees":"14227675992000000","buyAmountDisplay":"14227675992000000","buyAmountDisplayMinimum":"142276759920000","buyAmountInEth":"14261505177600925","tradeAmountUSD":49.99974165,"tradeFeeAmountUSD":0.3995351685650384,"value":"0","gasPrice":"29496439762","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999987,"available":true},"totalPrice":{"value":0.3995351685650384,"available":true}},"fee":"121972008000000","feeInEth":"122262021189720","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1 } \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":46.8712261657467,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000320754159f1a610000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c9902f99a02838c58cb3771ba4630f1c8d4f5667932d249a68ce2a17282d8b3bd6f669f31db90acb8c327b9feecac1341554f3918b6665e56a51cc8cc39307ab40000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ddfd09c788cb3d932adee4c7","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14081806556928609","buyAmountMinusFees":"13962111201194716","buyAmountDisplay":"13962111201194716","buyAmountDisplayMinimum":"139621112011949","buyAmountInEth":"13966521204226109","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4018209000593481,"value":"0","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999775,"available":true},"totalPrice":{"value":0.4018209000593481,"available":true}},"fee":"119695355733893","feeInEth":"119733162113889","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json b/e2e/mocks/swap_quotes/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xedbfaf1f9c00628fad81339dc910b4de4011ad2e84315c35d510da23a595b165.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json b/e2e/mocks/swap_quotes/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xef6d8d946587a24f8b99cbe2e990c70b6f7c9a3361aec2ce8c2f8140d3418200.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json index f3aeb1562a..bfc4ff5817 100644 --- a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json +++ b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.629999999998,"available":true},"totalPrice":{"value":2.0044487143399112,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9999948329999995,"available":true},"totalPrice":{"value":1.988219726815589,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000001e08db0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868a290f7e121bb7db5de689b837ce881ca55c5e426a0404f63babfe5513077217b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000001e5535000000000000000000000000000000000000000000000000000227d07a230be70000000000000000000000000000027180006733cf75000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004181e9d68ceca42a19213d6ad546bcfaa899bf08a63567f905b3ca4d272b11d1fc78b351e0da633e149338b4a30d7b60783b2289c5f2264dbaecf0096fc4f3e6c61c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"613382676840474","buyAmount":"1988230","buyAmountMinusFees":"1988230","buyAmountDisplay":"1988230","buyAmountDisplayMinimum":"1968348","buyAmountInEth":"608416433634118","tradeAmountUSD":2.0044487143399112,"tradeFeeAmountUSD":0.017037814071885884,"value":"611927694623603","gasPrice":"30798415403","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3275.6299999997455,"available":true},"totalPrice":{"value":0.017037814071885884,"available":true}},"fee":"5201385404300","feeInEth":"5213752753143","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999993,"available":true},"totalPrice":{"value":2.0542596286822734,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999985,"available":true},"totalPrice":{"value":2.027754459849182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000001e9f820000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a758681125f52ade835b3008dbe7b552dca11daab464930bd7cfbe0cc74cbef13436ff000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000001eef97000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000189f400673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041a4e0ae9eb83464dfb51b3d33112b8300c63d48b356c815057e22aa7461a034d72cd5d42337e3116b4b6e5e8d944a36417abce6b9e4d8074cbd370e4447ec32d81c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"612120975063029","buyAmount":"2027186","buyAmountMinusFees":"2027186","buyAmountDisplay":"2027186","buyAmountDisplayMinimum":"2006915","buyAmountInEth":"604223059159999","tradeAmountUSD":2.0542596286822734,"tradeFeeAmountUSD":0.01746120684379682,"value":"611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999215,"available":true},"totalPrice":{"value":0.01746120684379682,"available":true}},"fee":"5201385404300","feeInEth":"5203028288035","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json b/e2e/mocks/swap_quotes/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xf1e06f58f541753328b0bf9059dfc75c48fb81edcd86533d27144ca2ae193e81.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json new file mode 100644 index 0000000000..b550bcbc94 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570296.09527872,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712742.002519786,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001d723fe77cef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3d278b00fcf1d93c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b08260ade8a38b30350ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab666d8c025e7b15c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b7acd9dc3c61eddeee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a046a3233696cbbcfaf99bf5377ce105ecccae81b59f948aa0eb79013d3195cca6c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ef08c0000000000000000000000000000000000000000000000044cc9375a825fccb60000000000000000000000000000018a3500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2e1ecab5f0c9cfcc403840057c800b886db385c067fe2dd7542565b48fbba2466dfd2d0a25a91746738ed18972953ddcb012b66dd56587d6302a5dda7cd8e8b1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c54ce08ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1c1c89c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a4a409ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e67829d854ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c23d6bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0ae6f40c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a9c510ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e5effa2e3c6482ad6abe1c3b0d5064c71556cf412cf189d285813daa59078e24000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245d97510000000000000000000000000000000000000000000000101ff28f9368e73faa0000000000000000000000000000018a6d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a091cabfcb094e0e758dee515fa3856f19c24b621f38dfb28e148e8f2494dda41afa4d87a1bf3cd1a74fa98027666f7b0b042896e9a72489e20325479cae928d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f8f672ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0114a23130ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f1a280ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7225bd6b302a00000000000000000000000000000000000000000000000000000075e35eb5b6dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64c073db000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"10003157386770057969664","buyAmount":"32703571325915","buyAmountMinusFees":"32703571325915","buyAmountDisplay":"32703571325915","buyAmountDisplayMinimum":"32376535612656","buyAmountInEth":"9747626469402224365568","tradeAmountUSD":33570296.09527872,"tradeFeeAmountUSD":285347.5168098691,"value":"9999998836852429675000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5168098691,"available":true}},"fee":"84999990113245652237","feeInEth":"85026837787545492752","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json b/e2e/mocks/swap_quotes/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xf652f3f18e0c096d586a6c549f458575f34c5e01bbb0ab4ab261958595e30508.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json new file mode 100644 index 0000000000..00df4cb5b4 --- /dev/null +++ b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json @@ -0,0 +1 @@ +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566969.80966618,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709545.530886244,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001d2560651f6b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb1ac86e02543daaf1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac196ae411c26116853ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cb8b26e7271b31e6ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411fb1c1faa89ec8cd70ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0412323f841d3a23da657b11e6b257349f1c10fe3f3feb08ffb475bb9aa5dfe73c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafde80ed0000000000000000000000000000000000000000000000044cad4b4f57ce71300000000000000000000000000000018a4200673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004114f24d6b2cb0df40c7966a4b484b8172e3b8b024387c660002dc6e80a398edfa4207f3f6f2bea1eec93a137c75a40ba147f3522ba268790af45f7086abadce9c1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baeeba183ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b363d02ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fa9188a5ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d710df6e83ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac292e198ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000009527491351c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958746125fee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04debde90f4e8bbb38e4350c469ddd295853f47d2a65f3689bcf41ca59ce915a3c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71ead0c870000000000000000000000000000000000000000000000101f89da69894628770000000000000000000000000000018a2300673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d9f03c7cf3b5c9aa7897eccbb53932ac73852e91a1c282359f057776556cf59c70427e50c6313f8e1c8c140175fdea06c841434bb379e75d22d372c076fd0d2a1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c4216f4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f698e3c0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a00000000000000000000000000000000000000000000000000000009559083cd1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad2f4cd8b02a00000000000000000000000000000000000000000000000000000074af9b0f2f7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda647d6eb000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"10002166232018216695808","buyAmount":"32700375750379","buyAmountMinusFees":"32700375750379","buyAmountDisplay":"32700375750379","buyAmountDisplayMinimum":"32046368235372","buyAmountInEth":"9746673996157964205056","tradeAmountUSD":33566969.80966618,"tradeFeeAmountUSD":285319.24338216253,"value":"9999007995062950057592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"LITEPSM_USDC","part":16.66666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.24338216253,"available":true}},"fee":"84991567958035075489","feeInEth":"85018412972154841920","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json b/e2e/mocks/swap_quotes/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xfce5f01b02b8096b079f2d4285fbe461ab9e953ee04c26230ee0c5e0a2fafeee.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json b/e2e/mocks/swap_quotes/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xfe70705a5fdacf42d1c32af36a2a02538580f6c1d50d5102e0f2fa3c90a43abb.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json b/e2e/mocks/swap_quotes/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json new file mode 100644 index 0000000000..2465aa9aea --- /dev/null +++ b/e2e/mocks/swap_quotes/0xffb5dbacf600636041e44909ddf2fe814cec266c6331e8d32d57d7279f8fc665.json @@ -0,0 +1 @@ +{"data":{"slippagePercent":2}} \ No newline at end of file diff --git a/package.json b/package.json index 1a711e364f..d76786c030 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "// Build and zip": "", "bundle": "yarn build && yarn zip", "// Runs tests": "", - "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21174436", + "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21065950", "anvil:optimism": "OPTIMISM_MAINNET_RPC=$(grep OPTIMISM_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $OPTIMISM_MAINNET_RPC", "anvil:kill": "lsof -i :8545|tail -n +2|awk '{print $2}'|xargs -r kill -s SIGINT", "test": "./scripts/unit-tests.sh", diff --git a/scripts/unit-tests.sh b/scripts/unit-tests.sh index 571d9058ad..cfd8fa4368 100755 --- a/scripts/unit-tests.sh +++ b/scripts/unit-tests.sh @@ -6,9 +6,8 @@ set -a source .env set +a -# Launch anvil in the bg yarn anvil:kill -yarn anvil > anvil-unit.log 2>&1 & +yarn anvil --chain-id 1337 > anvil-unit.log 2>&1 & echo "Launching Anvil..." # Give it some time to boot diff --git a/src/core/raps/actions/crosschainSwap.test.ts b/src/core/raps/actions/crosschainSwap.test.ts index df227b3a9a..1c4565d0b6 100644 --- a/src/core/raps/actions/crosschainSwap.test.ts +++ b/src/core/raps/actions/crosschainSwap.test.ts @@ -5,11 +5,10 @@ import { QuoteError, getCrosschainQuote, } from '@rainbow-me/swaps'; -import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; -import { ChainId } from '~/core/types/chains'; +import { ChainId, chainHardhat } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { @@ -28,7 +27,7 @@ let crosschainQuote: CrosschainQuote | QuoteError | null; beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([mainnet]); + updateWagmiConfig([chainHardhat]); await delay(3000); crosschainQuote = await getCrosschainQuote({ chainId: 1, @@ -45,7 +44,7 @@ beforeAll(async () => { test('[rap/crosschainSwap] :: should estimate crosschain swap gas limit', async () => { const swapGasLimit = await estimateCrosschainSwapGasLimit({ - chainId: mainnet.id, + chainId: chainHardhat.id, requiresApprove: false, quote: { ...crosschainQuote, @@ -55,7 +54,7 @@ test('[rap/crosschainSwap] :: should estimate crosschain swap gas limit', async }); test('[rap/crosschainSwap] :: should execute crosschain swap', async () => { - const provider = getProvider({ chainId: mainnet.id }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_3, provider); const swapTx = await executeCrosschainSwap({ diff --git a/src/core/raps/actions/swap.test.ts b/src/core/raps/actions/swap.test.ts index b6b312e205..80241d51d9 100644 --- a/src/core/raps/actions/swap.test.ts +++ b/src/core/raps/actions/swap.test.ts @@ -5,10 +5,10 @@ import { QuoteError, getQuote, } from '@rainbow-me/swaps'; -import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; +import { chainHardhat } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { TEST_ADDRESS_2, TEST_PK_2, delay } from '~/test/utils'; @@ -19,7 +19,7 @@ let quote: Quote | QuoteError | null; beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([mainnet]); + updateWagmiConfig([chainHardhat]); await delay(3000); quote = await getQuote({ chainId: 1, @@ -36,7 +36,7 @@ beforeAll(async () => { test('[rap/swap] :: should estimate swap gas limit', async () => { const swapGasLimit = await estimateSwapGasLimit({ - chainId: mainnet.id, + chainId: chainHardhat.id, requiresApprove: false, quote: quote as Quote, }); @@ -45,10 +45,10 @@ test('[rap/swap] :: should estimate swap gas limit', async () => { }); test('[rap/swap] :: should execute swap', async () => { - const provider = getProvider({ chainId: mainnet.id }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_2, provider); const swapTx = await executeSwap({ - chainId: mainnet.id, + chainId: chainHardhat.id, gasLimit: '600000', gasParams: { maxFeePerGas: '800000000000', diff --git a/src/core/raps/actions/unlock.test.ts b/src/core/raps/actions/unlock.test.ts index 3a5c23771d..2441fa3e5d 100644 --- a/src/core/raps/actions/unlock.test.ts +++ b/src/core/raps/actions/unlock.test.ts @@ -1,10 +1,10 @@ import { Wallet } from '@ethersproject/wallet'; import { getRainbowRouterContractAddress } from '@rainbow-me/swaps'; import { Address } from 'viem'; -import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; +import { chainHardhat } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { @@ -23,17 +23,19 @@ import { beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([mainnet]); + updateWagmiConfig([chainHardhat]); await delay(3000); }); test('[rap/unlock] :: get raw allowance', async () => { - const rawAllowance = await getAssetRawAllowance({ - owner: RAINBOW_WALLET_ADDRESS, - assetAddress: USDC_MAINNET_ASSET.address as Address, - spender: getRainbowRouterContractAddress(mainnet.id), - chainId: mainnet.id, - }); + const params = { + owner: RAINBOW_WALLET_ADDRESS as `0x${string}`, + assetAddress: USDC_MAINNET_ASSET.address as `0x${string}`, + spender: getRainbowRouterContractAddress(chainHardhat.id), + chainId: chainHardhat.id, + }; + + const rawAllowance = await getAssetRawAllowance(params); expect(rawAllowance).toBe('0'); }); @@ -42,8 +44,8 @@ test('[rap/unlock] :: asset needs unlocking', async () => { amount: '1000', owner: RAINBOW_WALLET_ADDRESS, assetToUnlock: USDC_MAINNET_ASSET, - spender: getRainbowRouterContractAddress(mainnet.id), - chainId: mainnet.id, + spender: getRainbowRouterContractAddress(chainHardhat.id), + chainId: chainHardhat.id, }); expect(needsUnlocking).toBe(true); }); @@ -52,14 +54,14 @@ test('[rap/unlock] :: estimate approve', async () => { const approveGasLimit = await estimateApprove({ owner: RAINBOW_WALLET_ADDRESS, tokenAddress: USDC_MAINNET_ASSET.address as Address, - spender: getRainbowRouterContractAddress(mainnet.id), - chainId: mainnet.id, + spender: getRainbowRouterContractAddress(chainHardhat.id), + chainId: chainHardhat.id, }); expect(Number(approveGasLimit)).toBeGreaterThan(0); }); test('[rap/unlock] :: should execute approve', async () => { - const provider = getProvider({ chainId: mainnet.id }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const approvalTx = await executeApprove({ gasLimit: '60000', @@ -67,7 +69,7 @@ test('[rap/unlock] :: should execute approve', async () => { maxFeePerGas: '800000000000', maxPriorityFeePerGas: '2000000000', }, - spender: getRainbowRouterContractAddress(mainnet.id), + spender: getRainbowRouterContractAddress(chainHardhat.id), tokenAddress: USDC_MAINNET_ASSET.address as Address, wallet, }); diff --git a/src/core/raps/unlockAndCrosschainSwap.test.ts b/src/core/raps/unlockAndCrosschainSwap.test.ts index 4486d8c304..b65a623ce8 100644 --- a/src/core/raps/unlockAndCrosschainSwap.test.ts +++ b/src/core/raps/unlockAndCrosschainSwap.test.ts @@ -5,7 +5,6 @@ import { SwapType, TokenAsset, } from '@rainbow-me/swaps'; -import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { @@ -17,6 +16,7 @@ import { } from '~/test/utils'; import { connectedToHardhatStore } from '../state/currentSettings/connectedToHardhat'; +import { chainHardhat } from '../types/chains'; import { updateWagmiConfig } from '../wagmi'; import { @@ -106,7 +106,7 @@ const doesntNeedUnlockQuote: Quote | QuoteError | null = { beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([mainnet]); + updateWagmiConfig([chainHardhat]); await delay(3000); }); diff --git a/src/core/raps/unlockAndSwap.test.ts b/src/core/raps/unlockAndSwap.test.ts index 886fcaf2b4..673e6707de 100644 --- a/src/core/raps/unlockAndSwap.test.ts +++ b/src/core/raps/unlockAndSwap.test.ts @@ -1,12 +1,10 @@ import { Wallet } from '@ethersproject/wallet'; import { - ChainId, ETH_ADDRESS as ETH_ADDRESS_AGGREGATORS, Quote, QuoteError, getQuote, } from '@rainbow-me/swaps'; -import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { @@ -21,6 +19,7 @@ import { import { gasStore } from '../state'; import { connectedToHardhatStore } from '../state/currentSettings/connectedToHardhat'; +import { chainHardhat } from '../types/chains'; import { GasSpeed } from '../types/gas'; import { updateWagmiConfig } from '../wagmi'; import { getProvider } from '../wagmi/clientToProvider'; @@ -59,7 +58,7 @@ const SELECTED_GAS = { beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([mainnet]); + updateWagmiConfig([chainHardhat]); await delay(3000); doesntNeedUnlockQuote = await getQuote({ chainId: 1, @@ -154,7 +153,7 @@ test('[rap/unlockAndSwap] :: create unlock and swap rap without unlock', async ( }); test('[rap/unlockAndSwap] :: create unlock and swap rap without unlock and execute it', async () => { - const provider = getProvider({ chainId: ChainId.mainnet }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: doesntNeedUnlockQuote as Quote, @@ -182,7 +181,7 @@ test('[rap/unlockAndSwap] :: create swap rap and execute it', async () => { setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: ChainId.mainnet }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: ethToEnsQuote as Quote, @@ -199,7 +198,7 @@ test('[rap/unlockAndSwap] :: create unlock and swap rap with unlock and execute setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: ChainId.mainnet }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: needsUnlockQuote as Quote, @@ -216,7 +215,7 @@ test('[rap/unlockAndSwap] :: create unlock and wrap eth rap with unlock and exec setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: ChainId.mainnet }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: wrapEthQuote as Quote, @@ -244,7 +243,7 @@ test('[rap/unlockAndSwap] :: create unwrap weth rap and execute it', async () => setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: ChainId.mainnet }); + const provider = getProvider({ chainId: chainHardhat.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: unwrapEthQuote as Quote, From 64d38ffc44aab1c5718f8b047a98bdc886069478 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:41:53 -0600 Subject: [PATCH 17/24] rm retry:0 --- e2e/serial/vitest.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/e2e/serial/vitest.config.ts b/e2e/serial/vitest.config.ts index 41496ab83f..051364c609 100644 --- a/e2e/serial/vitest.config.ts +++ b/e2e/serial/vitest.config.ts @@ -7,7 +7,6 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - retry: 0, bail: 1, threads: false, sequence: { From 4030edf0ab2d2cba41e3bac5f9013b7ef3e2f312 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:52:07 -0600 Subject: [PATCH 18/24] clean up --- e2e/serial/send/2_shortcuts-sendFlow.test.ts | 1 - e2e/serial/swap/1_swapFlow1.test.ts | 24 -------------------- src/entries/popup/index.ts | 4 ++-- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/e2e/serial/send/2_shortcuts-sendFlow.test.ts b/e2e/serial/send/2_shortcuts-sendFlow.test.ts index 06e3881812..16d87b6db4 100644 --- a/e2e/serial/send/2_shortcuts-sendFlow.test.ts +++ b/e2e/serial/send/2_shortcuts-sendFlow.test.ts @@ -200,7 +200,6 @@ describe('Complete send flow via shortcuts and keyboard navigation', () => { await navigateToElementWithTestId({ driver, testId: 'send-review-button' }); const reviewText = await findElementByText(driver, 'Review & Send'); expect(reviewText).toBeTruthy(); - await delay(10_000); await navigateToElementWithTestId({ driver, testId: 'review-confirm-button', diff --git a/e2e/serial/swap/1_swapFlow1.test.ts b/e2e/serial/swap/1_swapFlow1.test.ts index f70c2d6a13..d79105d074 100644 --- a/e2e/serial/swap/1_swapFlow1.test.ts +++ b/e2e/serial/swap/1_swapFlow1.test.ts @@ -435,11 +435,8 @@ it('should be able to type native amount on sell input', async () => { id: 'token-to-sell-info-fiat-value-input', driver, }); - // await delayTime('very-long'); expect(fiatValueText).toBe('1'); - // await delay(10_000); - const assetToSellInputText = await getTextFromTextInput({ id: `token-to-sell-swap-token-input-swap-input-mask`, driver, @@ -836,14 +833,6 @@ it.skip('should be able to find exact match on other networks', async () => { }); it('should be able to go to review a swap', async () => { - // await findElementByTestIdAndClick({ - // id: 'token-to-sell-search-token-input', - // driver, - // }); - // await findElementByTestIdAndClick({ - // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-row`, - // driver, - // }); const toSellInputEthSelected = await findElementByTestId({ id: `token-to-sell-swap-token-input-swap-input-mask`, driver, @@ -881,20 +870,7 @@ it('should be able to go to review a swap', async () => { await delay(2000); toSellInputEthSelected.clear(); - // await findElementByTestIdAndClick({ - // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, - // driver, - // }); - // await clearInput({ - // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, - // driver, - // }); toSellInputEthSelected.sendKeys('1'); - // await typeOnTextInput({ - // id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, - // text: 1, - // driver, - // }); await findElementByTestIdAndClick({ id: 'swap-confirmation-button-ready', driver, diff --git a/src/entries/popup/index.ts b/src/entries/popup/index.ts index cd80af5aaa..54cf9032f6 100644 --- a/src/entries/popup/index.ts +++ b/src/entries/popup/index.ts @@ -13,8 +13,8 @@ require('../../core/utils/lockdown'); initThemingLocal(); syncStores(); -// if (process.env.IS_TESTING === 'true') -await import('../../../e2e/mockFetch').then((m) => m.mockFetch()); +if (process.env.IS_TESTING === 'true') + await import('../../../e2e/mockFetch').then((m) => m.mockFetch()); const domContainer = document.querySelector('#app') as Element; const root = createRoot(domContainer); From 235db690139243529265d0fdbaf730436978c9db Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:33:48 -0600 Subject: [PATCH 19/24] check vlock number add new hashed responses --- e2e/fetchResponses.ts | 39 ++++++++++++------- ...5bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 2 +- ...6066699fd1060c241779e3add6232f89e343a.json | 2 +- ...454e78e38b11035c362d16cf1f99517c17e5c.json | 2 +- ...136d7a9877e65f829336d06bb78ac9519db5c.json | 2 +- ...11edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 2 +- ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 2 +- ...65df60cac4a76c55ba8396447e7bb39df9564.json | 2 +- ...82a4a05f57a74a3d9c103bc50e71ace079371.json | 2 +- ...a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 2 +- ...ff452497dae4a18eb4ff2202f85e62d381733.json | 2 +- ...0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 2 +- ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 2 +- ...ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 2 +- ...4fb2522ae9fc86ba795f24d2ad83dfe167880.json | 2 +- ...17601fb8a2e3ac6ee669a4648b026a9c298b8.json | 2 +- ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 2 +- ...45da2605f262260b318098555a15ff38648d1.json | 2 +- ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 2 +- ...fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 2 +- ...6cc07c56055917e72180d8fc5edf84aa32294.json | 2 +- ...6d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 2 +- ...51b698080dedc9238880bc9079f7eacfd2e5c.json | 2 +- ...d1ab0946ee5aa2177f20baab2c5509df04be9.json | 2 +- ...fd6c870d4d65d34a79ad469fb83607f780b71.json | 2 +- ...3f12440be839615a3cebaf7f65bcc5f707d29.json | 2 +- ...ac467b41b9c8c9bd4782a58703c159c712eeb.json | 2 +- ...9d59c8b15516f425a55b7b6674bb71e2d4231.json | 2 +- ...6c7b633177f5cff199b77734c7b1785dc8c25.json | 2 +- ...851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 2 +- ...59c94a8a59532aae82764d52eabb1a0edbf42.json | 2 +- ...a5c3cff6938c2f2e087cca3cd82ed724a7066.json | 2 +- ...d46e88adbadd0975870d6413ebe1ca67a7aef.json | 2 +- ...4b499e94ae4e4b79b142da31252eb4379555a.json | 2 +- ...5b40962f6406b1e055e952997ef6c463bd35d.json | 2 +- ...a13d5854d705b7125731e11b5a35998446c17.json | 2 +- ...7374daca3ad0c13b0a66b932cc16a0febba62.json | 2 +- ...566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 2 +- ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 2 +- ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 2 +- ...d60817009bcd206e13e51c24de2dac7fb0a1c.json | 2 +- ...7bc30e0ee667a698a8d5e7c523753643ea650.json | 2 +- ...80ab045a671f00b94b780c18cf473bc9a37ed.json | 2 +- ...21081f306331c381324980c6430ab7a4d1226.json | 2 +- ...b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 2 +- ...0832a595eee05335e634b8b4777d2e688fcde.json | 2 +- ...0df74fa8f78414287f43a9432f5b5030cf972.json | 2 +- ...bb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 2 +- ...e862798dea46cd676fa9874f2ebfb8080841b.json | 2 +- ...48003d87b2258ba07063b691b31b205b7656c.json | 2 +- ...3bad99e23333214c4e2737a2fa61b2f391a74.json | 2 +- ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 2 +- ...a5c68d9aab6a8f76d0962310e3c6638f5d707.json | 2 +- ...d524f3b2624e3b427bd49c633034df4bbacaf.json | 2 +- ...bb7b133455f21d092c97d992991cba4adff95.json | 2 +- ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 2 +- ...5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 2 +- ...02386980a8460ac11d3a0b87b2679bce1909e.json | 2 +- ...ca3b6a336fc922dcd9c1dd20be6c35070425b.json | 2 +- ...0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 2 +- ...e3131b1b8338eaba32ce8eb90a6592914c24d.json | 2 +- ...063d811f17eadf2e86ab426641124c7ffd68b.json | 2 +- ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 2 +- ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 2 +- ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 2 +- ...b02921f8d08704f5122d11f75281fd9e5a700.json | 2 +- ...b84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 2 +- package.json | 2 +- 68 files changed, 92 insertions(+), 81 deletions(-) diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts index e03746f53f..43f5d96bcc 100755 --- a/e2e/fetchResponses.ts +++ b/e2e/fetchResponses.ts @@ -1,18 +1,29 @@ -import { writeFile } from 'fs/promises'; +/* eslint-disable @typescript-eslint/no-var-requires */ -import { Hex, createClient, http, sha256 } from 'viem'; -import { getBlockNumber } from 'viem/actions'; +// this file is ran locally with ts-node to fetch the responses from the swap quotes urls +require('dotenv').config(); +const { writeFile } = require('fs/promises'); -import urls from './mocks/mock_swap_quotes_urls.json'; +const { createClient, http, sha256 } = require('viem'); +const { getBlockNumber } = require('viem/actions'); -const client = createClient({ transport: http(process.env.ETH_MAINNET_RPC) }); -const blockNumber = await getBlockNumber(client); -console.log(blockNumber); +const urls = require('./mocks/mock_swap_quotes_urls.json'); -await Promise.all( - urls.map(async (url) => { - const res = await fetch(url).then((r) => r.text()); - const hash = sha256(url as Hex); - writeFile(`./mocks/swap_quotes/${hash}.json`, res); - }), -); +(async () => { + const client = createClient({ transport: http(process.env.ETH_MAINNET_RPC) }); + const blockNumber = await getBlockNumber(client); + + // check initial blockNumber + console.log('OUTSIDE FUNCTION', blockNumber.toString()); + + await Promise.all( + urls.map(async (url: RequestInfo | URL) => { + const res = await fetch(url).then((r) => r.text()); + const hash = sha256(url); + + // check if blockNumber is the same the entire time + console.log('INSIDE FUNCTION', blockNumber.toString()); + await writeFile(`e2e/mocks/swap_quotes/${hash}.json`, res); + }), + ); +})(); diff --git a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json index b4b3801401..f90fe200c0 100644 --- a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json +++ b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335703002.05425966,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":74614655.9073813,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000119eaca3960000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000015140000000000000000000000000000000000000014f60014c800147e00146400a0c9e75c4800000000000000080101000000000000000000000000000000000000000000001436000ce0000a2d00a007e5c0d2000000000000000000000000000000000000000a0900065d0006430002e600a0c9e75c48000000000000140f0e010000000000000000000000000000000000000002b80001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260a26d69263ef43e9a68964ba141263f19d71d516ae4071118002dc6c060a26d69263ef43e9a68964ba141263f19d71d51000000000000000000000000000000000000000000001154991657e59a8df94ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000061724d70dc10d8bc8fea3ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f00000000000000000000000000000000000000000002c7d006b2483535a625acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000003d389655ab32657a45dacc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000280303020200000000000000000000000000000000032f00027f0002300001600000b05100a5407eae9ba41422680e2e00537571bcc53efbfd6b175474e89094c44da98b954eedeac495271d0f00443df021240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f8930dab95100debf20617708857ebe4f679508e7b7863a8a8eee6b175474e89094c44da98b954eedeac495271d0f0044a6417ed60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f829a8b4c51001116898dda4015ed8ddefb84b6e8bc24528af2d86b175474e89094c44da98b954eedeac495271d0f004491695586000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d745838d1b0000000000000000000000000000000000000000000000000000000067460fcb02a0000000000000000000000000000000000000000000000000000000d75c0de349ee63c1e50148da0965ab2d2cbf1c17c09cfb5cbe67ad5b14066b175474e89094c44da98b954eedeac495271d0f5120bebc44782c7db0a1a60cb6fe97d0b483032ff1c76b175474e89094c44da98b954eedeac495271d0f00443df0212400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b3638ee229f0020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a0c9e75c480000000000002b04020100000000000000000000000000000000000000037e00032f0002e00000d0510080466c64868e1ab14a1ddf27a676c3fcbe638fe5dac17f958d2ee523a2206206994597c13d831ec70044394747c5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000534ccfe00000000000000000000000000000000000000000000000000000000000000005100111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a0467a3d8d6a23deb25c18a0bea32c2bcb1691fc7d2088e48bf35eb45168a2f450c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000025d7ebdc00000000000000000000000000000000000000000000000000000090f734291700000000000000000000000000000189c200673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412325686ff7f61caae26617f994768a3c204f2fcbc5d7317fba79d41d151c1db74b399f93a48f48dba89a85804e3d46e5e94dc0386c88b9d30eb240c224ebbb901c0000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000423f470fee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000002a7ec1f5eee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec700a007e5c0d200000000000000000000000000000000000000000000000000028f00019f00a0c9e75c48000000000000000100310000000000000000000000000000000000000000000001710000f60000dc4160eef417e1d5cc832e619ae18d2f140de2999dd4fb0044d3a4acd3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000991d867a1c3dc40eda065000000000000000000000000000000000000000000000000000000006740c9cb0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8124041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23fd4cf9303c4bc9e13772618828712c8eac7dd2f6ae4071118002dc6c03fd4cf9303c4bc9e13772618828712c8eac7dd2f0000000000000000000000000000000000000000000010fb75fbdfc0a112d24fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2021b40000000000000000000000000000000000000000000000000000000006740c9cb0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c480014090505050202010100000000072800066f0005b600052900041b00030d0002800001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc24ab6702b3ed3877e9b1f203f90cbef13d663b0e86ae4071118002625a04ab6702b3ed3877e9b1f203f90cbef13d663b0e80000000000000000000000000000000000000000000000000000000012d21df8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2eacadc656c9394fb09af25aebc0897fdffe484a16ae4071118002dc6c0eacadc656c9394fb09af25aebc0897fdffe484a1000000000000000000000000000000000000000000000000000000002bcec6ffc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db051007f86bf177dd4f3494b841a37e810a34dd56c829bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa89b1c0000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000026599223dee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000143b18ddd000000000000000000000000000000000000000000000000000000000000000000a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015886b798000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000328cbaa84ee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2bb2b8038a1640196fbe3e38816f3e67cba72d9406ae4071118002dc6c0bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000000000000000000000000000000000018c4283a9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000347c9464bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf782260fac5e5542a773aa44fbcfedf7c193bc2c59900a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000011cc3c9ae6000000000000000000000000000013f280a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100031586114971118100480","buyAmount":"76440967910","buyAmountMinusFees":"76440967910","buyAmountDisplay":"76440967910","buyAmountDisplayMinimum":"75676558231","buyAmountInEth":"22233409687029768005632","tradeAmountUSD":335703002.05425966,"tradeFeeAmountUSD":2853475.517461207,"value":"100000000611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"ETHEREUM_PANCAKESWAP_V2","part":0.6666666667},{"name":"SUSHI","part":16.66666667},{"name":"UNISWAP_V2","part":10.77777778},{"name":"CURVE_V2","part":3.555555556},{"name":"CURVE_V2_TRICRYPTO_NG","part":4.666666667},{"name":"DEFISWAP","part":0.2222222222},{"name":"SYNAPSE","part":0.6666666667},{"name":"PMM15","part":0.4444444444},{"name":"ETH_BANCOR_V3","part":33},{"name":"UNISWAP_V3","part":18.88888889},{"name":"CURVE","part":9.777777778},{"name":"VERSE","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2853475.517461207,"available":true}},"fee":"850000005201385404300","feeInEth":"850268481977254503872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292002.19248796,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":73751688.77119744,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000011e1570d3300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000e400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000ca000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c60000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000740000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f218000000000000000000000000000000000000000000000000000000055f94a0ef000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000004dc50b4fc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000865f9115d0a42b3112a000000000000000000000000000000000000000000000000000000038c8b93f7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000432fc88ae852159889500000000000000000000000000000000000000000000000000000001add32015000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000014437572766556320000000000000000000000000000000000000000000000000000000000000003263d6682e3d8f3e430000000000000000000000000000000000000000000000000000000016c3bff3900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b90800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000001c42616e636f72563300000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000000b9111930000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eef417e1d5cc832e619ae18d2f140de2999dd4fb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42cb7b3000000000000000000000000000000000000000000000000000000004ca6419d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000006e056ce000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000012168593e400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000aef01038b44e7f2cedf16dd","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"77571895251","buyAmountMinusFees":"77571895251","buyAmountDisplay":"77571895251","buyAmountDisplayMinimum":"76796176299","buyAmountInEth":"20584241002086966155264","tradeAmountUSD":358292002.19248796,"tradeFeeAmountUSD":3045482.018636148,"value":"100000000611927694623603","gasPrice":"30015947302","source":"0x","protocols":[{"name":"SushiSwap","part":40},{"name":"Uniswap_V3","part":17.5},{"name":"Curve_V2","part":15},{"name":"Uniswap_V2","part":20},{"name":"BancorV3","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045482.018636148,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json index 65ccc5bfd6..29582129bf 100644 --- a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json +++ b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2501.5871028969655,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2483.462325254361,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000a4113ef1a038edd388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"745414024230539959","buyAmount":"746357304565681096","buyAmountMinusFees":"740013267476872807","buyAmountDisplay":"740013267476872807","buyAmountDisplayMinimum":"732613134802104080","buyAmountInEth":"740013267476872807","tradeAmountUSD":2501.5871028969655,"tradeFeeAmountUSD":21.290398148927956,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":21.290398148927956,"available":true}},"fee":"6344037088808289","feeInEth":"6344037088808289","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2500.491744423076,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2469.4691531432627,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000098ce8a3ad67932f00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000099094e50b8078bd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003ac415e18e58e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009ac838f94b8da3c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007f5478f2b4db1e4ff272ac68","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"697944746046383530","buyAmount":"695142394933555086","buyAmountMinusFees":"689233684576619868","buyAmountDisplay":"689233684576619868","buyAmountDisplayMinimum":"682341347730853670","buyAmountInEth":"689285627438701197","tradeAmountUSD":2500.491744423076,"tradeFeeAmountUSD":21.17043651207033,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.17043651207033,"available":true}},"fee":"5908710356935218","feeInEth":"5909155656307574","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json index 1fb294170e..2fddeeb120 100644 --- a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json +++ b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.49070184,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.909528166,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001d7244256cdd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3bd4ebbb04f8eb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f5ce7cac75be7dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab46c0ce3398389ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5e48582b740ec91ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0460396ecfa4522aabd88c0753307d80631c0d077229e6d3ce6c23f19d35d50265000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ebf180000000000000000000000000000000000000000000000044cc933e7c75b45690000000000000000000000000000018a6500673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412d2223e82ae5078a4dbc536e520d899981ba12f7c99f07842657c268c426caee09d30fa39bc8ee35a821a868573cb3e8b2ad509c6bc217d4e541c563d1d463311c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549e80ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1bbcacc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a0b7e3ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678252cedee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c20190ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adf80cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a94d6bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a046025c17442f9b7ee2c095618bc41f4c201884bc7b6ffe68b15b0a4287966d5f9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cde0f0000000000000000000000000000000000000000000000101ff282a52b96444a0000000000000000000000000000018a9100673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041517a5285335d6b83e65dea472733ef17ec68c660872c320b88879c7956a8eebb79cc7ef6b03ae5f13a0ee06080f683129e1c97b4580f6efb2d1573d4d83de2901c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f71916ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149a46ffee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e30808deee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7230f091b02a00000000000000000000000000000000000000000000000000000075e370356ceee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe69095bdd000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"10003156908643949544448","buyAmount":"32703643212765","buyAmountMinusFees":"32703643212765","buyAmountDisplay":"32703643212765","buyAmountDisplayMinimum":"32376606780638","buyAmountInEth":"9747647895996735365120","tradeAmountUSD":33570294.49070184,"tradeFeeAmountUSD":285347.50317096565,"value":"9999998358877292100000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50317096565,"available":true}},"fee":"84999986050456982850","feeInEth":"85026833723473571120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.11998863,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34890037.81002826,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001f6b61c07fc700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1df35a7ad8dcdb23e00000000000000000000000000000000000000000000000000000e29f818fe8d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f791a73b3dd726a0000000000000000000000000000000000000000000000000000097478bd6b96000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa611a277eaffc600000000000000000000000000000000000000000000000000000647771af087000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd5ff9000000000000000000000000000000000000000000000000000000c70440732c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd5ff9000000000000000000000000000000000000000000000000000000ca8adb2166000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c154c6f76000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc8d5895ef500000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000ec88f244f772acdbad46384","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"34895536299683","buyAmountMinusFees":"34895536299683","buyAmountDisplay":"34895536299683","buyAmountDisplayMinimum":"34546580936687","buyAmountInEth":"9737877990585405291520","tradeAmountUSD":35829194.11998863,"tradeFeeAmountUSD":304548.1500199033,"value":"9999998358877292100000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1500199033,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json index fc635e477d..f428af9903 100644 --- a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json +++ b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c1fd43fb20000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3254600700","buyAmountInEth":"989863555623319945","tradeAmountUSD":3355.9700000000003,"tradeFeeAmountUSD":28.525745,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":28.525745,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3555.740919606365,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d42f1db40000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b923affa02c2e5734d5a363f0d7d16554dfcdf00646523bd647233c4c27b7ae1b7ee09a36c32ad16aa15afdceec3b909036e83efc6eb1acb4e49b16a84deaa626869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f4d54a4f4e25abbadab642b2","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3556301286","buyAmountMinusFees":"3556301286","buyAmountDisplay":"3556301286","buyAmountDisplayMinimum":"3485175261","buyAmountInEth":"992489056873086989","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.454819999999998,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json index ee09f78794..840e0760f4 100644 --- a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json +++ b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560175.65990364,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703089.930477887,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b411cb61375d00000000000000000000000000000000000000000000000000001d70068238a50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba63f9512701bb60c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061f1a6b979b8a0364ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939f00beb975857094c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5ccb8f0d9594a7029ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bd413cf7e2b126abd60fd3f17161d4510d0192e47649f5f3815fb457ce4e1917000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dac3811f80000000000000000000000000000000000000000000000044c7442f9ff943bd50000000000000000000000000000018aaf00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ea999070e41fe0ccc16528b8afff7cdfa085af7946ab65d623b1b98b1e17a3bd1d445b3fb4f239e973da9aab92d4ea51d0ccb948cc25f2e0bc4e9cb38c80aa3d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c1bdaaee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e24990c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f38800b837ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6051dd7d3ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81ff743cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a5358ab8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970625f150ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04b5ccf97748b0c350c3c8bb16c9e9d5175d80dc0dd11e310fc73faeffcf3742e7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e712894dc40000000000000000000000000000000000000000000000101eb3fb297e6be0610000000000000000000000000000018a5700673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ce6d347f297f735ee0997615648ff9923bbb837c4f15ed3f8247567d938ab2ad7eec874aa0b86449080bb3db79a85b56207a7e9c6519052743fb7b103c63ba101c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b6608029cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0051a17387ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7893f91ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c719048d02a00000000000000000000000000000000000000000000000000000075da754aa50ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc259acf33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"10000141735445678337024","buyAmount":"32693921959731","buyAmountMinusFees":"32693921959731","buyAmountDisplay":"32693921959731","buyAmountDisplayMinimum":"32366982740134","buyAmountInEth":"9744750379317421326336","tradeAmountUSD":33560175.65990364,"tradeFeeAmountUSD":285261.4931091809,"value":"9996984137735925408690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.4931091809,"available":true}},"fee":"84974365170755365973","feeInEth":"85001204751288265864","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818394.4067768,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961151.03806602,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be5a35e5a000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb514d3eaf92e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c8dc2a15000000000000000000000000000000000000000000000010a8428388be5e67dc00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b44c918c594784bea08937abf742e70d6186970f20a07c7d0ed576e4cd895592f48b995bf6e66289d8618bef45501dff34ad16ccaa93ecfa1f4255f6039b0250a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb76e685853bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13307cf9ef031bac00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086f391cb6c870400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb514d3eaf92e0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb514d3eaf92e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000718e10ff3b0ab287a665b7dd","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925407744","buyAmount":"34966660734798","buyAmountMinusFees":"34966660734798","buyAmountDisplay":"34966660734798","buyAmountDisplayMinimum":"34616994127451","buyAmountInEth":"9757725832021373421568","tradeAmountUSD":35818394.4067768,"tradeFeeAmountUSD":304456.3524576028,"value":"9996984137735925408690","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.3524576028,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365976","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json index a3686c879d..1f2c061320 100644 --- a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json +++ b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2.053610985325973,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041141996,"available":true},"totalPrice":{"value":2.0215200907205073,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a75868c187ba5438e6e0de8292195f9baf758f015c1a6481eefb343e947a95b12a89f7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000816000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000189ab00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004156c6ff5c1ec63dabfc3b4be777770c98f765e6dafcd0ee4cf2b2804068d572ae64f82ded7facaef7be4497aa15fe0e84ec7d2d8c18dcb1d44a59cf4c560bcc101c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2071","buyAmountMinusFees":"2071","buyAmountDisplay":"2071","buyAmountDisplayMinimum":"2051","buyAmountInEth":"602365364029031","tradeAmountUSD":2.053610985325973,"tradeFeeAmountUSD":0.01745569337526867,"value":"611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":0.01745569337526867,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2.1924879756207996,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":2.16011013197464,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008c900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008cc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015d000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a1d8118923bf726f96e254f2","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2272","buyAmountMinusFees":"2272","buyAmountDisplay":"2272","buyAmountDisplayMinimum":"2250","buyAmountInEth":"602890974951894","tradeAmountUSD":2.1924879756207996,"tradeFeeAmountUSD":0.018636147792774557,"value":"611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.018636147792774557,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json index a5cd3bb218..3059826c59 100644 --- a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json +++ b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":54.31629645606967,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000037e15e2502f54f000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3730297c9250785275df4db05cfe33dfeaddaef3c4b591c889eefcc7078022fd305512b5d72dae8e4565aef50d0a759ab38611ed42344cc5bb4ce62472238b5b869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002db7e8580a0fc9b9bb9e12eb","sellAmount":"16179866267525066","sellAmountMinusFees":"15907126826228164","sellAmountDisplay":"16179866267525066","sellAmountInEth":"16184976759646144","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"14902999999999999","tradeAmountUSD":54.31629645606967,"tradeFeeAmountUSD":0.457797243308469,"value":"16179866267525066","gasPrice":"26706819757","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999966,"available":true},"totalPrice":{"value":0.457797243308469,"available":true}},"fee":"136369720648451","feeInEth":"136412793710453","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":54.726794255142835,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000034c0c39108fa2c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c912c4426d9b0d24f79faa5fc93e85ac5ce9b27a54184c476923c9f672541be6c3e7af1d198ad4158d8f464e2d4fd83fee2779dab74e96d453b634f84bf191531869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009d848b3e48101fd366becba6","sellAmount":"15274355624781696","sellAmountMinusFees":"15016880120943036","sellAmountDisplay":"15274355624781696","sellAmountInEth":"15275506749233900","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13953950706878986","tradeAmountUSD":54.726794255142835,"tradeFeeAmountUSD":0.46125706610680556,"value":"15274355624781696","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.919999999998,"available":true},"totalPrice":{"value":0.46125706610680556,"available":true}},"fee":"128737751919330","feeInEth":"128747454009408","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json index b5a57e73f7..e578b09cf3 100644 --- a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json +++ b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":53.78378374571605,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000037e15e2502f54f000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3730297c9250785275df4db05cfe33dfeaddaef3c4b591c889eefcc7078022fd305512b5d72dae8e4565aef50d0a759ab38611ed42344cc5bb4ce62472238b5b869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002dceb4915ec273833f4b7d45","sellAmount":"16021240127647369","sellAmountMinusFees":"15751174602441613","sellAmountDisplay":"16021240127647369","sellAmountInEth":"16026300516904515","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"14902999999999999","tradeAmountUSD":53.78378374571605,"tradeFeeAmountUSD":0.45330903504073766,"value":"16021240127647369","gasPrice":"26706819757","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.029999999986,"available":true},"totalPrice":{"value":0.45330903504073766,"available":true}},"fee":"135032762602878","feeInEth":"135075413379958","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":54.18461680885465,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000034bf5bbb29e38800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c4ca3a2e92f55cab7eb68241396da7cdc5d6967d9c8442e437ff8dc54ebd7753a7a209dcd978ad6f820c5a2f75169aa9fbe71b9c49f102ba05b6b2b628de275bd869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d0066192499207d33eac8f69","sellAmount":"15123032836026103","sellAmountMinusFees":"14868108137749015","sellAmountDisplay":"15123032836026103","sellAmountInEth":"15123032836026103","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13952899171625378","tradeAmountUSD":54.18461680885465,"tradeFeeAmountUSD":0.4566873999754721,"value":"15123032836026103","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.4566873999754721,"available":true}},"fee":"127462349138544","feeInEth":"127462349138544","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json index 984ee3a6d9..7ff0789eaf 100644 --- a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json +++ b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2491.682924363639,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2474.4121161915396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000a1c465661e7b5f7388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"742462812350419959","buyAmount":"743402629133555975","buyAmountMinusFees":"737083706785920750","buyAmountDisplay":"737083706785920750","buyAmountDisplayMinimum":"722342032650202335","buyAmountInEth":"737316518381135557","tradeAmountUSD":2491.682924363639,"tradeFeeAmountUSD":21.212811888681877,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.212811888681877,"available":true}},"fee":"6318922347635225","feeInEth":"6320918211033435","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2490.5919025869894,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2459.729772624214,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000096aa1a1688528c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000096e40b41c4649e2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000039f12b3c12122000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009a2b8ec39b8108400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000083e795e9c86e08ceed4f2653","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"695181472537643670","buyAmount":"692400811265436226","buyAmountMinusFees":"686515404369680019","buyAmountDisplay":"686515404369680019","buyAmountDisplayMinimum":"672785096282286419","buyAmountInEth":"686567142373442541","tradeAmountUSD":2490.5919025869894,"tradeFeeAmountUSD":21.086942074942826,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":21.086942074942826,"available":true}},"fee":"5885406895756207","feeInEth":"5885850438904952","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json index 5bd10a96b5..868f222136 100644 --- a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json +++ b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":49.604054084776095,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04811667005c849452ac961b25d91e083f82a5c22d72e9e8edbde9886826fdf480000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000034f398a039f3350000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000189c900673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041077dd652310b1964ba69eeed601705a9f599049285558d5b99ed2e40f429eea11308db21592bc00252813c40ceaa6ef28606ae197f985a53047437f02e7f4cdc1b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14902846611930818","buyAmountMinusFees":"14776172415729407","buyAmountDisplay":"14776172415729407","buyAmountDisplayMinimum":"14480648967414819","buyAmountInEth":"14780839544088919","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4252490768740208,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999843,"available":true},"totalPrice":{"value":0.4252490768740208,"available":true}},"fee":"126674196201411","feeInEth":"126714206883262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":46.35258985850283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e5b17d2e56ff20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9b0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf0e207e0d049129c3142135421a7926ef8abf5add740058bb792929f8e1009121c5baab7b6d0e147c49dbed97c5c838f16283d1be95a2a6cfaa579542d18c8dc0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000103d40db4692b40217694379","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13048006809317362","buyAmountMinusFees":"12937098751438165","buyAmountDisplay":"12937098751438165","buyAmountDisplayMinimum":"12678356776409402","buyAmountInEth":"12937098751438165","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.39737469873653253,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.39737469873653253,"available":true}},"fee":"110908057879197","feeInEth":"110908057879197","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json index 630594ac8c..cf10deb168 100644 --- a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json +++ b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560171.24680275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703012.266124494,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001d7001ed563a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba29c3fad6257358c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061ee07d78168614c3ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939ea9a0b9821687fac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5c7d1dec57e6f591cee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0491bba69289f06c34f95b70de8e0bab4c5e3fdc3b622d848075b0305134bdf98b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dab51c49e0000000000000000000000000000000000000000000000044c74397e34d318a800000000000000000000000000000189da00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411f51460dabb0d89246f6e7c5139681de37ec2e8f777b34bce258f9ee59548c1a44d7859f8e124819ec1b87d3e2078d2eeda22f15c783618775aa9457e5c590561c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c13af0ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e141e9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f387f5ee77ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e60511000eee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81fecf9aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a53442dfc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970624a83eee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0454f5d049b1881cc8dfe8634416ae02b95c9f7cfa3bda226b63d1f1c2b444facb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e712b2e6a10000000000000000000000000000000000000000000000101eb3d79946179c770000000000000000000000000000018a1b00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004199c2442e7e0632346c27fe70fa80e2d58e2c74280877221eaf1d7950be0d56e9687d972478c4cb33d29e2a83006e097b2613b5b8c4e4384aabbff6044843dfd31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b6602e1b8ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00518baeceee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7711ba1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c657e5a702a00000000000000000000000000000000000000000000000000000075da626eda7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc20fa13de000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"10000140420445578287104","buyAmount":"32693844317150","buyAmountMinusFees":"32693844317150","buyAmountDisplay":"32693844317150","buyAmountDisplayMinimum":"32366905873979","buyAmountInEth":"9744727237169728465920","tradeAmountUSD":33560171.24680275,"tradeFeeAmountUSD":285261.45559782337,"value":"9996982823151043603690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.45559782337,"available":true}},"fee":"84974353996783870631","feeInEth":"85001193573787415432","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818389.69672434,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961088.484026216,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be1f24407000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c48fdb81000000000000000000000000000000000000000000000010a8425ec90cb1ff8d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b43ad851a93342f186a7f050291448b5c39a57f78ba3e03415e5840150a3027d0085d70ace0ca5d4243e483435c1ee777f64d47349f45be71ad3d7d2cbff9f6c800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5e3d2900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a133066bfcbcef16660000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086e69a8c38b16140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb33aa65138ae1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000019eac9b8ca937d567d0c3f58","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"34966598170900","buyAmountMinusFees":"34966598170900","buyAmountDisplay":"34966598170900","buyAmountDisplayMinimum":"34616932189191","buyAmountInEth":"9757708373066161864704","tradeAmountUSD":35818389.69672434,"tradeFeeAmountUSD":304456.31242215686,"value":"9996982823151043603690","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.31242215686,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json index 3784f61bdc..f94924b9d4 100644 --- a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json +++ b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":49.58839134201542,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a0484e686008c9bf6be3297595704b354642eed1a21a1d40ac7785b5375a750df0f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000034f398a039f3350000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000189b100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000002faf08060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d262282756773fb418d3ca6fd17754ae989ada93934ab6493c930bb1a5d143bb6f19c6449bf66ec7c05a3ade163b37d38d20355e3ae2ac5bae293ea772c46ed71b00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14902846611930818","buyAmountMinusFees":"14776172415729407","buyAmountDisplay":"14776172415729407","buyAmountDisplayMinimum":"14628410691572113","buyAmountInEth":"14776172415729407","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4251148022260493,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":0.4251148022260493,"available":true}},"fee":"126674196201411","feeInEth":"126674196201411","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":49.40412367019894,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000003168572204e5f00000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9c0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c2f7d3d25a83793607d239531757751c4f923cf46cd6a85c491469b06b7458437311496dc20a7e68a2efb3dc04384b70cb461fc191de2663378b49201fef2da520000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ea5a382300b39c7334b672df","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13906997301011952","buyAmountMinusFees":"13788787823953351","buyAmountDisplay":"13788787823953351","buyAmountDisplayMinimum":"13650899945713818","buyAmountInEth":"13788787823953351","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.4235350995428027,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.4235350995428027,"available":true}},"fee":"118209477058601","feeInEth":"118209477058601","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json index cfa7c6c4de..c29a6199c9 100644 --- a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json +++ b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560171.24680275,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703085.689559992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001d23e72a3be10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001ac9c00a5038f30374c4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac03d986783cde4674dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282ab1bf2fe8c4019de0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000241027d65bae7b375fb1eee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04b2d53fd14a2287e67fcfa8ee43fc5d9a102abd4722836896d10ba319305584b4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacb405100000000000000000000000000000000000000000000000044c74397e34d318a80000000000000000000000000000018a2d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041597f826d393859b8561ad582cc112d6e1a415d78fa45b136de024d1180571d474f022d1d5402e8e25ba6b6d194ba7f433b19d3ea1246b122f68bd02ba92b5ca51c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003babe0e502ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077ad413ea9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6ba4df3d0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d6c45e677dee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004abebe2d2eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000951fa818d2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000957f9dd281ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ddabea2ee93d7dc1317266a4e17b94f95104d24580cf66fd32583590787295c7000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7128750400000000000000000000000000000000000000000000000101eb3d79946179c770000000000000000000000000000018a7500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d404e440a2bd535bf55652d8123d531f4f732ca3d5e368a10ef546f3e63174fe04e152d79be7391fd2b8bdb343b48aab28ca0aa677be62fb2c1f6af0e5d6b60e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002554db546e0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e674ec88d6ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955179a985ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aa9680611202a00000000000000000000000000000000000000000000000000000074a9b3c2c2bee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc255a1dc2000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"10000140420445578287104","buyAmount":"32693917720002","buyAmountMinusFees":"32693917720002","buyAmountDisplay":"32693917720002","buyAmountDisplayMinimum":"32040039365602","buyAmountInEth":"9744749115623795586048","tradeAmountUSD":33560171.24680275,"tradeFeeAmountUSD":285261.45559782337,"value":"9996982823151043603690","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.45559782337,"available":true}},"fee":"84974353996783870631","feeInEth":"85001193573787415432","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818389.69672434,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961157.76752749,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2a7c4702ae000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c9aef85a000000000000000000000000000000000000000000000010a8425ec90cb1ff8d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd459f751f0458b3920f4b4844871ca4bb93123a111df1858042453f70c332c573f631c85924e34c93d795544f528b44bd1175c82cc7004c8d6436e5fc938364300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5e3d2900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a133066bfcbcef16660000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086e69a8c38b16140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb33aa65138ae1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bf42a5ab94a418678eeae380","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"34966667465320","buyAmountMinusFees":"34966667465320","buyAmountDisplay":"34966667465320","buyAmountDisplayMinimum":"34267334116014","buyAmountInEth":"9757727710227270188032","tradeAmountUSD":35818389.69672434,"tradeFeeAmountUSD":304456.31242215686,"value":"9996982823151043603690","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.31242215686,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json index 716293a744..f61bdea7c5 100644 --- a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json +++ b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2509.305302613892,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2491.9107353953436,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000a492d2422bd5a26388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"747713865920699959","buyAmount":"748659845357640960","buyAmountMinusFees":"742296236672101012","buyAmountDisplay":"742296236672101012","buyAmountDisplayMinimum":"734873274305380003","buyAmountInEth":"742530694671091583","tradeAmountUSD":2509.305302613892,"tradeFeeAmountUSD":21.362825265618174,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":21.362825265618174,"available":true}},"fee":"6363608685539948","feeInEth":"6365618663342691","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2508.2065646072833,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.3923604589622,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009af90d80c996f8000000000000000000000000000000000000000000000000000000000958639f500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf7c9b627459a4389896257448c7988bf964d31c02323daa998b29c33b463ae056141f3ed2e38e1e9c9d83cbcf10c9f7d994baf6fa3db23d4e77920f01e6d30ea00000000000000000000000000000000000000000000000000000000958639f5869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000056a1808db31e8f73d963d0da","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"700098129766313604","buyAmount":"697935724864434048","buyAmountMinusFees":"692003271203086359","buyAmountDisplay":"692003271203086359","buyAmountDisplayMinimum":"685083238491055496","buyAmountInEth":"692055422790102902","tradeAmountUSD":2508.2065646072833,"tradeFeeAmountUSD":21.255506872315863,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.255506872315863,"available":true}},"fee":"5932453661347689","feeInEth":"5932900750091653","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json index c969ddee2b..593f8933b7 100644 --- a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json +++ b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566925.8777398,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709603.39686237,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001d7186c05f030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11162e34f3d4befeccc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b07793b1b0c94d1274aee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a78543bc470662dcc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002470317aa3ca59e727371ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0411ccf5f9f2033c97ec5ab62d321f1113e5f49b2a9dea5b6da99ef1c4b5457c84000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafd937010000000000000000000000000000000000000000000000044cacece6f1d978cf0000000000000000000000000000018a9000673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411fec4fad988765bed862e7668c2238f64666c1e17d324de8bc318d3cc239c1ed003b8bfbd222f7cc88c2a7b12399995b74c7024b0d7b42e83d3dd8f58c98b8051b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4aced452ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec09997ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c875fe11ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651da06c6ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d71ef8ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096ae6eabc6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd41cedee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a042f1688fc9f3a953b31dfb5ca6afea9a3873b010daced8cee68d5b5c621da066b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71caeaf610000000000000000000000000000000000000000000000101f8878620aef85090000000000000000000000000000018ab400673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b1b9ce36619effd31962dd95a411c3ec88f84fc87626f7bc1846fd9491bcd6db78781668b24e8fb0715b54b0d0187a90d839ec62f7790a63ca9ec4e95698bece1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84ac720eee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3b21333ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df44766cee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b704f28c7402a00000000000000000000000000000000000000000000000000000075e07f76541ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda9ba8e85000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"10002153141339106983936","buyAmount":"32700433600133","buyAmountMinusFees":"32700433600133","buyAmountDisplay":"32700433600133","buyAmountDisplayMinimum":"32373429264132","buyAmountInEth":"9746691238855641445376","tradeAmountUSD":33566925.8777398,"tradeFeeAmountUSD":285318.86996078835,"value":"9998994908517291596490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285318.86996078835,"available":true}},"fee":"84991456722396978570","feeInEth":"85018301701382409352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825598.83762477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968017.556011274,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7ae2b783000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1c95880000000000000000000000000000000000000000000000010a91e15fee92ab42400000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3ca3853a9b522cb6d559944b6d178ceb4ada16ec9fb7d1ae7d4907d6dce2b5c563bf77f9a1706e00ae42b78adce8b227595602962cac8c44e5bef0f072cf358100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40eab7800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b54b3d46d54f0d10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d46be3bea7417850000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c6451b3c8187c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000056a0aeb9b00b83769a3e93da","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"34973528334871","buyAmountMinusFees":"34973528334871","buyAmountDisplay":"34973528334871","buyAmountDisplayMinimum":"34623793051523","buyAmountInEth":"9759642290648765742080","tradeAmountUSD":35825598.83762477,"tradeFeeAmountUSD":304517.5901198106,"value":"9998994908517291596490","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.5901198106,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json index 009a531d6c..6ce7039e6a 100644 --- a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json +++ b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -1 +1 @@ -{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3407.7206346292073,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x803ba26d0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000035453a0000000000000000000000000000000000000000000000000dfee9681ffb40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000042b694255dd980d07aff4b5f","sellAmount":"3491130","sellAmountMinusFees":"3491130","sellAmountDisplay":"3491130","sellAmountInEth":"1015420469977147284","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000315855028501430","tradeAmountUSD":3407.7206346292073,"tradeFeeAmountUSD":28.534755,"value":"0","gasPrice":"27187882932","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3654.611609964422,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000003aa74a0000000000000000000000000000000000000000000000000dfee9681ffb4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006cd78c29d994ceb33ad69f30","sellAmount":"3843914","sellAmountMinusFees":"3843914","sellAmountDisplay":"3843914","sellAmountInEth":"1020086140137725412","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000075363208797951","tradeAmountUSD":3654.611609964422,"tradeFeeAmountUSD":30.454819999999998,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json index 42a8885330..301116954d 100644 --- a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json +++ b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2511.361898159039,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2493.952887810285,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000a4b5591ab87fdeb388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"748326682943839958","buyAmount":"749273381584862363","buyAmountMinusFees":"742904557841391033","buyAmountDisplay":"742904557841391033","buyAmountDisplayMinimum":"735475512262977124","buyAmountInEth":"743139207981681868","tradeAmountUSD":2511.361898159039,"tradeFeeAmountUSD":21.380332371545556,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.380332371545556,"available":true}},"fee":"6368823743471330","feeInEth":"6370835368476344","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2510.26225964037,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.117765433943,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000996761e33fe361c00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000099a260c0b8ff69b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003afedd791c07f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b62d73be282d6a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b42851a0b59d266a60d238c5","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"700619120616806855","buyAmount":"697858427829528523","buyAmountMinusFees":"691926631192977531","buyAmountDisplay":"691926631192977531","buyAmountDisplayMinimum":"685007364881047756","buyAmountInEth":"691926631192977531","tradeAmountUSD":2510.26225964037,"tradeFeeAmountUSD":21.25315280503128,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.25315280503128,"available":true}},"fee":"5931796636550992","feeInEth":"5931796636550992","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json index ccf20dbd4c..c4cf3c8d83 100644 --- a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json +++ b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335703,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":331135.5572313288,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000001404a31a2000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100031585502850143040","buyAmount":"339240625","buyAmountMinusFees":"339240625","buyAmountDisplay":"339240625","buyAmountDisplayMinimum":"335848219","buyAmountInEth":"98670595157682807680","tradeAmountUSD":335703,"tradeFeeAmountUSD":2853.4755,"value":"100000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2853.4755,"available":true}},"fee":"850000000000000000","feeInEth":"850268476774226215","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":354676.5744251368,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000160341a100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000160bb8d1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000087730000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000001644c79c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a7c3d1f0acc536d0f3eff456","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"373048191","buyAmountMinusFees":"373048191","buyAmountDisplay":"373048191","buyAmountDisplayMinimum":"369317710","buyAmountInEth":"98990927630295058720","tradeAmountUSD":358292,"tradeFeeAmountUSD":3045.482,"value":"100000000000000000000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045.482,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json index 921faddaea..b85a8b7815 100644 --- a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json +++ b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.402845567899995,"available":true},"totalPrice":{"value":19.402845567899995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999998,"available":true},"totalPrice":{"value":19.1400087021477,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a040000000000000000000000000000000000000000e4b361c8babda39d04dcc924000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d7200000000000000000000000000000000000000000000000000000000012358560000000000000000000000000000000000000000000000000dc283ff2eccc00010000000000000000000000000000072c900673f7881fb29d3f7a9734e3010e200000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000dc283ff2eccc000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417c09ee104542f81ef9c2ff79bf2e4cc607a46a665498ae0b48bb1f05af6d35ac7edb8425507623c0a807a420ad855b741fd89182d425aa4dc1699b3b2863fa071c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"5781590886658699","buyAmount":"19134643","buyAmountMinusFees":"19134643","buyAmountDisplay":"19134643","buyAmountDisplayMinimum":"18177911","buyAmountInEth":"5703271692579999","tradeAmountUSD":19.402845567899995,"tradeFeeAmountUSD":0.1649241873271468,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM20","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.402845567899625,"available":true},"totalPrice":{"value":0.1649241873271468,"available":true}},"fee":"8500000000000000","feeInEth":"49143522536598","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.9113095525,"available":true},"totalPrice":{"value":39.9113095525,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.99984243,"available":true},"totalPrice":{"value":40.38753413333457,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000002498b3c08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"11140164278536837","buyAmount":"40393899","buyAmountMinusFees":"40393899","buyAmountDisplay":"40393899","buyAmountDisplayMinimum":"38374205","buyAmountInEth":"11273089510092967","tradeAmountUSD":39.9113095525,"tradeFeeAmountUSD":0.3392461311962496,"value":"0","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.91130955249995,"available":true},"totalPrice":{"value":0.3392461311962496,"available":true}},"fee":"8500000000000000","feeInEth":"94691396367563","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json index e5dc4688f3..6da8346c7d 100644 --- a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json +++ b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357030,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3301948.2289569923,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000035bfd39ccecfce000000000000000000000000000000000000000000000000000000000000c79cc8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000142e0000000000000000000000000000000000000000000014100013e200139800a0c9e75c480000000000000007020100000000000000000000000000000000000000000000136a000f1b00031a00a007e5c0d20000000000000000000000000000000000000000000002f600006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004c7ebc6ffbee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c480000000000000000201200000000000000000000000000000000000000000000000000025f00004f02a000000000000000000000000000000000000000000000000000000000073188c1ee63c1e50099ac8ca7087fa4a2a1fb6357269965a2014abc35a0b86991c6218b36c1d19d4a2e9eb0ce3606eb485120111111125421ca6dc452d289314280a0f8842a65a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480124cc713a041077fc48ae3177d2a80933b58f7708b45dcacf29d1bc0a3bdfeca9b0eab1faff000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000ce8729000000000000000000000000000000000000000000000000000000031738beb4d0000000000000000000000000000018a7b00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041f75c49bd1a6a220370547ca5669c56091fad66c5167ab82f836433f1825f1a12288bd8d5da014175d4942e1e590808dbc59af8568ef777298a0ff98db577fd251b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d2000000000000000000000000000000000000000000000000000bdd00090100a0c9e75c48000000000f0b0a04000a0000000000000000000000000008d30008840008350004450003f60003dc4140d315a9c38ec871068fec378e4ce78af528c76293016452bbbe2900000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000673f7887315a892a4d02c5c1169d5f0e4f7cb4130cc0d13800020000000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000226649fdf4ffe000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000627699147389300000000000000000000000000000000000000000000000000000000673f788700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000000000000000000000000000000005af3107a4000000000000000000000011037e7ee8dec00000000000000022be5a17895e9800000000000000000095e0daf6c0e67ceb8000000000000410b9eed23af0f4dc00000000000000000000000000000000000000000000015aa52c8d4861f3a2f314b00000000000000004563918244f400000000000000000000006a94d74f430000000000000000000000000000673f784b000000000000000000003b1dfde910000000000000000000000000000000000000000000000000000000000000000041849e999d09e5d9344a0ac563acbed58fc6f442c6f126c7e618232a0fd969c8ac19a10d12db4f40462e784ffcb096c11b3153d9f5c993f3584c292e533cf69d501c000000000000000000000000000000000000000000000000000000000000004041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000c39775d1dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc25100d315a9c38ec871068fec378e4ce78af528c76293c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2016452bbbe2900000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000000000000000000000000000000000000000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000673f7887315a892a4d02c5c1169d5f0e4f7cb4130cc0d1380002000000000000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000226649fdf4ffe000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000627699147389200000000000000000000000000000000000000000000000000000000673f788700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000000000000000000000000000000005af3107a4000000000000000000000011037e7c2b66800000000000000022be5a17895e9800000000000000000095e0daf6c0e67ceb8000000000000410b9eed23af0f4dc00000000000000000000000000000000000000000000015aa52c8d4861f3a2f314b00000000000000004563918244f400000000000000000000006a94d74f430000000000000000000000000000673f784b000000000000000000003b1dfde9100000000000000000000000000000000000000000000000000000000000000000413f5c2ae15fd545a0b4c120bb2ad6a1ecc2d5ae73a8745c23734add898be9757000d2d34c36eec9da3d396a0e84946cc3f7355331c4287ad81129ba5a173557a91b0000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000021984ff897ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc202a00000000000000000000000000000000000000000000000000000002dd9def056ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000000001715060000000000000000000000000000000000000000000002ae00009e00004f02a00000000000000000000000000000000000000000000000000000000004cae0ceee63c1e50056534741cd8b152df6d48adf7ac51f75169a83b2dac17f958d2ee523a2206206994597c13d831ec702a00000000000000000000000000000000000000000000000000000000010c4e59fee63c1e5009db9e0e53058c89e5b94e29621a205198648425bdac17f958d2ee523a2206206994597c13d831ec75120111111125421ca6dc452d289314280a0f8842a65dac17f958d2ee523a2206206994597c13d831ec70124cc713a043d25dae3b3ebe5b5adb4b42726b6f782f6ecebf053b02aadcce1e3dec36a9775000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000128a9b8100000000000000000000000000000000000000000000000000000046fa810cfe0000000000000000000000000000018a8500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041fb1c402e14522146b4593756e9e2e3cd0e0601aff98443706520ca3b21fb972b7d8d67c586e358401c1ed56952bcc3973e0fc018ae28411536051ba96befb1941c0000000000000000000000000000000000000000000000000000000000000000a0c9e75c48000000000000230806010000000000000000000000000000000000000004210003940003070000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ceff51756c56ceffca006cd410b03ffc46dd3a586ae4071118002dc6c0ceff51756c56ceffca006cd410b03ffc46dd3a580000000000000000000000000000000000000000000000000000000002caa6fbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a044cfe96b18356d873da4684499d8e8aba71378cd517921f12d2171cdcadce68bd000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd3800000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000010f068bf00000000000000000000000000000000000000000000000483d34fbb5b2f00000000000000000000000000000000018a1500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d74c133ecd5661b18ba6ae6ea100c06d8f84e2026c401dd81b412988ddf08946422b76290c711417ce7b140a6793dfdadfa4153d7ef2d3c4a4eed26893c434a51c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000016585f5cee63c1e500cbcdf9626bc03e24f779434178a73a0b4bad62edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000000061d158eeee63c1e5004585fe77225b41b697c938b018e2ac67ac5a20c0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b662260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000c9a0f407000000000000000000000000000013f280a06c4eca272260fac5e5542a773aa44fbcfedf7c193bc2c599111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000315855028501430400","buyAmount":"3382768647","buyAmountMinusFees":"3382768647","buyAmountDisplay":"3382768647","buyAmountDisplayMinimum":"3348940961","buyAmountInEth":"983902784875011425856","tradeAmountUSD":3357030,"tradeFeeAmountUSD":28534.755,"value":"1000000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":22.33333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"PMM14","part":6.666666667},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28534.755,"available":true}},"fee":"8500000000000000000","feeInEth":"8502684767742262158","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582920,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3544343.178836853,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000dbfaeb3a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003600000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000101ff2af0ad7f09e58000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000430102a40000000000000000000000000000000000000000000000102db5330a06bdc00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b689fa1dd30839886f3502b6a8d623b78b2ec3307edd2226a32e488b8b95fb9e1530b4403be70722131d5d72bea818ce52859c6839e1106659c5b0b9d1d85783400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000182fec069043ea127d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000080ff957856bf862b400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd763c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd763c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009e03afff7e4bd2a5c87c1dc5","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3727933860","buyAmountMinusFees":"3727933860","buyAmountDisplay":"3727933860","buyAmountDisplayMinimum":"3690654522","buyAmountInEth":"989233133543828151616","tradeAmountUSD":3582920,"tradeFeeAmountUSD":30454.82,"value":"1000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":70},{"name":"0x","part":30}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30454.82,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json index f757c709f3..c7875b8bef 100644 --- a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json +++ b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563545.668653555,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706255.013615992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001d24a03dcb4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001aca6c24e705032ba887c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac0e8e06c6ac9d3b55dee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282bb35334f13e956d67c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024110fc3fa77d70d3a01dee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bb9b06738731033c4751c46298494f36ad279cabcc3cc0fd8f58890df2ce30f6000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacff5dbc0000000000000000000000000000000000000000000000044c908cfab382be3b0000000000000000000000000000018a0c00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041983d42f56cd68bd65274e708e2dbc93b08725c6bf33c846a7fb14d8bf4a2b01f512ef80e31b6adb8b7f1ce65425db8f6f0246823cd80433a5bc4dd67717da5b41b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bad636a89ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b04cc974c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6da3398c0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d6ea5750feee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac0a4f183ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000009523717241c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095836ac7c9ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04f3f277453d80a6048bd2a74e4e9e7e72c6b0a4b908c6545a0c543cd3a4be41cf000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e718792b040000000000000000000000000000000000000000000000101f1e10ac212a495e0000000000000000000000000000018a4600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410f295363726d63a68780b1d8a4eff4926bf60785da1e0ab673bb1aad7fc456f4216d100f36e73900c254236fcf35a3d3353073f461ba3f0f8dfef7805e560a051b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002555cdf1757ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6b549595aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000095552e7b3fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aab426d85702a00000000000000000000000000000000000000000000000000000074ac98fb818ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2349b33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"10001145918662430040064","buyAmount":"32697086155571","buyAmountMinusFees":"32697086155571","buyAmountDisplay":"32697086155571","buyAmountDisplayMinimum":"32043144432460","buyAmountInEth":"9745693499529491725312","tradeAmountUSD":33563545.668653555,"tradeFeeAmountUSD":285290.1381835552,"value":"9997988003876508667090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1381835552,"available":true}},"fee":"84982898032950323670","feeInEth":"85009740308630655352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821991.17884922,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964608.089844525,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2b45d9ed5b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cf755505000000000000000000000000000000000000000000000010a8b0224b779aa12600000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001be27607e201867c8f9c0adfde5d7bb714556360cd3d74fd71042e8afa258ffcb73b1c76f00423aba0e33911eea405fdae1bd199233414849998030e349071d37d00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c2fa15f175011300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372ca6b94bab79630000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0ada0bec16cdad0f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43b88f70f83e7e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008d9da2758f099268cd000007","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"34970118331390","buyAmountMinusFees":"34970118331390","buyAmountDisplay":"34970118331390","buyAmountDisplayMinimum":"34270715964763","buyAmountInEth":"9758690701953860050944","tradeAmountUSD":35821991.17884922,"tradeFeeAmountUSD":304486.92502021836,"value":"9997988003876508667090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.92502021836,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json index 5b258ce877..21844c8bfc 100644 --- a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json +++ b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33556326.943136774,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709503.31342102,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001d255dedfefe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb188ad4bda6a3351dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac1947365c40cd9625eee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cb557f579baabd10dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411f817236dcd5bc48e7ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04cf296e6acfcdad1ac659c70da6ac1b8dbe40409f69c154158676d160260c8a1a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae9642e10000000000000000000000000000000000000000000000044cacece6f1d978cf0000000000000000000000000000018a0f00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d1b4721a2b485bfa77d359e877f5146fab0e0a9f3cf9330869699baafed725452ff29d2aa206163c6f0dae4734e19b77b981679719da40bd78cb06aa1d68d9f81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baee69949ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b359aa0bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fa273990ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d71060dfebee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac28c8b43ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000095273c7499c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095873967a0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0445901548158d8928c021be5c2af6905201ecc5eb95e1ce5bde6f76fb43d86ad3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e6da1f50000000000000000000000000000000000000000000000101f8878620aef85090000000000000000000000000000018a7800673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103ef973719095fa56d358631c35e4e2812b068ac82e9ca9f99558213c1ebbeda3d750384e38571b538737ea35252c588c9d2458dbc4cba8bf7aec5c9c903d67d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c0f8d59ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f5c26095ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a00000000000000000000000000000000000000000000000000000009558fb971cee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad28fa03202a00000000000000000000000000000000000000000000000000000074af912de01ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda3c3d52d000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"32700333544749","buyAmountMinusFees":"32700333544749","buyAmountDisplay":"32700333544749","buyAmountDisplayMinimum":"32046326873855","buyAmountInEth":"9746661416347886405632","tradeAmountUSD":33556326.943136774,"tradeFeeAmountUSD":285228.7790166626,"value":"9998994908517291596490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285228.7790166626,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978560","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825598.83762477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968018.49937761,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c0d17e8d2000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1db32a6000000000000000000000000000000000000000000000010a91e15fee92ab42400000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b42768dd24b795019ee80943ba03f6bbe5502cddabae03f16c5a33739286272406d457aa4d9bf2275d28e45bce10c76799870e1fb727e5149aa0f5e170aa3f65c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40eab7800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b54b3d46d54f0d10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d46be3bea7417850000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c6451b3c8187c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000adb71a8beff85f3eb741ef4","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"34973529278386","buyAmountMinusFees":"34973529278386","buyAmountDisplay":"34973529278386","buyAmountDisplayMinimum":"34274058692819","buyAmountInEth":"9759642553944158981120","tradeAmountUSD":35825598.83762477,"tradeFeeAmountUSD":304517.5901198106,"value":"9998994908517291596490","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.5901198106,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json index 94e99abba3..e7b8cf0725 100644 --- a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json +++ b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":19.4028455679,"available":true},"totalPrice":{"value":3316.9562299826794,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000008cdd080bce2ebb7a320800000000000000000000092560c178ce069cc014138ed3c2f5221ba71f58ad6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"170952050222480802126","buyAmountMinusFees":"170952050222480802126","buyAmountDisplay":"170952050222480802126","buyAmountDisplayMinimum":"162404447711356762020","buyAmountInEth":"988374815621915360","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.9113095525,"available":true},"totalPrice":{"value":3547.4129986194303,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000493d108afad739ccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a758683ab4783d07d3c2f236fac38c43884f0c3c5d82c45c67cf93a8a73888995584c1000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000004d18ac7c00f7c05900000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000024faf00674f6a6e0000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041ea211d38aa5cb33f99b18d29d2a87d56dd7c0bdc09a4d0f9d52882d24d55b16e7c1887c08179cc48cae0a8715b56d5ab7464b12d076676719bfc100d708aafbf1b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"88882400462282604544","buyAmountMinusFees":"88882400462282604544","buyAmountDisplay":"88882400462282604544","buyAmountDisplayMinimum":"84438280439168474317","buyAmountInEth":"990089926266684745","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json index 6324d8b0fb..e8d2f6354b 100644 --- a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json +++ b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":335.59700000000004,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":335.70300000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100031585502850143","tradeAmountUSD":335.59700000000004,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3582.65,"available":true},"totalPrice":{"value":358.265,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358.29200000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100007536320879795","tradeAmountUSD":358.265,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json index ae3a3d0e3c..d199f3d537 100644 --- a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json +++ b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33559694.273754865,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.250348583,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001d723fcd06dc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3ba6c174bd5c5bec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f2ef6046d931fbee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab426f527a7aad8cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5a64f1ff012be86ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0402406cfc6574bbad15272cc2576c30aa40554fd3c193f86295268a0bd3f576c9000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db01455690000000000000000000000000000000000000000000000044cc9336f6f1e961c00000000000000000000000000000189ca00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416b2753794909661532156a374b68bfe6ab82b2926fae7f6b9d7a84a5b5043dc81e33d2d3ae33582f9d6142f5e4a4e9b2f57206f27d939b03f483dd3a7468c1561c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549805ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1baf9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a02efdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6782489f3ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1f967ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0ade7cbc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a93d1bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e7a1fc1659e52e4498ba0b75df7e72173a934a2769a87fd74a237b397455001e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71cf207210000000000000000000000000000000000000000000000101ff280e1e0b2b2ec00000000000000000000000000000189cf00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414fa9f16eef247a9963a2e3047687de6c2e901f7df007dfe703922c640706812264b61564b05b94aff8d004ff77c681ef594faaeed9e795c7e0c7b6cc26a8787b1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6d803ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149932c2ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f11ac1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7225798bd02a00000000000000000000000000000000000000000000000000000075e35e4baafee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a5b95b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"32703569574235","buyAmountMinusFees":"32703569574235","buyAmountDisplay":"32703569574235","buyAmountDisplayMinimum":"32376533878493","buyAmountInEth":"9747625947296483564544","tradeAmountUSD":33559694.273754865,"tradeFeeAmountUSD":285257.4013269163,"value":"9999998293713846870000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285257.4013269163,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.88651322,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971525.91314033,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e49f10482000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dc4c729a000000000000000000000000000000000000000000000010a98ba74fce9685b000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c97d9694a4cb54d68ecaa7f93296904a202e55632c3d08d729360cbf2212bffa23b5f8fc6c514b74ef03e87c7f76c142697a14540a6e3f5e96583929c03dfa9e000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a7ba08700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7908d2c6f7ff9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb145259ebc9a9f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c0bc3b3fb073000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000040aadb2c734f8ffbb55c102e","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"34977037244899","buyAmountMinusFees":"34977037244899","buyAmountDisplay":"34977037244899","buyAmountDisplayMinimum":"34627266872451","buyAmountInEth":"9760621480005225526272","tradeAmountUSD":35829193.88651322,"tradeFeeAmountUSD":304548.14803536236,"value":"9999998293713846870000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14803536236,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json index c410de763f..058842a662 100644 --- a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json +++ b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.38017252,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.35435174,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001d723fce98f20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3bbd98623f1cf52c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f45b0fe1b2f16fee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab44923ea75a79edc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5c5167bd650186aee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a044ef56786a83a39ec2ca264117560b302ba8b71df73113dff281554d714085039000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0e3385f0000000000000000000000000000000000000000000000044cc933aaf91181260000000000000000000000000000018ab900673f787900000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103699ca1aab49b52b347bf8a84b4b521f4a667de04068b31a0e4ae44898672d8429e4ea0bb32eb22a8808f984cd7d1de906e16b76db96184114519ac2a7768741c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549b39ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1bb612c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a072b8ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e67824da95ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1fd70ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adefd5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a9452dee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fe168d7e349e1ce5d11b32a26564f58f9c8c7c379c9155b490c7fdd05f1dc714000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7237f82480000000000000000000000000000000000000000000000101ff281c12601a4520000000000000000000000000000018aac00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041cdfcbdda57aa7dee2ffde4e8d0ec4d5ce0c50c0d65750c1a1c137d8bc342045829ce826e47b5a5eae56ebf83df7d16e89cb18062f7e07960a3e8cbd4f338ca741b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6f835ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a011499bb6cee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f122cfee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72257d93202a00000000000000000000000000000000000000000000000000000075e35e51f66ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a74f81000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10003156875708817547264","buyAmount":"32703569678209","buyAmountMinusFees":"32703569678209","buyAmountDisplay":"32703569678209","buyAmountDisplayMinimum":"32376533981427","buyAmountInEth":"9747625978286974005248","tradeAmountUSD":33570294.38017252,"tradeFeeAmountUSD":285347.50223146647,"value":"9999998325952559545000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50223146647,"available":true}},"fee":"84999985770596756132","feeInEth":"85026833443524949144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.002021946,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34890037.69699007,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001f6b61beca9300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1df359a513a15e59700000000000000000000000000000000000000000000000000000e29f8183934000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f79118b7c13af250000000000000000000000000000000000000000000000000000097478bce85b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa60bb252b53f0e00000000000000000000000000000000000000000000000000000647771a9914000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c1764a569e1e000000000000000000000000000000000000000000000000000000c704406872000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c1764a569e1e000000000000000000000000000000000000000000000000000000ca8adb164a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c154c6ece000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc8d587a4ad00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000046e8111768055164cf172b9d","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10000751957914377476096","buyAmount":"34895536186627","buyAmountMinusFees":"34895536186627","buyAmountDisplay":"34895536186627","buyAmountDisplayMinimum":"34546580824761","buyAmountInEth":"9738611836766101735424","tradeAmountUSD":35829194.002021946,"tradeFeeAmountUSD":304548.14901718654,"value":"9999998325952559545000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14901718654,"available":true}},"fee":"84999985770596756132","feeInEth":"85006391642272208536","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json index 3264685b72..fc8698a8ae 100644 --- a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json +++ b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.2719462,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.250348583,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001d261af4545e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc45646cc122e1e40c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6c9a35ee36ad99ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db6757b208395e219c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9a20b17db8c171bee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040201404289c9b6444cdb7f40199e912ca3b1dbcfdf973b489900ee7312d312ad000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16eb85a0000000000000000000000000000000000000000000000044cc9336f6f1e961c0000000000000000000000000000018a6100673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004149ddfaaca684945752e1b6d91a06b51aff645cf9b0dc641854f973e603087bc6258e17f5f096214d32f869bd1a161a70806854ecc37fd1d9e155f424c17459af1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0686d1cee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663cf73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fe3e07ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736485f2fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472706bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b041169c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b049ec0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0448c1595f661b6aa63f235f43c7ba7aa824b325490fa190c7a7dbe68306d6ca6b000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71d1945300000000000000000000000000000000000000000000000101ff280e1e0b2b2ec0000000000000000000000000000018a0a00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b3303d18f3e2a158e7ea7b7e41d5d3b2fa4d0c2727cee7f837e0b33218a0eb3008da1e7935d20220f5486e979506bca4dde6e720ddb5b80d7bc840fa648383de1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b326939ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73601abc8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cc54b9dee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf0dd2d2d02a00000000000000000000000000000000000000000000000000000074b286b7827ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a5b95b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"10003156843459922112512","buyAmount":"32703569574235","buyAmountMinusFees":"32703569574235","buyAmountDisplay":"32703569574235","buyAmountDisplayMinimum":"32049498182751","buyAmountInEth":"9747625947296483564544","tradeAmountUSD":33570294.2719462,"tradeFeeAmountUSD":285347.5013115427,"value":"9999998293713846870000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5013115427,"available":true}},"fee":"84999985496567698395","feeInEth":"85026833169409337952","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.88651322,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.54276447,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbf7a5d3000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8d9c4000000000000000000000000000000000000000000000010a98ba74fce9685b000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bab9b346bd50a30417059a0a1d605f96fc11dc4f1ba3726b11692a872112ef71420c8241ac9eb96d33ef37eb3ed347c5a7dfbce8f98adf8202309b04ea1079f0d00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a7ba08700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7908d2c6f7ff9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb145259ebc9a9f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c0bc3b3fb073000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fee0a5dd141a91fd1b93d760","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"34977070879823","buyAmountMinusFees":"34977070879823","buyAmountDisplay":"34977070879823","buyAmountDisplayMinimum":"34277529462227","buyAmountInEth":"9760630866099289872384","tradeAmountUSD":35829193.88651322,"tradeFeeAmountUSD":304548.14803536236,"value":"9999998293713846870000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14803536236,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json index b71c065e42..93db9d0d2a 100644 --- a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json +++ b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":335597002.05361104,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":262040018.50635105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000ebdfe76a3823000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000e66000000000000000000000000000000000000000e48000e1a000dd0000db600a0c9e75c4800000000000000000604000000000000000000000000000000000000000000000000000d88000ace00a007e5c0d2000000000000000000000000000000000000000000000000000aaa0004c400a0c9e75c48000000001f07060401010000000000000000000000000004960004090003500002c300023600012800a007e5c0d20000000000000000000000000000000000000000000001040000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100d51a44d3fae010294c616388b506acda1bfaae46c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b78be6f25800000000000000000000000000000000000000000000000000000000000000000020d6bdbf78dac17f958d2ee523a2206206994597c13d831ec700a007e5c0d20000000000000000000000000000000000000000000000000000ea00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100f5f5b97624542d72a9e06f04804bf81baa15e2b4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20044394747c5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001beb7818f3f000000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000073e89fa4a7cee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000c9380728cdaee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000c117c7533fdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000003f98339f1505ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c481c0804020202010101010005b80005080004b900046a0003de00032e00027e00022f00011f00004f00a0fbb7cd06008353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9dac17f958d2ee523a2206206994597c13d831ec7a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4851001116898dda4015ed8ddefb84b6e8bc24528af2d8dac17f958d2ee523a2206206994597c13d831ec7004491695586000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fa7802a0900000000000000000000000000000000000000000000000000000000067460fca490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000001e3d4db95ddee63c1e5007858e59e0c01ea06df3af3d20ac7b0003275d4bfdac17f958d2ee523a2206206994597c13d831ec75100debf20617708857ebe4f679508e7b7863a8a8eeedac17f958d2ee523a2206206994597c13d831ec70044a6417ed6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f2503ccae85100a5407eae9ba41422680e2e00537571bcc53efbfddac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b309c79c1600a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000007de48545595ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec702a000000000000000000000000000000000000000000000000000000fd4d3b3682cee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec75120bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df0212400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003715d56acb6200a0c9e75c48000000000000200d040100000000000000000000000000000000000000028c0001ff0001720000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2397ff1542f962076d0bfe58ea045ffa2d347aca06ae4071118002dc6c0397ff1542f962076d0bfe58ea045ffa2d347aca00000000000000000000000000000000000000000000000000000022bef60630fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000aa042be5ee7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000282018bfea0bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000054e0d61b6a8bee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000ee41d7a6c458000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"261966558315608","buyAmountMinusFees":"261966558315608","buyAmountDisplay":"261966558315608","buyAmountDisplayMinimum":"259346892732452","buyAmountInEth":"78081752371550116200448","tradeAmountUSD":335597002.05361104,"tradeFeeAmountUSD":2852574.517455694,"value":"100000000611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":0.5},{"name":"CURVE_V2_TRICRYPTO_NG","part":0.5},{"name":"UNISWAP_V3","part":68},{"name":"BALANCER_V2","part":0.5},{"name":"SYNAPSE","part":0.5},{"name":"CURVE","part":16},{"name":"CURVE_V2","part":0.5},{"name":"UNISWAP_V2","part":7.5},{"name":"SUSHI","part":1},{"name":"DODO_V2","part":1},{"name":"PANCAKESWAP_V3","part":4}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":2852574.517455694,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292002.19248796,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":112262256.45112321,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000651866d8729a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000166000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000162000000000000000000000000000000000000000000000000000000000000014600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000b200000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000ec00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000118000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000003263d6682e3d916ae700000000000000000000000000000000000000000000000000000280d670cd467000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000009f917c49e7c2efaf6c100000000000000000000000000000000000000000000000000001a45c76d2717000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec83b618000000000000000000000000000000000000000000000000000011c9406a545a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000076f3716fa85000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002537573686953776170000000000000000000000000000000000000000000000000000000000001931eb34171ec83b61800000000000000000000000000000000000000000000000000000498868fb2d7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000019a8c51cad8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000ddb3303bb7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb1400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000cee3f7a270000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f46b175474e89094c44da98b954eedeac495271d0f0001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000008dda98756d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000003556e69737761700000000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000006365166f2900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000000000000c43727970746f436f6d000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000058a5eac47b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ceb90e4c17d626be0facd78b79c9c87d7ca181b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000463092f53a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb14000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000043e1a8256a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec70001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000026e100f753000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000664517a1a68f00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fad6a2a31319d97f7660376d","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100007536932853606629376","buyAmount":"112279948402593","buyAmountMinusFees":"112279948402593","buyAmountDisplay":"112279948402593","buyAmountDisplayMinimum":"111157148918568","buyAmountInEth":"31334977307613974929408","tradeAmountUSD":358292002.19248796,"tradeFeeAmountUSD":3045482.018636148,"value":"100000000611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"CryptoCom","part":2.5},{"name":"Uniswap_V3","part":30},{"name":"PancakeSwap_V3","part":5},{"name":"Uniswap","part":2.5},{"name":"Uniswap_V2","part":52.5},{"name":"SushiSwap","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045482.018636148,"available":true}},"fee":"850000005201385404300","feeInEth":"850064063929255656320","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json index 7496023376..3ba39f361d 100644 --- a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json +++ b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json index a539859f64..bdee081a9b 100644 --- a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json +++ b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2509.305302613892,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2491.9107353953436,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000958639f50000000000000000000000000000000000000000000000000a2e941e9956974c388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"747713865920699959","buyAmount":"748659845357640960","buyAmountMinusFees":"742296236672101012","buyAmountDisplay":"742296236672101012","buyAmountDisplayMinimum":"727450311938658992","buyAmountInEth":"742530694671091583","tradeAmountUSD":2509.305302613892,"tradeFeeAmountUSD":21.362825265618174,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":21.362825265618174,"available":true}},"fee":"6363608685539948","feeInEth":"6365618663342691","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2508.2065646072833,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2477.124930527295,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000097bade6e094db6200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000097f5387fa2c3823000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a5a119975cc1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b4101c769dbce400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008c035ed77af7a4e0ece8e4a8","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"700045372100767934","buyAmount":"697297455432707459","buyAmountMinusFees":"691370427061529446","buyAmountDisplay":"691370427061529446","buyAmountDisplayMinimum":"677543018520298857","buyAmountInEth":"691370427061529446","tradeAmountUSD":2508.2065646072833,"tradeFeeAmountUSD":21.236068491661126,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.236068491661126,"available":true}},"fee":"5927028371178013","feeInEth":"5927028371178013","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json index 443df149fd..115376732a 100644 --- a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json +++ b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.0008404673,"available":true},"totalPrice":{"value":3313.747591674427,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x8bbf7edf5f70e8b3efb16194f428a1426994dbeed535d07299e0365d2003122d","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3310964834","buyAmountMinusFees":"3310964834","buyAmountDisplay":"3310964834","buyAmountDisplayMinimum":"3310964834","buyAmountInEth":"987106934306344199","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":36.92733,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":36.92733,"available":true}},"fee":"11000000000000000","feeInEth":"11003474405313515","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.0009543225,"available":true},"totalPrice":{"value":3554.7513458540634,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x6b061ac9294b8da75dd2e8fab04dd144873df5e7cb4ffe336805dd2c580e0081","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3551362201","buyAmountMinusFees":"3551362201","buyAmountDisplay":"3551362201","buyAmountDisplayMinimum":"3551362201","buyAmountInEth":"992212844083028906","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":39.41212,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":39.41212,"available":true}},"fee":"11000000000000000","feeInEth":"11000828995296777","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json index 30b2337012..ba41e85d4c 100644 --- a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json +++ b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566931.13746454,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709508.367881984,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219707531a18be605b100000000000000000000000000000000000000000000000000001d7181253f270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11167394d51d89f36fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0779802608c30a9648ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a7ed17effdfb428ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247031d8211e70a9b4175ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d0c6af6b97cc53b5b6fae9443a40128a432bbbf588b30b11791e51a9f0c5ee22000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae96e4f80000000000000000000000000000000000000000000000044cacf8347e0c14860000000000000000000000000000018a0d00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004153e4b9140e9e51dc9ac87a469f77e788a975a997086d82819fd26e39477d9dd44f366532ee11f2431fc9bd89f70229b436a29e4824df012e688fe08b248840b91b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4acf7020ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec0ad3bac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c882d9a0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651e95543ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d7e32eee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acddf215c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd5a520ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04deeef5d51152ecd7b8486ca10b2ac3e730870da844b94d8913624d3f17f0a40f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e716b2d1f70000000000000000000000000000000000000000000000101f88a2c4d8ad4cf80000000000000000000000000000018a0100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419d01f843d8e2714ec628f89fc2467120dfa5119c35d67f15cf2974911c2924d83cf6ff54105e440a33e556d6832663e2b27b56a6f982afe4ae639c11f8e3b3241c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84b28ecfee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3cc04faee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df1f08bcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b703c71fce02a00000000000000000000000000000000000000000000000000000075e0623911eee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda410efa1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"10002154708613169438720","buyAmount":"32700338597793","buyAmountMinusFees":"32700338597793","buyAmountDisplay":"32700338597793","buyAmountDisplayMinimum":"32373335211816","buyAmountInEth":"9746662922458181046272","tradeAmountUSD":33566931.13746454,"tradeFeeAmountUSD":285318.9146684486,"value":"9998996475296478968045","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285318.9146684486,"available":true}},"fee":"84991470040020071228","feeInEth":"85018315023211940232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825604.45126926,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968023.894921295,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7b427d20000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c87a409e5fea500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1ddd586000000000000000000000000000000000000000000000010a91e41cb686ecf8900000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd4db428625d0af7a9700d3dd05f1613086b6f57b5d40a9e3cc02c5db807bfe32616ffbedbb66dbe93e1fe2074d7cee81ec700bd38c7ee7c492548480ec4d019000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018988b226695000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b565bb076c446360000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d47b57c45495a3f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c87a409e5fea5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87a409e5fea500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c20467bb8e3ebf29b067b498","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478967808","buyAmount":"34973534674780","buyAmountMinusFees":"34973534674780","buyAmountDisplay":"34973534674780","buyAmountDisplayMinimum":"34623799328033","buyAmountInEth":"9759644059850986429440","tradeAmountUSD":35825604.45126926,"tradeFeeAmountUSD":304517.6378357887,"value":"9998996475296478968045","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.6378357887,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json index 6903cc4c08..97936c5365 100644 --- a/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json +++ b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":3.3435529110000003e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181997715,"available":true},"totalPrice":{"value":0.014690118221681845,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000000000000002694000000000000000000000000000000000000000000000000000000000000383800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000034e00000000000000000000000000000000000000000000000000000000033000a007e5c0d200000000000000000000000000000000000000000000000000030c00009c4160e68c1d72340aeefe5be76eda63ae2f4bc75141100044fe0291560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003736a8a29c6075120111111125421ca6dc452d289314280a0f8842a65514910771af9ca656af840dff83e8264ecf986ca012456a7586800000000000000000000000000000000000000004b5facec2e3cd86b0cd90134000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000395e00000000000000000000000000000000000000000000000000038571f03f862710000000000000000000000000000072c800673f7882572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000419e14c7407a43cd61f9166ca6dc061fb8a89e3c7d25d35a3df6de1968cebb94e95602a91504ef5cfe247e549284c42143b0f7bc4d903138841a2d136cca06a6651b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9963","buyAmount":"14686","buyAmountMinusFees":"14686","buyAmountDisplay":"14686","buyAmountDisplayMinimum":"14393","buyAmountInEth":"4377309159999","tradeAmountUSD":3.3435529110000003e-11,"tradeFeeAmountUSD":2.8190148000000003e-13,"value":"9960","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"DEFI_PLAZA","part":50},{"name":"PMM20","part":50}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.8190148000000003e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"error":true,"message":"all requests failed"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json index 571b998d08..662640a1b5 100644 --- a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json +++ b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33559693.8061895,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712739.80088858,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001d723fc63d330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3b440d41abcf166c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825eccba9e21868deee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab3933bb12936446c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b5214b87af62b586ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04685066ec87a562a6fa7ad98347b69147529ca716a35320d3ac479c9ba591e404000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe90bdd0000000000000000000000000000000000000000000000044cc9326e2135a2de00000000000000000000000000000189e400673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b09de3a88b2468d8ff28c342f6effe27b6b10f887ca24cc07bda31e0e4965271774d4b899ce54dc4daf8e0a030f6be2539452eaa96a54f17ac042f3e71860f1d1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c548a2bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1b93a9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e89f0a4bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678232d82ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1e7f4ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0adc50cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a91a3bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0400fbcd306326f4b77f4af35410ccb2da0fdd0c82e03ffed84112e56467a0d88a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71c9f2c2e0000000000000000000000000000000000000000000000101ff27d1cfc8922c20000000000000000000000000000018a0900673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a310b6f148fc362cc272399fcbdd45258cc853127874e7293ba217c7f567271050807e8d1dc02c2a10cf81914f5749402866029488751dfb864577173bb0e9aa1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f64cdeee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a011496e427ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f0f7eeee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72256822b02a00000000000000000000000000000000000000000000000000000075e35e30772ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe649ede25000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384021504","buyAmount":"32703569124901","buyAmountMinusFees":"32703569124901","buyAmountDisplay":"32703569124901","buyAmountDisplayMinimum":"32376533433652","buyAmountInEth":"9747625813367991525376","tradeAmountUSD":33559693.8061895,"tradeFeeAmountUSD":285257.3973526108,"value":"9999998154390384020000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285257.3973526108,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264160","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.387328394,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971538.66267506,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4ab1a51f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dd46903c000000000000000000000000000000000000000000000010a98ba36ac0afd71f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7570b1badf86933e932ab1088d9927b3b88ecaa5bb248201ab48e3cbf35da82a4a9528e9deb23ba00161090340dcd5308916b64bd86ac785db284e63da73e3a500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc09b74000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78e321dd5acb160000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb12f291674b55d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bd9827c7c502000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003570bb9abc2a6f26d8905fca","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"34977049996443","buyAmountMinusFees":"34977049996443","buyAmountDisplay":"34977049996443","buyAmountDisplayMinimum":"34627279496479","buyAmountInEth":"9760625038425379817472","tradeAmountUSD":35829193.387328394,"tradeFeeAmountUSD":304548.14379229135,"value":"9999998154390384020000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14379229135,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json index a5b06a29e9..b6031df723 100644 --- a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json +++ b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2501.5871028969655,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2484.2467393178863,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000a268fda95df51f2388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"745414024230539959","buyAmount":"746357304565681096","buyAmountMinusFees":"740013267476872807","buyAmountDisplay":"740013267476872807","buyAmountDisplayMinimum":"725213002127335352","buyAmountInEth":"740247004388563151","tradeAmountUSD":2501.5871028969655,"tradeFeeAmountUSD":21.297122828242088,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.297122828242088,"available":true}},"fee":"6344037088808289","feeInEth":"6346040884823788","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2500.491744423076,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2469.506250269793,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000097436737a858f1c00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000977d9357a93dc5e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a2c2000e4d42000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009ac838f94b8da3c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000661f26aafa3793b798fb877e","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"697892150654515302","buyAmount":"695152837576804314","buyAmountMinusFees":"689244038457401478","buyAmountDisplay":"689244038457401478","buyAmountDisplayMinimum":"675459157688253449","buyAmountInEth":"689244038457401478","tradeAmountUSD":2500.491744423076,"tradeFeeAmountUSD":21.170754540890808,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.170754540890808,"available":true}},"fee":"5908799119402836","feeInEth":"5908799119402836","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json index ad59255b13..722caa1883 100644 --- a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json +++ b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.10720451,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.540998854,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001d72441fdc170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3b83fd491514cf4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b0825f0c5c655853b54ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab3f2ecc7e5d4c17c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b57775320439b574ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04317f2f8240aeeb252bb0fcd1d515960cf5433b16d1e192cbd3628e5331100edf000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16eb3460000000000000000000000000000000000000000000000044cc93314cde2731f0000000000000000000000000000018a5400673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004145b0254c2046af73c5aee6f3f13179962b3369763ef1e47d14b7ecd30524db193774499a8a258a954f098cb135d16dee5eb32eeb8c5b6098c5fb00891eabec301b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c549324ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1ba5c4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e89fc7e4ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678240f38ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c1f341ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0addb8ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a930d2ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d75d2bf89d9c8f711fe084162d6ed23c2435bf07b3849de9ba9ae56efa836e58000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cb1c80000000000000000000000000000000000000000000000101ff27f8e04112fb40000000000000000000000000000018a5000673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041056e4c2ddc4ffdd008d3ecc1ef0cace08bf1c6957be7227de0aa3faf0aebbc085d193f5a133a80afb12be69e2b0765ac955bab4e1f428a8705c00a26a84b73a31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f6a700ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a01149862bbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e307ec50ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7230e24b202a00000000000000000000000000000000000000000000000000000075e3701f1eeee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6903bcb3000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10003156794370779805696","buyAmount":"32703642844339","buyAmountMinusFees":"32703642844339","buyAmountDisplay":"32703642844339","buyAmountDisplayMinimum":"32376606415896","buyAmountInEth":"9747647786183681805312","tradeAmountUSD":33570294.10720451,"tradeFeeAmountUSD":285347.4999112383,"value":"9999998244640204720000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4999112383,"available":true}},"fee":"84999985079441740120","feeInEth":"85026832752151628352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.71068628,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.3737671,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4bea8f6b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8c4a1000000000000000000000000000000000000000000000010a98ba5f09dcd7e1800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cfb5e86b27ae9772ecc1839777bf4b58bb55f06a1fa383afc939e1a0925ea65a24490517de4e3a47401e8f0d90a900a5e599ef5ce24196960523b86cf5f8c019c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523d04d8d200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78fb8c28a8cfcd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb13d6717b996480000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bfa10363a7c2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000006fc0094b0409213416210fd","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10000751876595894689792","buyAmount":"34977070710799","buyAmountMinusFees":"34977070710799","buyAmountDisplay":"34977070710799","buyAmountDisplayMinimum":"34627300003692","buyAmountInEth":"9761366411390200160256","tradeAmountUSD":35829193.71068628,"tradeFeeAmountUSD":304548.1465408334,"value":"9999998244640204720000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1465408334,"available":true}},"fee":"84999985079441740120","feeInEth":"85006390951065104872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json index 49f23483b6..d2948131d8 100644 --- a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json +++ b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566969.80966618,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709545.530886244,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001d7183567b2b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111871a899dcefedfec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077b7bc99c6f996c00ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895aae87f3f5df640afc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002470348783412d4a647b2ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0451b0bd55558286be1d8ef07e88b54756210d89ba36842947d93f332363f81173000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003daf9e95a50000000000000000000000000000000000000000000000044cad4b4f57ce713000000000000000000000000000000189a100673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415550e66e3efac5936c581f1addca07763fa189bed39ee1edb84a71b19adfe0567c04dc5f3996afa936c6f534f7c424ad63888627f76c72520c7f7e86a08c26911b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4ad3e9b1ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec13da20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c8e162dbee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e65259dff7ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85dd85dbee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096ace92b06c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970de0e8c3ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ee31c1a236b2d72b79a076eab2ff3e667f76a4befb2c728ce5f3c15ed92c6a7f000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7171e5c700000000000000000000000000000000000000000000000101f89da698946287700000000000000000000000000000189a300673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414e92b57e848f538c9b91bcaa298a62744be7f8823917a28072174c74c4c3f9a43da9b2e87b7f68a377b9d633dbe333f4ff46eb6299212d67bf8c2bc1ef9af46f1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84df7fadee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d48ac6baee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df2a47e3ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7042118c902a00000000000000000000000000000000000000000000000000000075e06b02477ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda647d6eb000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"10002166232018216695808","buyAmount":"32700375750379","buyAmountMinusFees":"32700375750379","buyAmountDisplay":"32700375750379","buyAmountDisplayMinimum":"32373371992876","buyAmountInEth":"9746673996157964205056","tradeAmountUSD":33566969.80966618,"tradeFeeAmountUSD":285319.24338216253,"value":"9999007995062950057592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.24338216253,"available":true}},"fee":"84991567958035075489","feeInEth":"85018412972154841920","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825645.72567095,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34886637.656433895,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001f6a9915c5a400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1d913cc2f0b18f7e300000000000000000000000000000000000000000000000000000e299d84dae9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b62881f5cc0e837000000000000000000000000000000000000000000000000000009743c81aaa8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7cec5abf93293ca5000000000000000000000000000000000000000000000000000006474ef88baf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000c6ff545446000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000ca85c1a394000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c14ff4378000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc80a89cbd600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a980acd630034572e7962847","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999761552390254375936","buyAmount":"34892135610242","buyAmountMinusFees":"34892135610242","buyAmountDisplay":"34892135610242","buyAmountDisplayMinimum":"34543214254140","buyAmountInEth":"9737662807261076400128","tradeAmountUSD":35825645.72567095,"tradeFeeAmountUSD":304517.98866820306,"value":"9999007995062950057592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.98866820306,"available":true}},"fee":"84991567958035075489","feeInEth":"84997973195317162192","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json index 9e6724cdda..72767bf545 100644 --- a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json +++ b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999994,"available":true},"totalPrice":{"value":5.001402090999997,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":4.95883913420154,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xcc713a04f810c347a7679810066e0ab51d18c9a769f5ace32442b13554651ce29671d5a4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000054b8f4338feb800000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000189f700673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000004c4b40600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412ac6786871f454a5ee2e09aafd5a0ec567203c61f040cc5549ff500bd000d76817e9f0d0e9a6926060f9c0e952d02f0a61f7b3b9719949db5af5bbc15f1a15091c00000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1490299999999999","buyAmount":"1490284661193081","buyAmountMinusFees":"1477617241572940","buyAmountDisplay":"1477617241572940","buyAmountDisplayMinimum":"1462841069157212","buyAmountInEth":"1477617241572940","tradeAmountUSD":5.001402090999997,"tradeFeeAmountUSD":0.04251148022260124,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.969999999735,"available":true},"totalPrice":{"value":0.04251148022260124,"available":true}},"fee":"12667419620141","feeInEth":"12667419620140","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999994,"available":true},"totalPrice":{"value":4.999212149999997,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":4.938846175670224,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004e3c519fe11cf00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004e5a680d77b14000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000001e166d96945000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000008254b3c60e6f100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bb8700bf66673a2ab51aaf14","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1395289917162537","buyAmount":"1390258855590028","buyAmountMinusFees":"1378441655317513","buyAmountDisplay":"1378441655317513","buyAmountDisplayMinimum":"1364657238764338","buyAmountInEth":"1378441655317513","tradeAmountUSD":4.999212149999997,"tradeFeeAmountUSD":0.04234008320039945,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.04234008320039945,"available":true}},"fee":"11817200272515","feeInEth":"11817200272515","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json index a482fa0135..a388f599b3 100644 --- a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json +++ b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"0x0000000000000000000000000000000000001010","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1725467104/assets/polygon/POL_xofylx.png","name":"Polygon Ecosystem Token","network":"polygon","symbol":"POL","networks":{"1":{"address":"0x455e53cbb86018ac2b8092fdcd39d8444affc3f6","decimals":18},"137":{"address":"0x0000000000000000000000000000000000001010","decimals":18}},"chainId":137,"price":{"value":0.450371174,"available":true},"totalPrice":{"value":104228.52951520277,"available":true}},"allowanceTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","allowanceNeeded":false,"to":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","data":"0x37c6145a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000be46678f79000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004d5d7b04504530fc2fa5a8a95eafc464861cdf61000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000015af1d78b58c40000000000000000000000000000000000000000000000000000000000000000019e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000019f0000000000000000000000000000000000000000000000000000000000000a800000000000000000000000000000000000000000000000000000000000000964ee8f0b86000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb000000000000000000000000000000000000000000000021cbeeef22f597c0000000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008843c2b9a7d0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000498a9b606cd6ec00000000000000000000000000000000000000000000000000000000000000007c807ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021826453c288c0d400000000000000000000000000000000000000000000002f9631bf499584cfc783600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066900000000000000000000000000000000000000000000064b00061d0005d300a0c9e75c48000000000000000009010000000000000000000000000000000000000000000000000005a500037800a007e5c0d200000000000000000000000000000000000000000000035400026400017400a0c9e75c480000000000000000280a0000000000000000000000000000000000000000000000000001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b6909b960dbbe7392d405429eb2b3649752b48386ae4071118002dc6c0b6909b960dbbe7392d405429eb2b3649752b48380000000000000000000000000000000000000000000040383dc412feada2e54ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023eabdb38f1f2362626ccee63c1e500ae614a7a56cb79c04df2aeba6f5dab80a39ca78ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc25120eef417e1d5cc832e619ae18d2f140de2999dd4fb0d8775f648430679a709e98d2b0cb6250d2887ef0044d3a4acd30000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b37f5aa1f7d41284557000000000000000000000000000000000000000000000000000000006740c9cc0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e8125120eef417e1d5cc832e619ae18d2f140de2999dd4fb1f573d6fb3f13d689ff844b4ce37794d79a7ff1c0044d3a4acd30000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ff5a56bfcd2a7d01b48000000000000000000000000000000000000000000000000000000006740c9cc0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200a0c9e75c48000000000000002908010000000000000000000000000000000000000000000001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f8f7dd53d1f3ac1052565e3ff451d7fe666a3116ae4071118002dc6c07f8f7dd53d1f3ac1052565e3ff451d7fe666a3110000000000000000000000000000000000000000000004a6d6de7cbb53c5949cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000023347ab4548f4ef4be4b9ee63c1e500290a6a7460b308ee3f19023d2d00de604bcf5b42c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2819f3450da6f110ba6ea52195b3beafa246062de6ae4071118002dc6c0819f3450da6f110ba6ea52195b3beafa246062de00000000000000000000000000000000000000000000a17ef464d6d5621ae397c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0f2fa6b667d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000000000000000000000030113f2dd360b9deceb3400000000000000009afabbc164bbe33480a06c4eca277d1afa7b718fb893db30a3abc0cfc608aacfebb0111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000d6f29312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000000000000000000022b1cbb8d98a01a3b71d034bb899775a76eb1cc2000000000000000000000000d8781ca9163e9f132a4d8392332e64115688013a000000000000000000000000000000000000000000000000000000000000008900000000000000000000000000000000000000000002fd3b8768e7b1f574b1b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019373fa727f000000000000000000000000000000000000000000000000000000000000090400000000000000000000000000000000000000000000000000000000","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9890212500000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"231428065409894054706516","buyAmountMinusFees":"231428065409894054706516","buyAmountDisplay":"231428065409894054706516","buyAmountDisplayMinimum":"193952246946171502387801","buyAmountInEth":"231428065409894054707200","tradeAmountUSD":33570300,"tradeFeeAmountUSD":368559.931125,"value":"0x021e19e0c9bab2400000","gasPrice":"","source":"socket","protocols":[{"name":"rainbow","part":100},{"name":"hop","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":368559.931125,"available":true}},"fee":"109787500000000000000","feeInEth":"109787499999999999992","feePercentageBasisPoints":"10978750000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"520000","swapType":"cross-chain","txTarget":"0x3a23F943181408EAC424116Af7b7790c94Cb97a5","chainId":1,"routes":[{"routeId":"a8fb8efa-1c34-4692-b9c8-9a0be04d48c5","isOnlySwapRoute":false,"fromAmount":"10000000000000000000000","toAmount":"231428065409894054706516","usedBridgeNames":["hop"],"minimumGasBalances":{"1":"30000000000000000","137":"60000000000000000"},"chainGasBalances":{"1":{"minGasBalance":"30000000000000000","hasGasBalance":false},"137":{"minGasBalance":"60000000000000000","hasGasBalance":false}},"totalUserTx":1,"sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","totalGasFeesInUsd":41.224838142837896,"receivedValueInUsd":104335.14694185717,"userTxs":[{"userTxType":"fund-movr","txType":"eth_sendTransaction","chainId":1,"toAmount":"231428065409894054706516","toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"stepCount":2,"routePath":"414-415","sender":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","approvalData":null,"steps":[{"type":"middleware","protocol":{"name":"rainbow","displayName":"Rainbow","icon":"https://banner2.cleanpng.com/20180329/ddw/kisspng-computer-icons-rainbow-rainbow-5abcd7ebef8553.4712289415223254839811.jpg","sellAmountMinusFees":"9890212500000000000000","buyAmountMinusFees":"3631867813667308204518196","feePercentageBasisPoints":"8500000000000000"},"swapSlippage":1,"chainId":1,"fromAsset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"fromAmount":"9975000000000000000000","toAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"toAmount":"3631867813667308204518196","minAmountOut":"3595549135530635122473014","protocolFees":{"amount":"","asset":{"chainId":0,"address":"","symbol":"","name":"","decimals":0,"icon":"","logoURI":"","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"8271646761700000","gasLimit":350000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":27.747487211525506}},{"type":"bridge","protocol":{"name":"hop","displayName":"Hop","icon":"https://bridgelogos.s3.ap-south-1.amazonaws.com/hop.png","securityScore":4,"robustnessScore":4,"sellAmountMinusFees":"","buyAmountMinusFees":"","feePercentageBasisPoints":""},"swapSlippage":0,"fromChainId":1,"fromAsset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"fromAmount":"3631867813667308204518196","toChainId":137,"toAsset":{"chainId":137,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"POL(MATIC)","name":"Polygon Ecosystem Token","decimals":18,"icon":"https://assets.polygon.technology/tokenAssets/matic.svg","logoURI":"https://assets.polygon.technology/tokenAssets/matic.svg","chainAgnosticId":null},"toAmount":"231428065409894054706516","minAmountOut":"193952246946171502387801","bridgeSlippage":0.5,"protocolFees":{"amount":"0","asset":{"chainId":1,"address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0","symbol":"MATIC","name":"Polygon","decimals":18,"icon":"https://media.socket.tech/tokens/all/MATIC","logoURI":"https://media.socket.tech/tokens/all/MATIC","chainAgnosticId":null},"feesInUsd":0},"gasFees":{"gasAmount":"4017656998540000","gasLimit":170000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":13.477350931312388},"serviceTime":1260,"maxServiceTime":1200}],"gasFees":{"gasAmount":"12289303760240000","gasLimit":520000,"asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null},"feesInUsd":41.224838142837896},"serviceTime":1260,"recipient":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","maxServiceTime":1200,"bridgeSlippage":0.5,"swapSlippage":1,"userTxIndex":0}],"serviceTime":1260,"maxServiceTime":1200,"integratorFee":{"amount":"25000000000000000000","feeTakerAddress":"0x4D5D7B04504530fc2fa5A8a95Eafc464861cDf61","asset":{"chainId":1,"address":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","symbol":"ETH","name":"Ethereum","decimals":18,"icon":"https://media.socket.tech/tokens/all/ETH","logoURI":"https://media.socket.tech/tokens/all/ETH","chainAgnosticId":null}}}],"refuel":null,"no_approval":false} \ No newline at end of file +{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json index 0da6c6e171..604afcc9f3 100644 --- a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json +++ b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000bc0d05d120000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3154970066","buyAmountInEth":"989863555623319945","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3559.967404534182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c99ce27f200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3560528437","buyAmountMinusFees":"3560528437","buyAmountDisplay":"3560528437","buyAmountDisplayMinimum":"3382502016","buyAmountInEth":"993593885583318089","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json index 76bfbdabe7..72b209bada 100644 --- a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json +++ b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2511.361898159039,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2493.952887810285,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000a30b6f7a20a7f3b388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"748326682943839958","buyAmount":"749273381584862363","buyAmountMinusFees":"742904557841391033","buyAmountDisplay":"742904557841391033","buyAmountDisplayMinimum":"728046466684563213","buyAmountInEth":"743139207981681868","tradeAmountUSD":2511.361898159039,"tradeFeeAmountUSD":21.380332371545556,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.380332371545556,"available":true}},"fee":"6368823743471330","feeInEth":"6370835368476344","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2510.26225964037,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.1550075049,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000097dab3a57ab7b6100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000981519f514384ec000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a664f998098b000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b62d73be282d6a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fa99d98de4b21b5f9e206e8d","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"700671921521881737","buyAmount":"697868911273860799","buyAmountMinusFees":"691937025528032983","buyAmountDisplay":"691937025528032983","buyAmountDisplayMinimum":"678098285017472324","buyAmountInEth":"691989172122562885","tradeAmountUSD":2510.26225964037,"tradeFeeAmountUSD":21.253472076441398,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":21.253472076441398,"available":true}},"fee":"5931885745827816","feeInEth":"5932332791771844","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json index a74f9e1047..993477d677 100644 --- a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json +++ b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.10720451,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.540998854,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001d261f3bfb7c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc4542027c0fb2563c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6a763385c9b444ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db67243035120e14dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df973aa508aa5bb61ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e02f7522981c51779547c7844b5391daecc352b1d00e50a4cd80b38a1bc35dfa000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0fa2d8d0000000000000000000000000000000000000000000000044cc93314cde2731f0000000000000000000000000000018a9d00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417af3b55b2b0916c78230246b7d63a7daff7ebd6b972fa253773e362a7ef370b253106faef075ec6848d4cc7d3dc1042e41df3be71de639ec0f0a61e5498d37381c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0686848ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663c5b5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fdd7f9ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d73647e5b1ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac4726a55ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b04054cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b049297ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04f9ce9c119e8499b4b866b078fb113e28a2dda93a01a7f706339e4198c71f5947000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245cb1c80000000000000000000000000000000000000000000000101ff27f8e04112fb40000000000000000000000000000018a3400673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000417918e8636ea246d496ab545df542370f0b0b6d2d36c7e28463338552b097cc6a19493d4801b665b7607ba4c5e805f0d3f56adc8e99024d997d6ad05dbf34face1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b3238b5ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73600dddbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbe22bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf191e11802a00000000000000000000000000000000000000000000000000000074b2985cddfee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6903bcb3000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10003156794370779805696","buyAmount":"32703642844339","buyAmountMinusFees":"32703642844339","buyAmountDisplay":"32703642844339","buyAmountDisplayMinimum":"32049569987453","buyAmountInEth":"9747647786183681805312","tradeAmountUSD":33570294.10720451,"tradeFeeAmountUSD":285347.4999112383,"value":"9999998244640204720000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4999112383,"available":true}},"fee":"84999985079441740120","feeInEth":"85026832752151628352","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.71068628,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971473.694849655,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cd6f3b57b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d87363f8000000000000000000000000000000000000000000000010a98ba5f09dcd7e1800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7e05124e1f1c92e855077ac702153e46687d94d17c8928afea97807f6c94d69d7bb822bf6a0aaa2ca21578da97e183f41866d28451b52feb6ad9e2ce291abbd100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523d04d8d200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78fb8c28a8cfcd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb13d6717b996480000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bfa10363a7c2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e089dcb7edd756b846cc64f2","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"34976985018379","buyAmountMinusFees":"34976985018379","buyAmountDisplay":"34976985018379","buyAmountDisplayMinimum":"34277445318012","buyAmountInEth":"9760606905777872629760","tradeAmountUSD":35829193.71068628,"tradeFeeAmountUSD":304548.1465408334,"value":"9999998244640204720000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1465408334,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json index bd0ac7961e..3708ac34d2 100644 --- a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json +++ b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33560175.663590424,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32703016.510569382,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021954c4b50f5294399c00000000000000000000000000000000000000000000000000001d70022d6fb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b0fba6405c410121d33c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b061f1a77fb49a12d9aee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb110000000000000000000000000000000000000000000028939f00d15b2149d3c3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246e5ccb9fd4489730872ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04be610c442fc54f6d05b1f8e396b2ab5ea208ed79ab3fb772550eb96f4476aa3c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacac96890000000000000000000000000000000000000000000000044c7442fc06cdfc5d0000000000000000000000000000018a7f00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004103aa56d363db04eafe7fa3977d705c209e885e51c0de0167a9542d5ceaf5aef0349aef3e18584ec6c14caef34ec9cf62c4b7aede2b5dfad9aa9b8aa6e1db40c81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c47c1bdc5ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e5e249c9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f38800ba86ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6051dda92ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b81ff7460ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a5358afec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970625f196ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04d69eef5f67f59a3e5d8aeb4db63b1a8f95ae1cdf06ae0e4826ea64de9f4a25a3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e711ac19250000000000000000000000000000000000000000000000101eb3fb311984725e0000000000000000000000000000018ab100673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041dec797a653ff857e33c0aaab21d57da5e39897d970dc7912bf4b3a8971ac675512ee74cc0bb4a8ec55c7982b992208c02b12b7ae695e78ff4a55b50c828923f41b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b660803b4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0051a1782eee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096d7726477ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6c6622c4802a00000000000000000000000000000000000000000000000000000075da636fbd2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbc213ad315000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"10000141736544255166464","buyAmount":"32693848560405","buyAmountMinusFees":"32693848560405","buyAmountDisplay":"32693848560405","buyAmountDisplayMinimum":"32366910074801","buyAmountInEth":"9744728501914313765888","tradeAmountUSD":33560175.663590424,"tradeFeeAmountUSD":285261.4931405186,"value":"9996984138834155356203","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285261.4931405186,"available":true}},"fee":"84974365180090320527","feeInEth":"85001204760626168904","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818394.410711676,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961093.957993545,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be244f839000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c4a3eb12000000000000000000000000000000000000000000000010a84283909a5e31ea00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cff6394afaf7734db9edb7517aab6e5db3b5cd96cd421639f0462bad5dd880f224584ebf0506f1edaddc3cd13aa0859a8db37d169fc0566c9ed518873b380be6600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb7e07ec0d50300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13307cfeaff2f4a570000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086f394914d90afe0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb51539543afc2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000034964fa1ec032f224bce7288","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356160","buyAmount":"34966603645730","buyAmountMinusFees":"34966603645730","buyAmountDisplay":"34966603645730","buyAmountDisplayMinimum":"34616937609273","buyAmountInEth":"9757709900861181299712","tradeAmountUSD":35818394.410711676,"tradeFeeAmountUSD":304456.3524910492,"value":"9996984138834155356203","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.3524910492,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320528","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json index 35b30be2ed..08832967f3 100644 --- a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json +++ b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.38017252,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.80331239,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001d261f3fe75f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc457b089f50939d5c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6e0239184edf7bee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db67798866cc62b1ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9c082dcd951df47ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04cb85e599ad07306a35c8ee1f2ac5ab2c09f5f512114c4ea80a161e9904f75a5a000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ebbb00000000000000000000000000000000000000000000000044cc933aaf91181260000000000000000000000000000018a6700673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004108d5e56eba49a4c11fa4513205874a5d9d17a619dd382c554fa75cecb284f82868021bef59918abb0bf4f7f50cb92c67b4925cc8497dfb8eac3b6a668db4bcfa1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0687048ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663d5d9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fe8113ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d73648af00ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472746aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b04195ec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b04a6bdee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04982d4cbf4ed080247db9ed949d24abf7e6d91608a098ac3e4a7598fccb5f0ed3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7229dcc3b0000000000000000000000000000000000000000000000101ff281c12601a4520000000000000000000000000000018aaa00673f78790000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418ba3504bebcee0e912fb65097267b9e37e3fd802de4155ac1d1076c8aa598c0363f599886c9128571a34b9ae7e42176169712bcd651cea0c5c00ce3a7ccc61c61b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b328918ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e736023310ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbf64aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf192820702a00000000000000000000000000000000000000000000000000000074b2986c952ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6907bd13000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10003156875708817547264","buyAmount":"32703643106579","buyAmountMinusFees":"32703643106579","buyAmountDisplay":"32703643106579","buyAmountDisplayMinimum":"32049570244448","buyAmountInEth":"9747647864346936205312","tradeAmountUSD":33570294.38017252,"tradeFeeAmountUSD":285347.50223146647,"value":"9999998325952559545000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50223146647,"available":true}},"fee":"84999985770596756132","feeInEth":"85026833443524949144","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.002021946,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.653785974,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbf94ee5000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c1764a56abca00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8e7a8000000000000000000000000000000000000000000000010a98ba8368523d47700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001caae2c28e4f168c06e51df6989e25882d817267a108054cbe3a3025c1aa87765b0c9a3eaaabd57a5c3973747626304ba18331ce3fc8d981168efde62a1a5ff0ef00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a16dbaf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f79118b7c1453350000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb14a3c085cddc40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c1764a56abca000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56abca00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000c7e8bfdf790509706417405","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"34977070990862","buyAmountMinusFees":"34977070990862","buyAmountDisplay":"34977070990862","buyAmountDisplayMinimum":"34277529571045","buyAmountInEth":"9760630897085609294848","tradeAmountUSD":35829194.002021946,"tradeFeeAmountUSD":304548.14901718654,"value":"9999998325952559545000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14901718654,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json index f6af9191ca..a3ece358ce 100644 --- a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json +++ b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570.3,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":33134.57865357899,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000200ca002000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10003158550285014304","buyAmount":"33945600","buyAmountMinusFees":"33945600","buyAmountDisplay":"33945600","buyAmountDisplayMinimum":"33606144","buyAmountInEth":"9873323853782658006","tradeAmountUSD":33570.3,"tradeFeeAmountUSD":285.34755,"value":"10000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285.34755,"available":true}},"fee":"85000000000000000","feeInEth":"85026847677422621","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829.2,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":35490.56478296649,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000233e3bc00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000899927f7d3ff800000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000234bc97000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d8db000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000023a7e2f00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001e31250d5c7f33b58032aadb","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"37328913","buyAmountMinusFees":"37328913","buyAmountDisplay":"37328913","buyAmountDisplayMinimum":"36955624","buyAmountInEth":"9905486246683288196","tradeAmountUSD":35829.2,"tradeFeeAmountUSD":304.5482,"value":"10000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304.5482,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json index b78eea143d..4234fb7647 100644 --- a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json +++ b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33556332.21107797,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709581.81785892,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970753448fc4e1fe300000000000000000000000000000000000000000000000000001d71857a7c5b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111673b631be9eeb96c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077980473c90caa3a8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895a7ed49de4416dfe7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247031d84e13d8d0d67a0ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fbd726fdd4d1f623db7d5b74aac2d5ff43dad1f1b6fd9ed33537e15628c14831000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafd9d9670000000000000000000000000000000000000000000000044cacf839ed89d74b0000000000000000000000000000018a6000673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004159c7b2149a622a6cfcf972994f75933fb66f7a2aaf78afc0ba69bb04daa6aed86a5281a3ee8b2702eafa21a2c7492a96fe0be18c9a775b97a6211afb09c36e981b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4acf706bee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec0ad451c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c882dfcfee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e651e95c9fee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85d7e38cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acddf2d2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970dd5a5dcee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049c652ea02bb07375df23a7951c0d0da63092ca932d45c6e22656fdd00d243d2e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e70025c0000000000000000000000000000000000000000000000101f88a2d93ac4e75b0000000000000000000000000000018a7300673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d7554336eb917540d49a6c64d01a34646e888170c1e26bee39bf635572da28a70fa8fc0ae2d25aed620bf356dbf3c8208550b26dc36507f7740fddae6a54fc8e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84b291c0ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d3cc1173ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df35e67bee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7047e0d3f02a00000000000000000000000000000000000000000000000000000075e074160aeee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda871612b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711680","buyAmount":"32700412027179","buyAmountMinusFees":"32700412027179","buyAmountDisplay":"32700412027179","buyAmountDisplayMinimum":"32373407906908","buyAmountInEth":"9746684808820972205056","tradeAmountUSD":33556332.21107797,"tradeFeeAmountUSD":285228.8237941628,"value":"9998996478239664711490","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V3","part":69},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285228.8237941628,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150048","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825604.46181446,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968022.962240286,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7b3465b4000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c87b5064eb60f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1cbff4d000000000000000000000000000000000000000000000010a91e41e07876224500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ba978fdd0c1dae7b7190ce179257f5e6b7a1a13b60e83de22b6edc465e3b75a5e37a5b1afd5d77250fd65e579317cf1aa240e58226364205afce47e98bb31ca3200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018aba718c767e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b565c7c4bafec690000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d47b5f32c259ad30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c87b5064eb60f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87b5064eb60f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000005bd0528806e40d4b5c0e4a6f","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9999750034699024271360","buyAmount":"34973533741952","buyAmountMinusFees":"34973533741952","buyAmountDisplay":"34973533741952","buyAmountDisplayMinimum":"34623798404533","buyAmountInEth":"9760379317611344067584","tradeAmountUSD":35825604.46181446,"tradeFeeAmountUSD":304517.6379254229,"value":"9998996478239664711490","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.6379254229,"available":true}},"fee":"84991470065037150047","feeInEth":"84997875294941706304","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json index 6bfb291b6c..64d95809d4 100644 --- a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json +++ b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570294.49070184,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712740.460567515,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001d261af778e30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc45921fa707820acc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f6f71e56f3e4071ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db679c1719d17f9f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df9dfa09b4109f71bee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a048fdd9672f5a428ce196a85ed6ce3b227bc7f39542b0d9a3ef69e3fedcf06e8fb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db0145c270000000000000000000000000000000000000000000000044cc933e7c75b456900000000000000000000000000000189c700673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000410f3df952eb59948eef1e7c06c2e6c710ada9e7b89a0dd1aa66f349c022c560f777a5970e501e1a6ec0e7fd2e6ab101d3d6031c28b7ed00c3d6d6c0bc1ee022881c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0687386ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663dc62c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fec58bee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736490083ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472787fee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b042180c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b04aee6ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e758ed3e8a5a1b17a1fbea380982017378e17c0c60708129845054c23e2752c4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71cf220610000000000000000000000000000000000000000000000101ff282a52b96444a00000000000000000000000000000189c600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418dfa4e8e87a8d4855c305fafa26f42df49573a1f982476cc9923b8d49affc0f3280c89aa068c9b857ae9ee83c1dea6d302cb4150884b98dc3d0cece01c5cdde01b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b32a9a4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e73602bd3aee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cc55bbcee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf0ddae2602a00000000000000000000000000000000000000000000000000000074b286c41aaee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64a8ee4b000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"10003156908643949544448","buyAmount":"32703569784395","buyAmountMinusFees":"32703569784395","buyAmountDisplay":"32703569784395","buyAmountDisplayMinimum":"32049498388708","buyAmountInEth":"9747626009936773165056","tradeAmountUSD":33570294.49070184,"tradeFeeAmountUSD":285347.50317096565,"value":"9999998358877292100000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.50317096565,"available":true}},"fee":"84999986050456982850","feeInEth":"85026833723473571120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.11998863,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.76771802,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbfb031c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c2344efd563500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8f87f000000000000000000000000000000000000000000000010a98ba9222481acf800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb9810de6476c066c804f00b02f8a36e129d4c4cb3c32164efb274c946d708d68166bbc410783f1e0e27ff45a00f7d0b336cd8f65017f1095118ff694949d0c0e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcd027600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f791a73b3dcfd3a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb14f6e28eee2120000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c2344efd5635000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd563500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000394d1872d7b0f744857f08e2","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"34977071104812","buyAmountMinusFees":"34977071104812","buyAmountDisplay":"34977071104812","buyAmountDisplayMinimum":"34277529682716","buyAmountInEth":"9760630928884266507264","tradeAmountUSD":35829194.11998863,"tradeFeeAmountUSD":304548.1500199033,"value":"9999998358877292100000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1500199033,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json index 45f554cc4b..6c6e8091c5 100644 --- a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json +++ b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":7.793323182455225,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999994,"available":true},"totalPrice":{"value":5.001402090999997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000000000000000000000000000818dca3021ec9000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b2b0d9e63e75ac04b0efc39d20809eabb9c79544b96cbd1b8ef993a49de1b147a6956e498d8e590172d6e2c7f9a4be993ace0d6ec7433e5835667390e407c63fe869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a7908a4a86a3ff6fd6a39092","sellAmount":"2321493457745455","sellAmountMinusFees":"2282360697426495","sellAmountDisplay":"2321493457745455","sellAmountInEth":"2322226713127717","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1490299999999999","tradeAmountUSD":7.793323182455225,"tradeFeeAmountUSD":0.06568492518677599,"value":"2321493457745455","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999998388,"available":true},"totalPrice":{"value":0.06568492518677599,"available":true}},"fee":"19566380159480","feeInEth":"19572560299042","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999973,"available":true},"totalPrice":{"value":5.077606772402957,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999994,"available":true},"totalPrice":{"value":4.999212149999997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004f1642d6ab3cd00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c69cb20641ebe220b221c13136d194625a3b7aa9bb466caa607d5858798f6804c4c5dfcbbcd755bfcdf38c0b2db0f7572d2873f1e761a81d7e5aca486f3857bc6869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c51936c991401fbe6f39059f","sellAmount":"1417170010048497","sellAmountMinusFees":"1393281174975791","sellAmountDisplay":"1417170010048497","sellAmountInEth":"1417170010048496","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1395289917162537","tradeAmountUSD":5.077606772402957,"tradeFeeAmountUSD":0.04279589247934989,"value":"1417170010048497","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.04279589247934989,"available":true}},"fee":"11944417536353","feeInEth":"11944417536353","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json index 9627c95598..e7b8b12128 100644 --- a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json +++ b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":3355.9700000000003,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.7924189170694,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001f9f88100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000001fabb16000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000c295000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000c619fb9400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000026257794ea783e78046af666","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3320861189","buyAmountMinusFees":"3320861189","buyAmountDisplay":"3320861189","buyAmountDisplayMinimum":"33208612","buyAmountInEth":"989815885993339945","tradeAmountUSD":3355.9700000000003,"tradeFeeAmountUSD":28.525745,"value":"1000000000000000000","gasPrice":"26706819757","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":28.525745,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3562.1367206611712,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d45a756f0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c2b21670239d836e5e2f30ae6885a4c7b563d6da20bfcff5eba931c9cb224b9060eb0471c7d06794fdd90e90798d619f3493eb1e4b7de33fa97611e81041446f7869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006797eacf0a2792b98e4950c0","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3562698095","buyAmountMinusFees":"3562698095","buyAmountDisplay":"3562698095","buyAmountDisplayMinimum":"35626981","buyAmountInEth":"994199345969536297","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json index 40f74a7a41..0ae768c4cb 100644 --- a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json +++ b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566987.398049995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709562.432878543,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001d718455bc040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b111959a52d5b3e7635c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b077c62aa4cdee3e119ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002895ac43b2c00b9cfed7c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000247035c023ae8a55f4ddbee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04806293ee858138870a8a55ea53f6e17bceff581700e55ce49690f9ed475f0dd8000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe09efa0000000000000000000000000000000000000000000000044cad711b4aab2ad80000000000000000000000000000018a8b00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041f230e90a15f81c16dc2b42fdb50d7f15ea54b502de5b659ac01a6ac3f8a3dae421545d50a8db10f5f8b9893773fac6665f351af842eb60b4dd332f6f35bf90dc1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4ad5f2b3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ec17f4e8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3c90c61bdee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e6528d0f46ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b85e015feee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096acee45aac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000970de60844ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0442ca2670ff8bb27ace3f2aa6f27dfe17bc2dfcba1294b6b65f332c4083ff2422000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71e8960cd0000000000000000000000000000000000000000000000101f8a68265801e0aa0000000000000000000000000000018a8c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418c72c968a10b913ad5a122b01e120f55e9f0449a07445b19fcd59fbaf8938d4666ae67734ecd04f9f4da30dca01b83b07c99e49363ae2cca17b757ebf3bffe3d1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b84f3f02bee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a00d4e188a8ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096df2f655aee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7044a045902a00000000000000000000000000000000000000000000000000000075e06f013c2ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda749abd1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"10002171472942246811648","buyAmount":"32700392647633","buyAmountMinusFees":"32700392647633","buyAmountDisplay":"32700392647633","buyAmountDisplayMinimum":"32373388721157","buyAmountInEth":"9746679032553491444736","tradeAmountUSD":33566987.398049995,"tradeFeeAmountUSD":285319.39288342494,"value":"9999013234332130657592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2},{"name":"PANCAKESWAP_V3","part":1.333333333}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.39288342494,"available":true}},"fee":"84991612491823110589","feeInEth":"85018457520009097912","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825664.49755328,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968139.66418266,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d8217991f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d644ad26000000000000000000000000000000000000000000000010a9201649c157460500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c6af346984a739cd85f000a3d3d709c296725805c374bc6915a8775eb778ae4961de5a216db67640b46b61f941f84a12738bef5b9b63a9e151fd7e210566e70ac00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281f98e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b68117f700ef6150000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d520a35016018620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9e0175495716b8000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000048efbf3a979a0af9efaefd69","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999766792054283111424","buyAmount":"34973650462286","buyAmountMinusFees":"34973650462286","buyAmountDisplay":"34973650462286","buyAmountDisplayMinimum":"34623913957664","buyAmountInEth":"9760411891807086597120","tradeAmountUSD":35825664.49755328,"tradeFeeAmountUSD":304518.14822920284,"value":"9999013234332130657592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304518.14822920284,"available":true}},"fee":"84991612491823110589","feeInEth":"84998017732461406456","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json index d0733b08fc..e686dd1b27 100644 --- a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json +++ b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":3321.9523967651935,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c3f8035e20000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3321021122","buyAmountMinusFees":"3321021122","buyAmountDisplay":"3321021122","buyAmountDisplayMinimum":"3287810911","buyAmountInEth":"989863555623319945","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3556.1887920239865,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d435f53b0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7d0000000000000000000000000000000000000000674f6a410000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9e94fe36d6fcd31d3de3667890f5a580c20f2bd710bbe47a37503e4fc6f0be76699253775af0bb69c87ef47163123fe9b39bc27b0fb25a90479f92c68a45fd4a869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a2f7ee8183ef6263f4f1c71f","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3556749229","buyAmountMinusFees":"3556749229","buyAmountDisplay":"3556749229","buyAmountDisplayMinimum":"3521181737","buyAmountInEth":"992614068363916819","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.454819999999998,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json index 78bcff5f32..e54517087b 100644 --- a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json +++ b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566987.398049995,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709562.432878543,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e200000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001d256161cc380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb1bae12b35ce87f5bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac19792ccc83724cf4fee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cba0a2022f43925a4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411fc5197af5cfa954d4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04602bf4d70195c77a6ecbcb851439149f17c5dcf56b4c297fe351cd2bf9358ef4000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafe09efa0000000000000000000000000000000000000000000000044cad711b4aab2ad80000000000000000000000000000018a5c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000419ee5d229fb78c883f454f7d80877037f113f629aa5b32cb322a37bd9a0fdbb8869827f950afe83af1172baa336acd97c4a8827c073f43bc26f8e6d2635a2593e1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baeeda542ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b367e055c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fabc1859ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d711121976ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac2956b1aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000095274e20c2c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000095874b24a0ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a042d03edec40bda6c5232f9e2a45d7ef3a3b075dc793ea2a867952e1de68f48661000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71eb4fb360000000000000000000000000000000000000000000000101f8a68265801e0aa0000000000000000000000000000018a1c00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411d38673fe1eb916f9251cfe1c0847d5f01cdbad4f285c6800c099c8b3d50c1ef7c5e9d570ec03357b18a96a558cd189b77ee0b8ae6c9817dd6194d4032aa46411c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c565297ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f6eec556ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000095590d4d0eee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad31d4f4b02a00000000000000000000000000000000000000000000000000000074af9f03cefee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda749abd1000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"10002171472942246811648","buyAmount":"32700392647633","buyAmountMinusFees":"32700392647633","buyAmountDisplay":"32700392647633","buyAmountDisplayMinimum":"32046384794681","buyAmountInEth":"9746679032553491444736","tradeAmountUSD":33566987.398049995,"tradeFeeAmountUSD":285319.39288342494,"value":"9999013234332130657592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"PMM15","part":1.666666667},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.39288342494,"available":true}},"fee":"84991612491823110589","feeInEth":"85018457520009097912","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825664.49755328,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968142.71863829,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c1459ba9f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d67e7a80000000000000000000000000000000000000000000000010a9201649c157460500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c279c78b2ecc4336b541492ccb5528a5864b54e912af75c6c761f0d4c022151a14692e5e12f6b0e3a412e6b39cca47cf30c6b8b24edace19aa4063e3978ec6bab00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281f98e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b68117f700ef6150000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d520a35016018620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9e0175495716b8000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000da6d15e90b8a70922b02c065","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130656256","buyAmount":"34973653517223","buyAmountMinusFees":"34973653517223","buyAmountDisplay":"34973653517223","buyAmountDisplayMinimum":"34274180446879","buyAmountInEth":"9759677223783476200448","tradeAmountUSD":35825664.49755328,"tradeFeeAmountUSD":304518.14822920284,"value":"9999013234332130657592","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304518.14822920284,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json index 4135596c4d..684c14c836 100644 --- a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json +++ b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":2491.682924363639,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":2474.4121161915396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000a36af8b8240477f388000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"742462812350419959","buyAmount":"743402629133555975","buyAmountMinusFees":"737083706785920750","buyAmountDisplay":"737083706785920750","buyAmountDisplayMinimum":"729712869718061543","buyAmountInEth":"737316518381135557","tradeAmountUSD":2491.682924363639,"tradeFeeAmountUSD":21.212811888681877,"value":"0","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999997,"available":true},"totalPrice":{"value":21.212811888681877,"available":true}},"fee":"6318922347635225","feeInEth":"6320918211033435","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2490.5919025869894,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2459.6928223607374,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000947967d700000000000000000000000000000000000000000000000009833aca3d2db39d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000986e352aed94aa3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a88871ab9706000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009a2a4154098fe0400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000eabc44ec3fad361b6259a597","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"695181472537643670","buyAmount":"692390409963353182","buyAmountMinusFees":"686505091478664680","buyAmountDisplay":"686505091478664680","buyAmountDisplayMinimum":"679640040563878034","buyAmountInEth":"686556828705214643","tradeAmountUSD":2490.5919025869894,"tradeFeeAmountUSD":21.086625305160126,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.086625305160126,"available":true}},"fee":"5885318484688502","feeInEth":"5885762021174306","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json index d391fd9381..edd913c3ae 100644 --- a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json +++ b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570296.09527872,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712815.451487437,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001d261f588b060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc46e1534bf7cdca1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f844b7be5610b09ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db6991c475cd9a5ccc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412dfba358f3deae8408ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04fe92255a1f4b49bcd77a4b528047f4e2ebe620e8d9a9bb42f464688c61f42269000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ef08c0000000000000000000000000000000000000000000000044cc9375a825fccb60000000000000000000000000000018a3b00673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004144cedcc705a01e08be805fb3161cb26ff9bccbfc4d1311ddbcadb943aeb1d92b0f48733ee0e8d116e30ac0f6bfa917c69cc8f15084821b266b0ed34ec37eb3d31b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb068a294ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b6643b47c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e71a02a78dee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d7364d9fd7ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac472b3bfee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b049780c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b052556ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04bce05994501512b9bd4db7115790029d58e49d47f4e86ecc6359aadcbffe0176000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245d97510000000000000000000000000000000000000000000000101ff28f9368e73faa0000000000000000000000000000018a7100673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004176572d335672511f5af32a2a8c6b08a66fe0054538730af44425c39af20ff7f43d98d690460d482319c20fd77c2a605b0b2e071d9df3bebf00ee088f2e3059ce1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b34822eee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e7360a92f4ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdc74b0ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf196753902a00000000000000000000000000000000000000000000000000000074b298cf53cee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe6920e174000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"10003157386770057969664","buyAmount":"32703644754292","buyAmountMinusFees":"32703644754292","buyAmountDisplay":"32703644754292","buyAmountDisplayMinimum":"32049571859207","buyAmountInEth":"9747648355464272986112","tradeAmountUSD":33570296.09527872,"tradeFeeAmountUSD":285347.5168098691,"value":"9999998836852429675000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5168098691,"available":true}},"fee":"84999990113245652237","feeInEth":"85026837787545492752","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829195.83253531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971561.4131777,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdc139f20000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec9c3bd000000000000000000000000000000000000000000000010a98bb67eb933394200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001baa0eaa44347d2e8ce5a66f55f4fb754a2fa207edb95cf2269e1086c36c72bc4115371a5f501467dd730672d1af568264ec08569ac03a6d2dbfe7c2104cce841200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a32593278c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f799bc2190298dd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb19adbe3edf63c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c4e02facadccfa5d44cd4687","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"34977072750531","buyAmountMinusFees":"34977072750531","buyAmountDisplay":"34977072750531","buyAmountDisplayMinimum":"34277531295521","buyAmountInEth":"9760631388135291942912","tradeAmountUSD":35829195.83253531,"tradeFeeAmountUSD":304548.16457655013,"value":"9999998836852429675000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.16457655013,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json index a8554aaf59..ac925a66b0 100644 --- a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json +++ b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":3357.03,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":3313.6872507858657,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b000000000000000000000000000000000000000000000000000000000033484f2000000000000000000000004585fe77225b41b697c938b018e2ac67ac5a20c0d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000315855028501430","buyAmount":"3394795","buyAmountMinusFees":"3394795","buyAmountDisplay":"3394795","buyAmountDisplayMinimum":"3360848","buyAmountInEth":"987400736831933991","tradeAmountUSD":3357.03,"tradeFeeAmountUSD":28.534755,"value":"1000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":28.534755,"available":true}},"fee":"8500000000000000","feeInEth":"8502684767742262","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3549.268210922701,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000038646f00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000387a1e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015af000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000039196c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000115daad245aec25a298ce0b4","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3733114","buyAmountMinusFees":"3733114","buyAmountDisplay":"3733114","buyAmountDisplayMinimum":"3695783","buyAmountInEth":"990607719659579605","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json index a9c21af497..c9109d68b4 100644 --- a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json +++ b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570293.804233156,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712813.249849234,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001d261f37a13d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acbc4502b7ca0eec06ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac23f66865fc35dfb34ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282db66c57690575755dc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002412df91e5f7436aa1db6ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a045032d51692ac415e1a648e60569659fb227249f3b40cf2f594187799cc0ef86e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db08819af0000000000000000000000000000000000000000000000044cc9326e2135a2de0000000000000000000000000000018ab600673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a98e63cbb42172877714f4512e0b22c30600132cc754b02017ef35b5508d78ad5d27a8638adcabf8f7e96f37ef8fdca520ba65f1354c6928b5b1e46c706a6dc01b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003bb0685f66ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b663b3c9c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e719fd1c4aee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d736470643ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac4725f25ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f1852000000000000000000000000000000000000000000000000000000952b03ef04c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958b047c3aee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049dfca7708d9fabd31e59a3910fea0cbd9a96877cb2fa3802fa162532e813fc65000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245c8ecd0000000000000000000000000000000000000000000000101ff27d1cfc8922c20000000000000000000000000000018a6a00673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415ad2560c473c613b53a8a8ef943a56ab7dffb3ca23dffb0d06003a8f8a0158ef1657adf44bc9a86540f843042c67e56ddf1e342047b283f7278058ed2c5c5a7a1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002557b31df7cee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e735ff6324ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a0000000000000000000000000000000000000000000000000000000955cdbcbd8ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aaf1912e7702a00000000000000000000000000000000000000000000000000000074b2984b6c7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe68ff4bb7000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"10003156704092453246976","buyAmount":"32703642553271","buyAmountMinusFees":"32703642553271","buyAmountDisplay":"32703642553271","buyAmountDisplayMinimum":"32049569702206","buyAmountInEth":"9747647699427953725440","tradeAmountUSD":33570293.804233156,"tradeFeeAmountUSD":285347.4973359818,"value":"9999998154390384020000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.4973359818,"available":true}},"fee":"84999984312318264170","feeInEth":"85026831984785852584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.387328394,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971481.107707426,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cd762934d000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d905666d000000000000000000000000000000000000000000000010a98ba36ac0afd71f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc82fb2d5460ad0a47749f9374fd41121536c5d973a6a4f757bcf3d4c71493f4941361b79975ac2cedb687bd8f48a897c1d0521f172a7d415dd87ade4cbee312b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc09b74000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78e321dd5acb160000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb12f291674b55d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bd9827c7c502000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002596e6b7072a3579a3f32f70","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"34976992432405","buyAmountMinusFees":"34976992432405","buyAmountDisplay":"34976992432405","buyAmountDisplayMinimum":"34277452583757","buyAmountInEth":"9760608974721017305088","tradeAmountUSD":35829193.387328394,"tradeFeeAmountUSD":304548.14379229135,"value":"9999998154390384020000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14379229135,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json index 48376a7fe4..a84ff8b361 100644 --- a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json +++ b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712745.754849713,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000001d72402027d50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c405f9396cae53aec02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b08263e200b89b6e221ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896abb38215e4f45fbdc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711bc0352f9d8404febee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a049ca65f9bd66a5a253f78d81c146c833c863c1286818685f1b709dfcaa9d28f45000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16f68e30000000000000000000000000000000000000000000000044cc93fbe9ffc00000000000000000000000000000000018a7d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041702251d0c6691b1c842e44211659e6bb540a2736b875632e9bcc27420f7c619f04ab35816df8b05571044d8f11ea393c225970c2498476722295dab26c5bb42f1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c5541b3ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1d05d0c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8ae2fa0ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e678353554ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c2cf16ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0af9153c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711aae839ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0481f3cfb45511abc574772f16d0fc101142e32a0bf415e48cdbcf79ef7b66f182000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e722a0550a0000000000000000000000000000000000000000000000101ff2af0ad7f100000000000000000000000000000000018ab700673f78790000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416b0486d7311f61b4844602065abe812140b5ec182db9ec11d7775e89e6ff0dc11beedd087336a33db7efac82e589037d39d9f90bcc61811a778bbdf020df97361b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93fd8015ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0114b573e7ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f2c535ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b72264ec5402a00000000000000000000000000000000000000000000000000000075e35f98d0dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64f9b149000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10003158550285014303744","buyAmount":"32703575077193","buyAmountMinusFees":"32703575077193","buyAmountDisplay":"32703575077193","buyAmountDisplayMinimum":"32376539326422","buyAmountInEth":"9747627587508145045504","tradeAmountUSD":33570300,"tradeFeeAmountUSD":285347.55,"value":"10000000000000000000000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V2","part":3},{"name":"DODO_V2","part":0.3333333333},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V3","part":69}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.55,"available":true}},"fee":"85000000000000000000","feeInEth":"85026847677422621584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829200,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971541.03598504,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4ad58099000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3a61700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dcfe4e59000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb3ae20588b0e4d3f0e72df03a9a4549a8d45b971d8ec18764db6497f6db06e4e022b7c88938e55f812bb784153cf0730520188c63f98156ea7f9b4c34bbaf2bf00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3841a2a72249cd00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7ad66c6f6698e80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb25269eba82b0a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f3a617000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3a61700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000065a1d744164e6803512ec635","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"34977052370127","buyAmountMinusFees":"34977052370127","buyAmountDisplay":"34977052370127","buyAmountDisplayMinimum":"34627281846426","buyAmountInEth":"9760625700820850162688","tradeAmountUSD":35829200,"tradeFeeAmountUSD":304548.2,"value":"10000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.2,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json index 676e76162b..97936c5365 100644 --- a/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json +++ b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":3.3425461200000005e-11,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181997715,"available":true},"totalPrice":{"value":0.014690118221681845,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000000000000269400000000000000000000000000000000000000000000000000000000000038cb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000034e00000000000000000000000000000000000000000000000000000000033000a007e5c0d200000000000000000000000000000000000000000000000000030c00009c4160e68c1d72340aeefe5be76eda63ae2f4bc75141100044fe0291560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037c6e3d34a6175120111111125421ca6dc452d289314280a0f8842a65514910771af9ca656af840dff83e8264ecf986ca012456a75868000000000000000000000000000000000000000077a4a4ee116bb5875d1cfc64000000000000000000000000fbeedcfe378866dab6abbafd8b2986f5c17687370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000395e00000000000000000000000000000000000000000000000000038571f03f862710000000000000000000000000000072c800673f7882572706627fc2bda1e8120000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004149e8e2a6bf054514a52e9ad465b571f6891de14f2b038d8d2c94ec4a5b477bd85a8ea2b08cf555e750dc1f456fbdd8ae0297d059fce79b01a97769c51051d89c1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9960","sellAmountMinusFees":"9876","sellAmountDisplay":"9960","sellAmountInEth":"9960","buyAmount":"14686","buyAmountMinusFees":"14686","buyAmountDisplay":"14686","buyAmountDisplayMinimum":"14540","buyAmountInEth":"4377309159999","tradeAmountUSD":3.3425461200000005e-11,"tradeFeeAmountUSD":2.8190148000000003e-13,"value":"9960","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM20","part":50},{"name":"DEFI_PLAZA","part":50}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":true},"totalPrice":{"value":2.8190148000000003e-13,"available":true}},"fee":"84","feeInEth":"84","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"error":true,"message":"all requests failed"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json index b2988b83dc..18e47e6b9e 100644 --- a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json +++ b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563550.0201824,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706259.195338294,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629967518d5866de00000000000000000000000000000000000000000000000000001d70c1785a370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b10683f53f5ab5d868bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cc210f43fff447abee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a33467f582e764a3c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f4715f001a838ddce0ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04021eed34b27d40be3a5427dd495bd9648e963a3c5bdb23db7b8678fb10f16dc0000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacbd427f0000000000000000000000000000000000000000000000044c9096549ed3a6b600000000000000000000000000000189e200673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041bd4354a98bba6d96a5072f81080728c525e9f9fcd06f06479d5cf3e8478a04c335dfeffb7b6c154a9c618a1e7068bf82ebed4c0a52f50c871903cb814ead85711c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4948330fee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f5c509c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a8398947ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b79c4daee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83eb2dd1ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a908c3c1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fccf9bee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e08385c552673b9bad8ae89aeadcc26f631040616032ced7e02e5a5846ecb97e000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e710be25d20000000000000000000000000000000000000000000000101f1e33bd5399b12a00000000000000000000000000000189e000673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416db0fe347610ff69317ebe94527f213a8e512afd087e4150847137f3a0adc50245fc447653951d30b7674975fe7a4cc91a9de602771531e557cbce9cebd371351c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75595d02ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0092a617c0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db47bb3fee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e50ccb4902a00000000000000000000000000000000000000000000000000000075dd62100f3ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2746579000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"10001147215315512138752","buyAmount":"32697090336121","buyAmountMinusFees":"32697090336121","buyAmountDisplay":"32697090336121","buyAmountDisplayMinimum":"32370119432760","buyAmountInEth":"9745694745584224726016","tradeAmountUSD":33563550.0201824,"tradeFeeAmountUSD":285290.1751715504,"value":"9997989300120165687090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667},{"name":"DODO_V2","part":0.3333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1751715504,"available":true}},"fee":"84982909051021408340","feeInEth":"85009751330181853168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821995.82318655,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964563.187602885,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7caf041beb000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43d5c87055557100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cbd15061000000000000000000000000000000000000000000000010a8b04687e774260100000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b34649c876a0b0e13b786612de16c35d6786555fb36dcc05d2e0f1e3f02d58cc151bfb6616ce7533f85401481586ab6eb07b07892932c560fa4dc6f8d6074c07a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c50817e6030f2e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372e056543fcf4090000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0adad87b125863560000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43d5c870555571000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5c87055557100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a758319178bd552d2a22cb95","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9998742780675350330368","buyAmount":"34970073422072","buyAmountMinusFees":"34970073422072","buyAmountDisplay":"34970073422072","buyAmountDisplayMinimum":"34620372687852","buyAmountInEth":"9759413614950633000960","tradeAmountUSD":35821995.82318655,"tradeFeeAmountUSD":304486.9644970856,"value":"9997989300120165687090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.9644970856,"available":true}},"fee":"84982909051021408340","feeInEth":"84989313635740477808","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json index 49d427cb63..1bd1cbdbb8 100644 --- a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json +++ b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":33552947.80136945,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706255.013615992,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001d70c139333f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b106805ee99f624445fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cbe7f022bc368595ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a2de813cd958421cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f46c897257897cf7f4ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04516c2dd0693287821fb8b81defc9d4938f4b6bfe4108e7340f5bba461758a9f3000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dae4249890000000000000000000000000000000000000000000000044c908cfab382be3b0000000000000000000000000000018a8200673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041027cbdb194f7d656218565a35a42bbfeb42d7b6718fca26d7dae3c2e0f70722933454e600bc2e384ed55ee821962dcf0b862458fc13762e2277731a0658d68331c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4947b227ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f4c10fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a82ee610ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b6d1af6ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83ea8b7cee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a907807bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fb8b21ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04790d65fa96077fc277e262e003f6fd59f50ca3da5c286f4a94230466db2ae0dc000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7181c25220000000000000000000000000000000000000000000000101f1e10ac212a495e0000000000000000000000000000018abb00673f7879000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ff8cb87977b0dfc54f7ac26710945dbf41ed82c26fd5129c7117e77a45c3065936d4e1935ad52ee25ca391cc23ba92327b8c4742ec6c35400b70a29d1f4363bf1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75544e6fee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a009290a0cbee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db467747ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e502ab8702a00000000000000000000000000000000000000000000000000000075dd6112f86ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2349b33000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"32697086155571","buyAmountMinusFees":"32697086155571","buyAmountDisplay":"32697086155571","buyAmountDisplayMinimum":"32370115294016","buyAmountInEth":"9745693499529491725312","tradeAmountUSD":33552947.80136945,"tradeFeeAmountUSD":285200.0563116403,"value":"9997988003876508667090","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"UNISWAP_V2","part":3},{"name":"PMM15","part":1.666666667},{"name":"CURVE","part":5.333333333},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"DODO_V2","part":0.3333333333},{"name":"MAVERICK_V2","part":2}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3355.9700000000003,"available":true},"totalPrice":{"value":285200.0563116403,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821991.17884922,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964550.05836099,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7cae3dbeae000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cb2b26b9000000000000000000000000000000000000000000000010a8b0224b779aa12600000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc5b3b3b55fc37c29913bc0cc7d5a1d55ad40d48b0cfb598f9ffd9955ced767ac2978975119748f6d0652b720653c8bc7c2f17fb9570be0745dac37aa64adc2d000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c2fa15f175011300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372ca6b94bab79630000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0ada0bec16cdad0f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43b88f70f83e7e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c3eb5d2b7399e3e818c5f0c1","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9998741484334004228096","buyAmount":"34970060290761","buyAmountMinusFees":"34970060290761","buyAmountDisplay":"34970060290761","buyAmountDisplayMinimum":"34620359687854","buyAmountInEth":"9759409950277304785920","tradeAmountUSD":35821991.17884922,"tradeFeeAmountUSD":304486.92502021836,"value":"9997988003876508667090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.92502021836,"available":true}},"fee":"84982898032950323670","feeInEth":"84989302616839035944","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json index 799c484388..68888d9949 100644 --- a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json +++ b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33563550.0109991,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32706259.18651182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219629964da0c1ce59c00000000000000000000000000000000000000000000000000001d70c17838180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b10683f34f38a23dc5fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b06cc20f067cfa2e3b8ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002894a334398cf5b4afefc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000246f4715c6382f3b5ccfaee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a040cce2431687de93ea4dc2009945727cb02759b1209e02a3bfe0883ad9d294e8c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dacbd42370000000000000000000000000000000000000000000000044c90964f9181415300000000000000000000000000000189f200673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004136e6eb58ece78aef2b499ed9ca7fb0e220573f2b27696bbcdcac4ade92187b71124b00dd0f277663c9fb2403241e2e9b10fa211558ab851aaceb07178cda46a81b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c494832c9ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078e8f5c47cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3a8398387ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e62b79be03ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b83eb2d7aee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096a908c312c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009709fcceecee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04ab13cd069575301577611fd6a5d382b8dd3d6bf03759162386d470feee08e6eb000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e710be24c30000000000000000000000000000000000000000000000101f1e33aa61a4b4f700000000000000000000000000000189e600673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000418c7299bd7042fe57ddcf44190c6dc14e8cdc38577e27558e584cabe83c88cbe24344c1cac781516ec8585784516a617f132a940f030b642ef67a182ef21a8a171b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b75595a46ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0092a60c27ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096db47ba90ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b6e50cc5d002a00000000000000000000000000000000000000000000000000000075dd620f867ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbce2744301000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"10001147212579103448064","buyAmount":"32697090327297","buyAmountMinusFees":"32697090327297","buyAmountDisplay":"32697090327297","buyAmountDisplayMinimum":"32370119424025","buyAmountInEth":"9745694742954143285248","tradeAmountUSD":33563550.0109991,"tradeFeeAmountUSD":285290.1750934923,"value":"9997989297384621033178","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":3},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"MAVERICK_V2","part":2},{"name":"UNISWAP_V3","part":69},{"name":"SUSHI","part":0.6666666667},{"name":"CURVE","part":5.333333333},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285290.1750934923,"available":true}},"fee":"84982909027769278782","feeInEth":"85009751306922379312","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821995.81338531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964641.120453075,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7cb39d905c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43d5b8a6b3b28600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1944793000000000000000000000000000000000000000000000010a8b0467453d4dd2200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c34558c2083ceaa2fc101aaf044f144dc3e4726b7b5763b51d979c57ee95d5980784808343c0ebca9077cc9e1b3a961c61b20ec960d97000889ef032fe061d99f00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c506fbb8a4fe6b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372e04a7d07007c70000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0adad80c8eecc7da0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43d5b8a6b3b286000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5b8a6b3b28600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e5dd734be9f4a4c48ea469c4","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9998742777939599517696","buyAmount":"34970151367204","buyAmountMinusFees":"34970151367204","buyAmountDisplay":"34970151367204","buyAmountDisplayMinimum":"34620449853532","buyAmountInEth":"9759435367801228383232","tradeAmountUSD":35821995.81338531,"tradeFeeAmountUSD":304486.96441377513,"value":"9997989297384621033178","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.96441377513,"available":true}},"fee":"84982909027769278782","feeInEth":"84989313612486595896","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json index a253a6d5f5..1562bdd9ec 100644 --- a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json +++ b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570300,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":97610.82041142,"available":true},"totalPrice":{"value":31579296.103837468,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000007750f96a500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011e000000000000000000000000000000000000000000000000000000000000012a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003c00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000000000000000000000000000008c000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa7399d9f9c5dc10000000000000000000000000000000000000000000000000000000179c9c7e6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000aeaf6fbda0235f6e25000000000000000000000000000000000000000000000000000000026391a895000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f7ad66c6f66bc100000000000000000000000000000000000000000000000000000000248805fd8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002f8937c9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002d11b1ae000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000144375727665563200000000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002cbcd2cc00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b908000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000002ffaca20000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000006712f67b00000000000000000000000000000000000000000000001b6982f65f3be6800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78870000000000000000000000000000000000000000673f784c0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c805adaf35745f9488e978eea3fc8e3d2efd8d99cf7d3734f599b6ca1fda0f21f45ec83fb9fbff07d48b2ccca52899ff8fd057d32974431bfbbaa12f189710d3e00000000000000000000000000000000000000000000001adfe9ce6767e72af90000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000037cb5c4200000000000000000000000000000000000000000000000ee49e0fdbf57f6314000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78870000000000000000000000000000000000000000673f784b0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3491a4ed21e632b5197db8d492d5bcf1369019a23c56a0cc01b5f62cd8b50cae72d2edf08054a8a70d67cb24a109355d015911e97c306a9d7e7cbabc3b993d4300000000000000000000000000000000000000000000000d6ff4e733b3f3a905000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000078858314800000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000005b0037d22afdbb5cb640d081","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10003158550285014303744","buyAmount":"32352249444","buyAmountMinusFees":"32352249444","buyAmountDisplay":"32352249444","buyAmountDisplayMinimum":"32028726950","buyAmountInEth":"9409886293333213576704","tradeAmountUSD":33570300,"tradeFeeAmountUSD":285347.55,"value":"10000000000000000000000","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":7.5},{"name":"Uniswap_V2","part":2.5},{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":85},{"name":"Curve_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.55,"available":true}},"fee":"85000000000000000000","feeInEth":"85026847677422621584","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829200,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":34409672.85589679,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000857a420cf000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f34856000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000004502a8ac000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c5180d2a8eceb0df80051427dbf06e8c6810cd27e37cf223742823e404b3bbc63057f252658ba51ef983bb68c258ae03cf7aacb5cf85ea18acad033f95ec971bb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6ff4e733b3f3437400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f9108050785673d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f9108050785673d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f34856000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000001adfe9ce6767e6699c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007522eff63a166de2138e7254","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000753632087979517952","buyAmount":"36192032791","buyAmountMinusFees":"36192032791","buyAmountDisplay":"36192032791","buyAmountDisplayMinimum":"35830112464","buyAmountInEth":"9604530963364211420160","tradeAmountUSD":35829200,"tradeFeeAmountUSD":304548.2,"value":"10000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.2,"available":true}},"fee":"85000000000000000000","feeInEth":"85006405872747825896","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json index e98edf72e8..463f875b67 100644 --- a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":50.01402091,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":46.8712261657467,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000320754159f1a610000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000673f78a50000000000000000000000000000000000000000673f784d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c9902f99a02838c58cb3771ba4630f1c8d4f5667932d249a68ce2a17282d8b3bd6f669f31db90acb8c327b9feecac1341554f3918b6665e56a51cc8cc39307ab40000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ddfd09c788cb3d932adee4c7","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"14902999999999999","buyAmount":"14081806556928609","buyAmountMinusFees":"13962111201194716","buyAmountDisplay":"13962111201194716","buyAmountDisplayMinimum":"139621112011949","buyAmountInEth":"13966521204226109","tradeAmountUSD":50.01402091,"tradeFeeAmountUSD":0.4018209000593481,"value":"0","gasPrice":"27187882932","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999775,"available":true},"totalPrice":{"value":0.4018209000593481,"available":true}},"fee":"119695355733893","feeInEth":"119733162113889","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":46.35258985850283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e5b17d2e56ff20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9c0000000000000000000000000000000000000000674f6a430000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3ee57cbaa008ac756f7e951ad3bd94b82b2506e53109c923df62d65abc3b6c3b0c490df851ab91499657bd92b1c2c32355a09e189f650c4a23292e82fbaf20170000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a787064695b43c4a91bdd798","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13048006809317362","buyAmountMinusFees":"12937098751438165","buyAmountDisplay":"12937098751438165","buyAmountDisplayMinimum":"129370987514383","buyAmountInEth":"12937098751438165","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.39737469873653253,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.39737469873653253,"available":true}},"fee":"110908057879197","feeInEth":"110908057879197","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json index bfc4ff5817..a703d3fa7b 100644 --- a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json +++ b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999993,"available":true},"totalPrice":{"value":2.0542596286822734,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804181999985,"available":true},"totalPrice":{"value":2.027754459849182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000001e9f820000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a758681125f52ade835b3008dbe7b552dca11daab464930bd7cfbe0cc74cbef13436ff000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000001eef97000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000189f400673f78780000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041a4e0ae9eb83464dfb51b3d33112b8300c63d48b356c815057e22aa7461a034d72cd5d42337e3116b4b6e5e8d944a36417abce6b9e4d8074cbd370e4447ec32d81c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"612120975063029","buyAmount":"2027186","buyAmountMinusFees":"2027186","buyAmountDisplay":"2027186","buyAmountDisplayMinimum":"2006915","buyAmountInEth":"604223059159999","tradeAmountUSD":2.0542596286822734,"tradeFeeAmountUSD":0.01746120684379682,"value":"611927694623603","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.0299999999215,"available":true},"totalPrice":{"value":0.01746120684379682,"available":true}},"fee":"5201385404300","feeInEth":"5203028288035","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2.1924879756207996,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999985,"available":true},"totalPrice":{"value":2.1627841563937467,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020ad1500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020b9a6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000c91000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000511de100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000edc62f7215c71d2120d22cca","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2163125","buyAmountMinusFees":"2163125","buyAmountDisplay":"2163125","buyAmountDisplayMinimum":"2141494","buyAmountInEth":"603637300412442","tradeAmountUSD":2.1924879756207996,"tradeFeeAmountUSD":0.018636147792774557,"value":"611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.018636147792774557,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json index b550bcbc94..ed8325c6c7 100644 --- a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json +++ b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33570296.09527872,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32712742.002519786,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001d723fe77cef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001b11c3d278b00fcf1d93c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001b08260ade8a38b30350ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000002896ab666d8c025e7b15c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000024711b7acd9dc3c61eddeee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a046a3233696cbbcfaf99bf5377ce105ecccae81b59f948aa0eb79013d3195cca6c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003db16ef08c0000000000000000000000000000000000000000000000044cc9375a825fccb60000000000000000000000000000018a3500673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041e2e1ecab5f0c9cfcc403840057c800b886db385c067fe2dd7542565b48fbba2466dfd2d0a25a91746738ed18972953ddcb012b66dd56587d6302a5dda7cd8e8b1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003c4c54ce08ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000078ef1c1c89c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004f3e8a4a409ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005e67829d854ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004b87c23d6bee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f185200000000000000000000000000000000000000000000000000000096b0ae6f40c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000009711a9c510ee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04e5effa2e3c6482ad6abe1c3b0d5064c71556cf412cf189d285813daa59078e24000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e7245d97510000000000000000000000000000000000000000000000101ff28f9368e73faa0000000000000000000000000000018a6d00673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041a091cabfcb094e0e758dee515fa3856f19c24b621f38dfb28e148e8f2494dda41afa4d87a1bf3cd1a74fa98027666f7b0b042896e9a72489e20325479cae928d1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000025b93f8f672ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000000000000000a0114a23130ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a000000000000000000000000000000000000000000000000000000096e2f1a280ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b7225bd6b302a00000000000000000000000000000000000000000000000000000075e35eb5b6dee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbe64c073db000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"10003157386770057969664","buyAmount":"32703571325915","buyAmountMinusFees":"32703571325915","buyAmountDisplay":"32703571325915","buyAmountDisplayMinimum":"32376535612656","buyAmountInEth":"9747626469402224365568","tradeAmountUSD":33570296.09527872,"tradeFeeAmountUSD":285347.5168098691,"value":"9999998836852429675000","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":69},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"MAVERICK_V2","part":2},{"name":"SUSHI","part":0.6666666667},{"name":"PMM15","part":1.666666667},{"name":"LITEPSM_USDC","part":16.66666667},{"name":"CURVE","part":5.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"UNISWAP_V2","part":3}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285347.5168098691,"available":true}},"fee":"84999990113245652237","feeInEth":"85026837787545492752","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829195.83253531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971533.796155,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4a681e68000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dcbf24b4000000000000000000000000000000000000000000000010a98bb67eb933394200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9dbf1cab81b6ec7f820d5f30ff7ddca5f77a1d442f42b77a2e2eb2d4b974b0332a01ea9742627e76b0bbe2f33336eed63dd09cd4d9e9a21dd5852eb9e82311ad00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a32593278c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f799bc2190298dd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb19adbe3edf63c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000098e2d4ffbd4401b2e3aecc0c","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"34977045129156","buyAmountMinusFees":"34977045129156","buyAmountDisplay":"34977045129156","buyAmountDisplayMinimum":"34627274677865","buyAmountInEth":"9760623680170084810752","tradeAmountUSD":35829195.83253531,"tradeFeeAmountUSD":304548.16457655013,"value":"9999998836852429675000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.16457655013,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json index 00df4cb5b4..d5b26fbf5b 100644 --- a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json +++ b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":33566969.80966618,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002804182,"available":true},"totalPrice":{"value":32709545.530886244,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e2000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001d2560651f6b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000011430000000000000000000000000000000000000011250010f70010ad00109300a0c9e75c48000000000000000504010000000000000000000000000000000000000000000010650007c00002e400a007e5c0d20000000000000000000000000000000000000000000000000002c00002ba00a0c9e75c480000000000002b03020200000000000000000000000000000000000000028c0001ff0001460000b900a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2c3d03e4f041fd4cd388c549ee2a29a9e5075882f6ae4071118002dc6c0c3d03e4f041fd4cd388c549ee2a29a9e5075882f000000000000000000000000000000000000000000001acb1ac86e02543daaf1c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000001ac196ae411c26116853ee63c1e50060594a405d53811d3bc4766596efd80fd545a270c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a478c2975ab1ea89e8196811f51a7b7ade33eb116ae4071118002dc6c0a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000282cb8b26e7271b31e6ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a000000000000000000000000000000000000000000002411fb1c1faa89ec8cd70ee63c1e500c2e9f25be6257c210d7adf0d4cd6e3e881ba25f8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a03dd5cfd100a0c9e75c48000000000019150201010000000000000000000000000000000004ae0004210003940002db00024e00a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a0412323f841d3a23da657b11e6b257349f1c10fe3f3feb08ffb475bb9aa5dfe73c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000003dafde80ed0000000000000000000000000000000000000000000000044cad4b4f57ce71300000000000000000000000000000018a4200673f787800000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004114f24d6b2cb0df40c7966a4b484b8172e3b8b024387c660002dc6e80a398edfa4207f3f6f2bea1eec93a137c75a40ba147f3522ba268790af45f7086abadce9c1c0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000003baeeba183ee63c1e500e0554a476a092703abdb3ef35c80e0d76d32939fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2b4e16d0168e52d35cacd2c6185b44281ec28c9dc6ae4071118002dc6c0b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000077b363d02ac02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000004e6fa9188a5ee63c1e5008ad599c3a0ff1de082011efddc58f1908eb6e6d8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000005d710df6e83ee63c1e50088e6a0c2ddd26feeb64f039a2c41296fcb3f5640c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000088100056900a0c9e75c480000000022080302020100000000000000000000000000053b0004ae0004210001d300014600008d00a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a00000000000000000000000000000000000000000000000000000004ac292e198ee63c1e501c7bbec68d12a0d1830360f8ec58fa599ba1b0e9bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000009500001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db00c20c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20d4a11d5eeaac28ec3f61d100daf4d40471f18526ae4071198002dc6c00d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000000000000000000000000000000000009527491351c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000000958746125fee63c1e5016ca298d2983ab03aa1da7679389d955a4efee15cc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000022a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05100111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20124cc713a04debde90f4e8bbb38e4350c469ddd295853f47d2a65f3689bcf41ca59ce915a3c000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000e71ead0c870000000000000000000000000000000000000000000000101f89da69894628770000000000000000000000000000018a2300673f7878000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d9f03c7cf3b5c9aa7897eccbb53932ac73852e91a1c282359f057776556cf59c70427e50c6313f8e1c8c140175fdea06c841434bb379e75d22d372c076fd0d2a1b0000000000000000000000000000000000000000000000000000000000000000a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000002556c4216f4ee63c1e50111b815efb8f581194ae79006d24e0d814b7697f6c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a007e5c0d200000000000000000000000000000000000000000000000000006900001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db002a0000000000000000000000000000000000000000000000000000009e6f698e3c0ee63c1e5014e68ccd3e89f51c3074ca5072bbac773960dfa36c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200a0c9e75c48000000000019100602010000000000000000000000000000000002ea00029b0001eb0000db00008c00a007e5c0d200000000000000000000000000000000000000000000000000006800001a4020b9a4406982d990648093c71eff9f1f63a040152efff6cae94800b9a4406982d990648093c71eff9f1f63a040152edac17f958d2ee523a2206206994597c13d831ec7bd6015b40000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81202a00000000000000000000000000000000000000000000000000000009559083cd1ee63c1e50004c8577958ccc170eb3d2cca76f9d51bc6e42d8fdac17f958d2ee523a2206206994597c13d831ec7490231373595f40ea48a7aab6cbcb0d377c6066e2dcadac17f958d2ee523a2206206994597c13d831ec700243eece7db0000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000005100bebc44782c7db0a1a60cb6fe97d0b483032ff1c7dac17f958d2ee523a2206206994597c13d831ec700443df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004aad2f4cd8b02a00000000000000000000000000000000000000000000000000000074af9b0f2f7ee63c1e5003416cf6c708da44db2624d63ea0aaef7113527c6dac17f958d2ee523a2206206994597c13d831ec70020d6bdbf78a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800a0f2fa6b66a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001dbda647d6eb000000000000000000000000004aca6880a06c4eca27a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"10002166232018216695808","buyAmount":"32700375750379","buyAmountMinusFees":"32700375750379","buyAmountDisplay":"32700375750379","buyAmountDisplayMinimum":"32046368235372","buyAmountInEth":"9746673996157964205056","tradeAmountUSD":33566969.80966618,"tradeFeeAmountUSD":285319.24338216253,"value":"9999007995062950057592","gasPrice":"28397551754","source":"1inch","protocols":[{"name":"LITEPSM_USDC","part":16.66666667},{"name":"UNISWAP_V2","part":3},{"name":"PANCAKESWAP_V3","part":1.333333333},{"name":"DODO_V2","part":0.3333333333},{"name":"SUSHI","part":0.6666666667},{"name":"UNISWAP_V3","part":69},{"name":"MAVERICK_V2","part":2},{"name":"CURVE","part":5.333333333},{"name":"PMM15","part":1.666666667}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3357.03,"available":true},"totalPrice":{"value":285319.24338216253,"available":true}},"fee":"84991567958035075489","feeInEth":"85018412972154841920","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825645.72567095,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968128.839163624,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c138a25e2000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9d8b57f26520bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d6c471be000000000000000000000000000000000000000000000010a91f83d3743ff69d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bed274c62e949ab639211d35206a878faccfffe4960e993a4d407ab4b2356618e2fc2f652a8950b27b6a13abc7e8e6a7ca343230bc5394f8d9d3fe9549341ffc600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b19dc6700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b62881f5cc1808f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d4ecf67a0c285a70000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9d8b57f26520bf000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26520bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f7dc4b2cf83b1a93d8961a9f","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950056960","buyAmount":"34973639635561","buyAmountMinusFees":"34973639635561","buyAmountDisplay":"34973639635561","buyAmountDisplayMinimum":"34274166842850","buyAmountInEth":"9759673349994871789568","tradeAmountUSD":35825645.72567095,"tradeFeeAmountUSD":304517.98866820306,"value":"9999007995062950057592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.98866820306,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/package.json b/package.json index d76786c030..c3fb4606b7 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "// Build and zip": "", "bundle": "yarn build && yarn zip", "// Runs tests": "", - "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21065950", + "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21324372", "anvil:optimism": "OPTIMISM_MAINNET_RPC=$(grep OPTIMISM_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $OPTIMISM_MAINNET_RPC", "anvil:kill": "lsof -i :8545|tail -n +2|awk '{print $2}'|xargs -r kill -s SIGINT", "test": "./scripts/unit-tests.sh", From 25d7ebdd62875fe91d3bbd1b5b2cc17d4fadeab7 Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:03:56 -0600 Subject: [PATCH 20/24] tweak script and get new responses + yarn install --- e2e/fetchResponses.ts | 61 +++++++++++++++---- ...ac6c7acead26c6fbd4593ac6840211a966072.json | 2 +- ...5bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 2 +- ...6066699fd1060c241779e3add6232f89e343a.json | 2 +- ...454e78e38b11035c362d16cf1f99517c17e5c.json | 2 +- ...136d7a9877e65f829336d06bb78ac9519db5c.json | 2 +- ...11edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 2 +- ...8b601093a32e4d45746cc944a560eb0b19d1c.json | 2 +- ...65df60cac4a76c55ba8396447e7bb39df9564.json | 2 +- ...82a4a05f57a74a3d9c103bc50e71ace079371.json | 2 +- ...a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 2 +- ...ff452497dae4a18eb4ff2202f85e62d381733.json | 2 +- ...0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 2 +- ...4831ae1ba465af1770ce5f8b19319c3cd0eae.json | 2 +- ...ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 2 +- ...4fb2522ae9fc86ba795f24d2ad83dfe167880.json | 2 +- ...17601fb8a2e3ac6ee669a4648b026a9c298b8.json | 2 +- ...7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 2 +- ...45da2605f262260b318098555a15ff38648d1.json | 2 +- ...ec8a11403ae9a19beb73ede4039ad3b54f900.json | 2 +- ...fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 2 +- ...6cc07c56055917e72180d8fc5edf84aa32294.json | 2 +- ...0fbff89b16ee4b2ed87e39639b8d39feab58a.json | 2 +- ...6d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 2 +- ...51b698080dedc9238880bc9079f7eacfd2e5c.json | 2 +- ...d1ab0946ee5aa2177f20baab2c5509df04be9.json | 2 +- ...fd6c870d4d65d34a79ad469fb83607f780b71.json | 2 +- ...3f12440be839615a3cebaf7f65bcc5f707d29.json | 2 +- ...ac467b41b9c8c9bd4782a58703c159c712eeb.json | 2 +- ...9d59c8b15516f425a55b7b6674bb71e2d4231.json | 2 +- ...6c7b633177f5cff199b77734c7b1785dc8c25.json | 2 +- ...851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 2 +- ...59c94a8a59532aae82764d52eabb1a0edbf42.json | 2 +- ...a5c3cff6938c2f2e087cca3cd82ed724a7066.json | 2 +- ...d46e88adbadd0975870d6413ebe1ca67a7aef.json | 2 +- ...4b499e94ae4e4b79b142da31252eb4379555a.json | 2 +- ...5b40962f6406b1e055e952997ef6c463bd35d.json | 2 +- ...a13d5854d705b7125731e11b5a35998446c17.json | 2 +- ...7374daca3ad0c13b0a66b932cc16a0febba62.json | 2 +- ...566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 2 +- ...a49d73aa7eb71d2a91d68dde4965111d909ad.json | 2 +- ...c951a8317dc2b29943b3fd6e913c722b9b178.json | 2 +- ...d60817009bcd206e13e51c24de2dac7fb0a1c.json | 2 +- ...7bc30e0ee667a698a8d5e7c523753643ea650.json | 2 +- ...80ab045a671f00b94b780c18cf473bc9a37ed.json | 2 +- ...21081f306331c381324980c6430ab7a4d1226.json | 2 +- ...b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 2 +- ...0832a595eee05335e634b8b4777d2e688fcde.json | 2 +- ...0df74fa8f78414287f43a9432f5b5030cf972.json | 2 +- ...bb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 2 +- ...e862798dea46cd676fa9874f2ebfb8080841b.json | 2 +- ...48003d87b2258ba07063b691b31b205b7656c.json | 2 +- ...3bad99e23333214c4e2737a2fa61b2f391a74.json | 2 +- ...884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 2 +- ...a5c68d9aab6a8f76d0962310e3c6638f5d707.json | 2 +- ...d524f3b2624e3b427bd49c633034df4bbacaf.json | 2 +- ...bb7b133455f21d092c97d992991cba4adff95.json | 2 +- ...a8e938b3764a43091665868f1d43a4a36c0ca.json | 2 +- ...5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 2 +- ...02386980a8460ac11d3a0b87b2679bce1909e.json | 2 +- ...ca3b6a336fc922dcd9c1dd20be6c35070425b.json | 2 +- ...0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 2 +- ...e3131b1b8338eaba32ce8eb90a6592914c24d.json | 2 +- ...063d811f17eadf2e86ab426641124c7ffd68b.json | 2 +- ...bec7cd2ec4652165f045847bd6591dfa470e7.json | 2 +- ...eb5e727d4c91a6a12cf2f6494cda55145e9df.json | 2 +- ...fa665f0db839e9a1930cac23b2083c7bd4a60.json | 2 +- ...ed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 2 +- ...b02921f8d08704f5122d11f75281fd9e5a700.json | 2 +- ...ffb96d87c47a6beda5545d0b71edbfe204782.json | 2 +- ...b84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 2 +- package.json | 2 +- yarn.lock | 9 ++- 73 files changed, 127 insertions(+), 85 deletions(-) diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts index 43f5d96bcc..6b50b0ad13 100755 --- a/e2e/fetchResponses.ts +++ b/e2e/fetchResponses.ts @@ -8,22 +8,59 @@ const { createClient, http, sha256 } = require('viem'); const { getBlockNumber } = require('viem/actions'); const urls = require('./mocks/mock_swap_quotes_urls.json'); +const FETCH_TIMEOUT = 5000; // 5 seconds + +const fetchWithTimeout = ( + url: RequestInfo | URL, + timeout: number, +): Promise => { + return new Promise((resolve, reject) => { + const timer = setTimeout(() => { + reject(new Error('Fetch timed out')); + }, timeout); + + fetch(url) + .then((response) => { + clearTimeout(timer); + if (!response.ok) { + reject(new Error(`Failed to fetch: ${response.statusText}`)); + } + return response.text(); + }) + .then(resolve) + .catch(reject); + }); +}; (async () => { const client = createClient({ transport: http(process.env.ETH_MAINNET_RPC) }); - const blockNumber = await getBlockNumber(client); + const blockNumberInitial = await getBlockNumber(client); - // check initial blockNumber - console.log('OUTSIDE FUNCTION', blockNumber.toString()); + console.log('INITIAL BLOCK NUMBER', blockNumberInitial.toString()); - await Promise.all( - urls.map(async (url: RequestInfo | URL) => { - const res = await fetch(url).then((r) => r.text()); - const hash = sha256(url); - - // check if blockNumber is the same the entire time - console.log('INSIDE FUNCTION', blockNumber.toString()); + const fetchAndWritePromises = urls.map(async (url: RequestInfo | URL) => { + const hash = sha256(url); + try { + const res = await fetchWithTimeout(url, FETCH_TIMEOUT); await writeFile(`e2e/mocks/swap_quotes/${hash}.json`, res); - }), - ); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } catch (error: any) { + console.error(`Error fetching ${url}:`, error.message); + const errorMessage = JSON.stringify({ + error: true, + message: error.message, + }); + await writeFile(`e2e/mocks/swap_quotes/${hash}.json`, errorMessage); + } + }); + + await Promise.all(fetchAndWritePromises); + + const blockNumberFinal = await getBlockNumber(client); + + console.log('FINAL BLOCK NUMBER', blockNumberFinal.toString()); + + if (blockNumberInitial === blockNumberFinal) + console.log('✅✅✅ REQUESTS SPAN SINGLE BLOCK'); + else console.log('❌❌❌ REQUESTS SPAN MULTIPLE BLOCKS'); })(); diff --git a/e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json b/e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json index a388f599b3..22a135ba1f 100644 --- a/e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json +++ b/e2e/mocks/swap_quotes/0x038dce7884e70b272cd1e2451c7ac6c7acead26c6fbd4593ac6840211a966072.json @@ -1 +1 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Bad Request"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json index f90fe200c0..ca177b6d32 100644 --- a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json +++ b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292002.19248796,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":73751688.77119744,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000011e1570d3300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000e400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000ca000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c60000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000740000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f218000000000000000000000000000000000000000000000000000000055f94a0ef000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000004dc50b4fc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000865f9115d0a42b3112a000000000000000000000000000000000000000000000000000000038c8b93f7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000432fc88ae852159889500000000000000000000000000000000000000000000000000000001add32015000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000014437572766556320000000000000000000000000000000000000000000000000000000000000003263d6682e3d8f3e430000000000000000000000000000000000000000000000000000000016c3bff3900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b90800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000001c42616e636f72563300000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000000b9111930000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eef417e1d5cc832e619ae18d2f140de2999dd4fb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42cb7b3000000000000000000000000000000000000000000000000000000004ca6419d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000006e056ce000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000012168593e400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000aef01038b44e7f2cedf16dd","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"77571895251","buyAmountMinusFees":"77571895251","buyAmountDisplay":"77571895251","buyAmountDisplayMinimum":"76796176299","buyAmountInEth":"20584241002086966155264","tradeAmountUSD":358292002.19248796,"tradeFeeAmountUSD":3045482.018636148,"value":"100000000611927694623603","gasPrice":"30015947302","source":"0x","protocols":[{"name":"SushiSwap","part":40},{"name":"Uniswap_V3","part":17.5},{"name":"Curve_V2","part":15},{"name":"Uniswap_V2","part":20},{"name":"BancorV3","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045482.018636148,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583002.20650727,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":74770622.33001183,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000121999964e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000011c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e2000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000008a00000000000000000000000000000000000000000000000000000000000000a2000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec7b6530000000000000000000000000000000000000000000000000000000057c8ae66e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec7b653000000000000000000000000000000000000000000000000000000004fc22a9cf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000865f9115d0a42b0a02a000000000000000000000000000000000000000000000000000000038e11aacb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000003ac9cf798b47d1fec1b00000000000000000000000000000000000000000000000000000001a8f010c3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000014437572766556320000000000000000000000000000000000000000000000000000000000000003263d6682e3d9060ca0000000000000000000000000000000000000000000000000000000016c53fed900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b90800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000001c42616e636f72563300000000000000000000000000000000000000000000000000000000000001931eb34171ec7b653000000000000000000000000000000000000000000000000000000000b9df1eb9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eef417e1d5cc832e619ae18d2f140de2999dd4fb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42921bb000000000000000000000000000000000000000000000000000000003b13b2e2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42921bb000000000000000000000000000000000000000000000000000000000f9973bb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000006f5f9b0000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000124f6f76d700000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000045c95d40700a6bfb1e3a2f8e","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"78525328332","buyAmountMinusFees":"78525328332","buyAmountDisplay":"78525328332","buyAmountDisplayMinimum":"77740075049","buyAmountInEth":"20736036454855560937472","tradeAmountUSD":360583002.20650727,"tradeFeeAmountUSD":3064955.518755312,"value":"100000000611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":17.5},{"name":"BancorV3","part":7.5},{"name":"SushiSwap","part":40},{"name":"Uniswap_V3","part":20},{"name":"Curve_V2","part":15}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064955.518755312,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json index 29582129bf..de0bc6aaf6 100644 --- a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json +++ b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2500.491744423076,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2469.4691531432627,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000098ce8a3ad67932f00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000099094e50b8078bd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003ac415e18e58e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009ac838f94b8da3c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007f5478f2b4db1e4ff272ac68","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"697944746046383530","buyAmount":"695142394933555086","buyAmountMinusFees":"689233684576619868","buyAmountDisplay":"689233684576619868","buyAmountDisplayMinimum":"682341347730853670","buyAmountInEth":"689285627438701197","tradeAmountUSD":2500.491744423076,"tradeFeeAmountUSD":21.17043651207033,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.17043651207033,"available":true}},"fee":"5908710356935218","feeInEth":"5909155656307574","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2502.521089463232,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2472.8712620240826,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099bc9f179cb5f00000000000000000000000000000000000000000000000000000000009536a64700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c240c5bcba3cc8460e92329b129b1ef0ba47efa0dc034d1657e8e9bae0b57c2b852fc6ca80a7d8d8e7c959e26ea2339736134c3f4bd24e3dfeb9f586c428c327f0000000000000000000000000000000000000000000000000000000095107d31869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000089f4643f8bbd8d3de7560cb8","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"694020818913601487","buyAmount":"691677329317033216","buyAmountMinusFees":"685798072017838434","buyAmountDisplay":"685798072017838434","buyAmountDisplayMinimum":"678940091297660050","buyAmountInEth":"685798072017838434","tradeAmountUSD":2502.521089463232,"tradeFeeAmountUSD":21.199602347155523,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.199602347155523,"available":true}},"fee":"5879257299194782","feeInEth":"5879257299194782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json index 2fddeeb120..7cc20a6b2b 100644 --- a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json +++ b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.11998863,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34890037.81002826,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001f6b61c07fc700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1df35a7ad8dcdb23e00000000000000000000000000000000000000000000000000000e29f818fe8d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f791a73b3dd726a0000000000000000000000000000000000000000000000000000097478bd6b96000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa611a277eaffc600000000000000000000000000000000000000000000000000000647771af087000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd5ff9000000000000000000000000000000000000000000000000000000c70440732c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd5ff9000000000000000000000000000000000000000000000000000000ca8adb2166000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c154c6f76000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc8d5895ef500000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000ec88f244f772acdbad46384","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"34895536299683","buyAmountMinusFees":"34895536299683","buyAmountDisplay":"34895536299683","buyAmountDisplayMinimum":"34546580936687","buyAmountInEth":"9737877990585405291520","tradeAmountUSD":35829194.11998863,"tradeFeeAmountUSD":304548.1500199033,"value":"9999998358877292100000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1500199033,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058294.08239051,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.77282606,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb82723dd5c000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd308d13bf531c300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a5a9f000000000000000000000000000000000000000000000036496c2f4e34e04c5000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cadc5f034f2df1799b99bff206096339354131ead089bc7b0e5c3f8c8ef9f03543d146397bc5152417c9224d8a5f208bafd1244a198c1f9c8c03343650b87158a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcc52ae00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84583f64e3cf790000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8d39d9ee44050000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd4c7100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d6986f5adf3105fc5ef84b73","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"35228071823608","buyAmountMinusFees":"35228071823608","buyAmountDisplay":"35228071823608","buyAmountDisplayMinimum":"34875791105372","buyAmountInEth":"9776142184414144393216","tradeAmountUSD":36058294.08239051,"tradeFeeAmountUSD":306495.4997003193,"value":"9999998358877292100000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4997003193,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982856","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json index f428af9903..e4bfee0a1d 100644 --- a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json +++ b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3555.740919606365,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d42f1db40000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b923affa02c2e5734d5a363f0d7d16554dfcdf00646523bd647233c4c27b7ae1b7ee09a36c32ad16aa15afdceec3b909036e83efc6eb1acb4e49b16a84deaa626869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f4d54a4f4e25abbadab642b2","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3556301286","buyAmountMinusFees":"3556301286","buyAmountDisplay":"3556301286","buyAmountDisplayMinimum":"3485175261","buyAmountInEth":"992489056873086989","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.454819999999998,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.8162893075805,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d507b5070000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3e75506f5a863247be4498775940000f75c169a60b7b989cdd93ed492b26b38168ca7200c71f6b7dc471bb650bf4cae2a6e9521f6d845ff09dc17c3beeb28748869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000d8e89bda61b2559d084a80e","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570481621","buyAmountMinusFees":"3570481621","buyAmountDisplay":"3570481621","buyAmountDisplayMinimum":"3499071989","buyAmountInEth":"990844351871158663","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json index 840e0760f4..f33db41666 100644 --- a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json +++ b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818394.4067768,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961151.03806602,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be5a35e5a000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb514d3eaf92e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c8dc2a15000000000000000000000000000000000000000000000010a8428388be5e67dc00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b44c918c594784bea08937abf742e70d6186970f20a07c7d0ed576e4cd895592f48b995bf6e66289d8618bef45501dff34ad16ccaa93ecfa1f4255f6039b0250a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb76e685853bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13307cf9ef031bac00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086f391cb6c870400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb514d3eaf92e0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb514d3eaf92e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000718e10ff3b0ab287a665b7dd","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925407744","buyAmount":"34966660734798","buyAmountMinusFees":"34966660734798","buyAmountDisplay":"34966660734798","buyAmountDisplayMinimum":"34616994127451","buyAmountInEth":"9757725832021373421568","tradeAmountUSD":35818394.4067768,"tradeFeeAmountUSD":304456.3524576028,"value":"9996984137735925408690","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.3524576028,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365976","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36038328.057807,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240606.36140941,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb5bbee3066000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbad4534fabd036000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da73edfb000000000000000000000000000000000000000000000036453bcd943aaf736a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bcd5ae4b84d2caaedb2b95684fe9648007c234101ed5d7ff84cbccb3fdee7c6a9395dd8bdd7e61a3b748b423eb8818cd854e452b6f8274374756ce7ed092b11a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb76e6851088f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41c7e51b18b99d80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509983e7cf781877d00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb514d3eaf19c800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009a361ff113babc59f547883d","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925408768","buyAmount":"35217578273719","buyAmountMinusFees":"35217578273719","buyAmountDisplay":"35217578273719","buyAmountDisplayMinimum":"34865402490982","buyAmountInEth":"9775697203102816334848","tradeAmountUSD":36038328.057807,"tradeFeeAmountUSD":306325.7884913595,"value":"9996984137735925408690","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306325.7884913595,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365976","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json index 1f2c061320..841625a58d 100644 --- a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json +++ b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2.1924879756207996,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":2.16011013197464,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008c900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008cc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015d000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a1d8118923bf726f96e254f2","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2272","buyAmountMinusFees":"2272","buyAmountDisplay":"2272","buyAmountDisplayMinimum":"2250","buyAmountInEth":"602890974951894","tradeAmountUSD":2.1924879756207996,"tradeFeeAmountUSD":0.018636147792774557,"value":"611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.018636147792774557,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2.2065072391046265,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780614994,"available":true},"totalPrice":{"value":2.1719334787582802,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000001a4700000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bbcb2da2238027fb411be820","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2281","buyAmountMinusFees":"2281","buyAmountDisplay":"2281","buyAmountDisplayMinimum":"2259","buyAmountInEth":"602339400015608","tradeAmountUSD":2.2065072391046265,"tradeFeeAmountUSD":0.018755311532387072,"value":"611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.018755311532387072,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json index 3059826c59..07450794d3 100644 --- a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json +++ b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":54.726794255142835,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000034c0c39108fa2c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c912c4426d9b0d24f79faa5fc93e85ac5ce9b27a54184c476923c9f672541be6c3e7af1d198ad4158d8f464e2d4fd83fee2779dab74e96d453b634f84bf191531869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009d848b3e48101fd366becba6","sellAmount":"15274355624781696","sellAmountMinusFees":"15016880120943036","sellAmountDisplay":"15274355624781696","sellAmountInEth":"15275506749233900","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13953950706878986","tradeAmountUSD":54.726794255142835,"tradeFeeAmountUSD":0.46125706610680556,"value":"15274355624781696","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.919999999998,"available":true},"totalPrice":{"value":0.46125706610680556,"available":true}},"fee":"128737751919330","feeInEth":"128747454009408","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":55.837241997143266,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000357b3da7eaba47000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c8e236df19a1f6a80a74cdd512e460a927e8357fae33de9de94a764bebe4c74b049a132d77ba3eb453a138eb907792b16c85eecbc083039dcf2afccb455ab913e869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c7124317c6e5a0a500ed26c7","sellAmount":"15485267468833323","sellAmountMinusFees":"15224236683538167","sellAmountDisplay":"15485267468833323","sellAmountInEth":"15485267468833323","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13875499961173986","tradeAmountUSD":55.837241997143266,"tradeFeeAmountUSD":0.4706163182704126,"value":"15485267468833323","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8299999999726,"available":true},"totalPrice":{"value":0.4706163182704126,"available":true}},"fee":"130515392647578","feeInEth":"130515392647577","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json index e578b09cf3..58d2ff0f19 100644 --- a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json +++ b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":54.18461680885465,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000034bf5bbb29e38800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c4ca3a2e92f55cab7eb68241396da7cdc5d6967d9c8442e437ff8dc54ebd7753a7a209dcd978ad6f820c5a2f75169aa9fbe71b9c49f102ba05b6b2b628de275bd869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d0066192499207d33eac8f69","sellAmount":"15123032836026103","sellAmountMinusFees":"14868108137749015","sellAmountDisplay":"15123032836026103","sellAmountInEth":"15123032836026103","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13952899171625378","tradeAmountUSD":54.18461680885465,"tradeFeeAmountUSD":0.4566873999754721,"value":"15123032836026103","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.4566873999754721,"available":true}},"fee":"127462349138544","feeInEth":"127462349138544","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":55.26042192261606,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000000000000000000000000003573f629a518ae00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c40863057954a25030f674691fe91255c7752750a83bad737ba209b8ed10cd54d7923b6ec50a986e5dc47b60ed9eed888fad2702459e173ef601ee1e2e77d6934869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001ab67489163ae006d6aa66a1","sellAmount":"15325298730837575","sellAmountMinusFees":"15066964493431291","sellAmountDisplay":"15325298730837575","sellAmountInEth":"15325298730837575","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13875499961173986","tradeAmountUSD":55.26042192261606,"tradeFeeAmountUSD":0.46575467163335055,"value":"15325298730837575","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.46575467163335055,"available":true}},"fee":"129167118703142","feeInEth":"129167118703142","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json index 7ff0789eaf..ad3639bcd7 100644 --- a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json +++ b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2490.5919025869894,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2459.729772624214,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000096aa1a1688528c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000096e40b41c4649e2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000039f12b3c12122000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009a2b8ec39b8108400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000083e795e9c86e08ceed4f2653","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"695181472537643670","buyAmount":"692400811265436226","buyAmountMinusFees":"686515404369680019","buyAmountDisplay":"686515404369680019","buyAmountDisplayMinimum":"672785096282286419","buyAmountInEth":"686567142373442541","tradeAmountUSD":2490.5919025869894,"tradeFeeAmountUSD":21.086942074942826,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":21.086942074942826,"available":true}},"fee":"5885406895756207","feeInEth":"5885850438904952","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2492.6132131295412,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2462.465802167624,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009920e870637e20000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cacec9a245fa609d1b4e65e9a28b5afff768c2ed44a4110c570dfee0fff59bed36c56fd3fdaa8160f44e33f83226b697f1e3b9d6fa9667c77c7706f70658c98ae00000000000000000000000000000000000000000000000000000000947967d7869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000036f5a146ae9c51f67d5e9dbb","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"691447580842166009","buyAmount":"688940725415956187","buyAmountMinusFees":"683084729249920560","buyAmountDisplay":"683084729249920560","buyAmountDisplayMinimum":"669423034664922149","buyAmountInEth":"683084729249920560","tradeAmountUSD":2492.6132131295412,"tradeFeeAmountUSD":21.110397698865157,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.110397698865157,"available":true}},"fee":"5855996166035627","feeInEth":"5855996166035627","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json index 868f222136..621189cbdf 100644 --- a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json +++ b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":46.35258985850283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e5b17d2e56ff20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9b0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf0e207e0d049129c3142135421a7926ef8abf5add740058bb792929f8e1009121c5baab7b6d0e147c49dbed97c5c838f16283d1be95a2a6cfaa579542d18c8dc0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000103d40db4692b40217694379","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13048006809317362","buyAmountMinusFees":"12937098751438165","buyAmountDisplay":"12937098751438165","buyAmountDisplayMinimum":"12678356776409402","buyAmountInEth":"12937098751438165","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.39737469873653253,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.39737469873653253,"available":true}},"fee":"110908057879197","feeInEth":"110908057879197","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":45.48374675655282,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32ab0f4b98fe0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3aebec49b395140dfd3906374b665d8049ff9f54f43d7725410bf5fb8501ac7a70a2dbdd333dda230be7225a6e8d01c5434b3a5328fc96dc2b44fe8589f77f120000000000000000000000000000000000000000000000000000000002faf080869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009135417557d7adb9ba3cab90","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13875499961173986","buyAmount":"12722084229388542","buyAmountMinusFees":"12613946513438740","buyAmountDisplay":"12613946513438740","buyAmountDisplayMinimum":"12361667583169966","buyAmountInEth":"12613946513438740","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.38992622030327456,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.38992622030327456,"available":true}},"fee":"108137715949802","feeInEth":"108137715949802","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json index cf10deb168..0d7ae61a4f 100644 --- a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json +++ b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818389.69672434,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961088.484026216,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be1f24407000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c48fdb81000000000000000000000000000000000000000000000010a8425ec90cb1ff8d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b43ad851a93342f186a7f050291448b5c39a57f78ba3e03415e5840150a3027d0085d70ace0ca5d4243e483435c1ee777f64d47349f45be71ad3d7d2cbff9f6c800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5e3d2900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a133066bfcbcef16660000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086e69a8c38b16140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb33aa65138ae1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000019eac9b8ca937d567d0c3f58","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"34966598170900","buyAmountMinusFees":"34966598170900","buyAmountDisplay":"34966598170900","buyAmountDisplayMinimum":"34616932189191","buyAmountInEth":"9757708373066161864704","tradeAmountUSD":35818389.69672434,"tradeFeeAmountUSD":304456.31242215686,"value":"9996982823151043603690","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.31242215686,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36047420.57320273,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240601.78186689,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb5bba90e05000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbaccea9944df0ea00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da6cb629000000000000000000000000000000000000000000000036453b55d95ae9174f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c0f483056f09b63b5d118ea393cdc5f047e14c6ce7de471ea678edfe27c4ffc122e682654579c8dcb9b5a265616cd7c8989fccefffda4ad1aaa5cf16f816ac56000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5ebc1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41b385257ddf7a40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000050998335fe5e74e95f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65137c3b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a9125d6b042cc8fa9906e16a","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35217573697169","buyAmountMinusFees":"35217573697169","buyAmountDisplay":"35217573697169","buyAmountDisplayMinimum":"34865397960198","buyAmountInEth":"9773228849354209511424","tradeAmountUSD":36047420.57320273,"tradeFeeAmountUSD":306403.0748722232,"value":"9996982823151043603690","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306403.0748722232,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json index f94924b9d4..4f77ab74b2 100644 --- a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json +++ b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":49.40412367019894,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000003168572204e5f00000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9c0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c2f7d3d25a83793607d239531757751c4f923cf46cd6a85c491469b06b7458437311496dc20a7e68a2efb3dc04384b70cb461fc191de2663378b49201fef2da520000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ea5a382300b39c7334b672df","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13906997301011952","buyAmountMinusFees":"13788787823953351","buyAmountDisplay":"13788787823953351","buyAmountDisplayMinimum":"13650899945713818","buyAmountInEth":"13788787823953351","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.4235350995428027,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.4235350995428027,"available":true}},"fee":"118209477058601","feeInEth":"118209477058601","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":45.4722383847427,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32a92057fe200000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c0230e924fc20cbac6543ae935fd925e775a803b7ef295dc329cb6b141118a6f43dc6872dedb15ccbd4ed17c0ee321ad84ed7019e8ac3d214217871257d5f6eee0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a00551315099dbeb40335e8c","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13879002592290534","buyAmount":"12722075925478944","buyAmountMinusFees":"12613938280112373","buyAmountDisplay":"12613938280112373","buyAmountDisplayMinimum":"12487798897311250","buyAmountInEth":"12613938280112373","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.3898275605348592,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":0.3898275605348592,"available":true}},"fee":"108137645366571","feeInEth":"108137645366571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json index c29a6199c9..2e7287d223 100644 --- a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json +++ b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818389.69672434,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961157.76752749,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2a7c4702ae000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c9aef85a000000000000000000000000000000000000000000000010a8425ec90cb1ff8d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd459f751f0458b3920f4b4844871ca4bb93123a111df1858042453f70c332c573f631c85924e34c93d795544f528b44bd1175c82cc7004c8d6436e5fc938364300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5e3d2900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a133066bfcbcef16660000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086e69a8c38b16140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb33aa65138ae1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65138ae100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bf42a5ab94a418678eeae380","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"34966667465320","buyAmountMinusFees":"34966667465320","buyAmountDisplay":"34966667465320","buyAmountDisplayMinimum":"34267334116014","buyAmountInEth":"9757727710227270188032","tradeAmountUSD":35818389.69672434,"tradeFeeAmountUSD":304456.31242215686,"value":"9996982823151043603690","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.31242215686,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36047420.57320273,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240612.83403997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f63bcfeeeee000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbaccea9944df0ea00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346db16edf2000000000000000000000000000000000000000000000036453b55d95ae9174f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b8e1c3daee4ec583b12363392027f132a867582091cefdb49c06e2d43eefc6cf173b7bf855b4376aba9f753b22c9143f1d212f26d46fc33189cf4033d65126c9e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5ebc1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41b385257ddf7a40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000050998335fe5e74e95f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65137c3b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003fc096bb84e282445fbd03d1","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35217584742120","buyAmountMinusFees":"35217584742120","buyAmountDisplay":"35217584742120","buyAmountDisplayMinimum":"34513233047278","buyAmountInEth":"9773231914438552944640","tradeAmountUSD":36047420.57320273,"tradeFeeAmountUSD":306403.0748722232,"value":"9996982823151043603690","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306403.0748722232,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json index f61bdea7c5..cf8387d982 100644 --- a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json +++ b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2508.2065646072833,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.3923604589622,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009af90d80c996f8000000000000000000000000000000000000000000000000000000000958639f500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf7c9b627459a4389896257448c7988bf964d31c02323daa998b29c33b463ae056141f3ed2e38e1e9c9d83cbcf10c9f7d994baf6fa3db23d4e77920f01e6d30ea00000000000000000000000000000000000000000000000000000000958639f5869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000056a1808db31e8f73d963d0da","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"700098129766313604","buyAmount":"697935724864434048","buyAmountMinusFees":"692003271203086359","buyAmountDisplay":"692003271203086359","buyAmountDisplayMinimum":"685083238491055496","buyAmountInEth":"692055422790102902","tradeAmountUSD":2508.2065646072833,"tradeFeeAmountUSD":21.255506872315863,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.255506872315863,"available":true}},"fee":"5932453661347689","feeInEth":"5932900750091653","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2510.2421708287097,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2479.8842210670855,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a3632c0e0b71000000000000000000000000000000000000000000000000000000000095ac812f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf0203a186f0bffad74dd6ebcd9d95177a7f411c8530ff711eda0e5ddba7410600e58a290dfb0485acc4ab6e8c33fefa1b25fcbd22635f3eb3fb6f7b16908d05400000000000000000000000000000000000000000000000000000000958639f5869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000660717f48cc7744462d5578f","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"696337830195596364","buyAmount":"693813994373287793","buyAmountMinusFees":"687916575421114847","buyAmountDisplay":"687916575421114847","buyAmountDisplayMinimum":"681037409666903700","buyAmountInEth":"687916575421114847","tradeAmountUSD":2510.2421708287097,"tradeFeeAmountUSD":21.2597235290673,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.2597235290673,"available":true}},"fee":"5897418952172946","feeInEth":"5897418952172946","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json index 593f8933b7..6c7821c445 100644 --- a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json +++ b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825598.83762477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968017.556011274,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7ae2b783000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1c95880000000000000000000000000000000000000000000000010a91e15fee92ab42400000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3ca3853a9b522cb6d559944b6d178ceb4ada16ec9fb7d1ae7d4907d6dce2b5c563bf77f9a1706e00ae42b78adce8b227595602962cac8c44e5bef0f072cf358100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40eab7800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b54b3d46d54f0d10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d46be3bea7417850000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c6451b3c8187c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000056a0aeb9b00b83769a3e93da","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"34973528334871","buyAmountMinusFees":"34973528334871","buyAmountDisplay":"34973528334871","buyAmountDisplayMinimum":"34623793051523","buyAmountInEth":"9759642290648765742080","tradeAmountUSD":35825598.83762477,"tradeFeeAmountUSD":304517.5901198106,"value":"9998994908517291596490","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.5901198106,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36045576.72561216,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35095204.00859081,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001f941e75574300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489b721057d41e3900000000000000000000000000000000000000000000000000000f04a6c0abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b54b3d46d585400000000000000000000000000000000000000000000000000000009801498a452000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d46be3bea74291800000000000000000000000000000000000000000000000000000587f17f602f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000c7ff90a3bf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000cb9703166a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c24f7131a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001ff20b77e2c500000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a42e9fc86168a0f4e3fdbad2","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"35072270934536","buyAmountMinusFees":"35072270934536","buyAmountDisplay":"35072270934536","buyAmountDisplayMinimum":"34721548225191","buyAmountInEth":"9735362784358822394880","tradeAmountUSD":36045576.72561216,"tradeFeeAmountUSD":306387.4021677034,"value":"9998994908517291596490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306387.4021677034,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json index 6ce7039e6a..ae82efa806 100644 --- a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json +++ b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -1 +1 @@ -{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3654.611609964422,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xd9627aa4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000003aa74a0000000000000000000000000000000000000000000000000dfee9681ffb4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006cd78c29d994ceb33ad69f30","sellAmount":"3843914","sellAmountMinusFees":"3843914","sellAmountDisplay":"3843914","sellAmountInEth":"1020086140137725412","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000075363208797951","tradeAmountUSD":3654.611609964422,"tradeFeeAmountUSD":30.454819999999998,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3666.535076566405,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000e027ea1d43cc80000000000000000000000000000000000000000000000000000000000003a3b9500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ce5dc6cb2e7c453c8792b8ad29036495776c5a0ca73e16a88d4d26b1acebf216b075eeee5a969560b97e1985564c1035a8ac9307a8c29ee7f8c2a498d1ab3e23500000000000000000000000000000000000000000000000000000000003ac19e869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000029c9fa7aea2f7b5a9725e25d","sellAmount":"3850655","sellAmountMinusFees":"3850655","sellAmountDisplay":"3850655","sellAmountInEth":"1016835257504209781","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3666.535076566405,"tradeFeeAmountUSD":30.649555000000003,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json index 301116954d..f6026b5017 100644 --- a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json +++ b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2510.26225964037,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.117765433943,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000996761e33fe361c00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000099a260c0b8ff69b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003afedd791c07f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b62d73be282d6a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b42851a0b59d266a60d238c5","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"700619120616806855","buyAmount":"697858427829528523","buyAmountMinusFees":"691926631192977531","buyAmountDisplay":"691926631192977531","buyAmountDisplayMinimum":"685007364881047756","buyAmountInEth":"691926631192977531","tradeAmountUSD":2510.26225964037,"tradeFeeAmountUSD":21.25315280503128,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.25315280503128,"available":true}},"fee":"5931796636550992","feeInEth":"5931796636550992","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2512.2995342194413,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2481.8995997660445,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a56482531fb4000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bfee2545c9001e3f099baa77f5a11b4a8e11e03c7d63143d6968a3b1bc219ba586e9d4855f9aa1177ad737d38f97f03e67d15a755fc1bf17dbf9e5e7fbea240460000000000000000000000000000000000000000000000000000000095a59948869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000047427a4ef81eaef2878f0611","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"696908540056212336","buyAmount":"694377850513594971","buyAmountMinusFees":"688475638784229414","buyAmountDisplay":"688475638784229414","buyAmountDisplayMinimum":"681590882396387121","buyAmountInEth":"688475638784229414","tradeAmountUSD":2512.2995342194413,"tradeFeeAmountUSD":21.277001107424486,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.277001107424486,"available":true}},"fee":"5902211729365557","feeInEth":"5902211729365557","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json index c4cf3c8d83..ffbb20f247 100644 --- a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json +++ b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":354676.5744251368,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000160341a100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000160bb8d1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000087730000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000001644c79c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a7c3d1f0acc536d0f3eff456","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"373048191","buyAmountMinusFees":"373048191","buyAmountDisplay":"373048191","buyAmountDisplayMinimum":"369317710","buyAmountInEth":"98990927630295058720","tradeAmountUSD":358292,"tradeFeeAmountUSD":3045.482,"value":"100000000000000000000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045.482,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583.00000000006,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":356050.42930373247,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000001610939900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000007c00000000000000000000000000000000000000000000000000000000000000880000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004800000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000004b3fc1db87efba00000000000000000000000000000000000000000000000000000000000135602f6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000abff71f5c8ff60000000000000000000000000000000000000000000000000000000000002c30cf1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000087c4f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000165245a000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007c133c782deeb8e9742355da","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"373929974","buyAmountMinusFees":"373929974","buyAmountDisplay":"373929974","buyAmountDisplayMinimum":"370190675","buyAmountInEth":"98742988245073232640","tradeAmountUSD":360583.00000000006,"tradeFeeAmountUSD":3064.9555000000005,"value":"100000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064.9555000000005,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json index b85a8b7815..89c81a518a 100644 --- a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json +++ b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.9113095525,"available":true},"totalPrice":{"value":39.9113095525,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.99984243,"available":true},"totalPrice":{"value":40.38753413333457,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000002498b3c08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"11140164278536837","buyAmount":"40393899","buyAmountMinusFees":"40393899","buyAmountDisplay":"40393899","buyAmountDisplayMinimum":"38374205","buyAmountInEth":"11273089510092967","tradeAmountUSD":39.9113095525,"tradeFeeAmountUSD":0.3392461311962496,"value":"0","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.91130955249995,"available":true},"totalPrice":{"value":0.3392461311962496,"available":true}},"fee":"8500000000000000","feeInEth":"94691396367563","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893846,"available":true},"totalPrice":{"value":39.985893846,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":40.42031178287507,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000002498b3c08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"11089234336061322","buyAmount":"40393899","buyAmountMinusFees":"40393899","buyAmountDisplay":"40393899","buyAmountDisplayMinimum":"38374205","buyAmountInEth":"11209710880123318","tradeAmountUSD":39.985893846,"tradeFeeAmountUSD":0.33988009769099914,"value":"0","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893845999904,"available":true},"totalPrice":{"value":0.33988009769099914,"available":true}},"fee":"8500000000000000","feeInEth":"94258491856521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json index 6da8346c7d..762b6e3326 100644 --- a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json +++ b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582920,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3544343.178836853,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000dbfaeb3a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003600000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000101ff2af0ad7f09e58000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000430102a40000000000000000000000000000000000000000000000102db5330a06bdc00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b689fa1dd30839886f3502b6a8d623b78b2ec3307edd2226a32e488b8b95fb9e1530b4403be70722131d5d72bea818ce52859c6839e1106659c5b0b9d1d85783400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000182fec069043ea127d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000080ff957856bf862b400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd763c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd763c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009e03afff7e4bd2a5c87c1dc5","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3727933860","buyAmountMinusFees":"3727933860","buyAmountDisplay":"3727933860","buyAmountDisplayMinimum":"3690654522","buyAmountInEth":"989233133543828151616","tradeAmountUSD":3582920,"tradeFeeAmountUSD":30454.82,"value":"1000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":70},{"name":"0x","part":30}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30454.82,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":3604920.0000000005,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3561830.442673861,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000dcbba737000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000002f07d92934f5d44000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000df287dbc000000000000000000000000000000000000000000000035cd9620cdfe9ac00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cbc5eca3f7ca68c2c6e7acb307e8feb39d22cfdeb27ea059270e878248c5f4c195b2b7370d7a63e454bd7c38425965c31917375b730b59bffbb6887c387ea098e0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000006b7fa7399d9f9c0000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c216b8dc9b7689af9edecce7","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3740692484","buyAmountMinusFees":"3740692484","buyAmountDisplay":"3740692484","buyAmountDisplayMinimum":"3703285560","buyAmountInEth":"988047014267684299904","tradeAmountUSD":3604920.0000000005,"tradeFeeAmountUSD":30641.820000000003,"value":"1000000000000000000000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":87.5},{"name":"Uniswap_V3","part":12.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":30641.820000000003,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json b/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json index a388f599b3..22a135ba1f 100644 --- a/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json +++ b/e2e/mocks/swap_quotes/0x3f173d97d43fd32fbc6d26dcf4d0fbff89b16ee4b2ed87e39639b8d39feab58a.json @@ -1 +1 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Bad Request"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json index c7875b8bef..a7db166022 100644 --- a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json +++ b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821991.17884922,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964608.089844525,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2b45d9ed5b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cf755505000000000000000000000000000000000000000000000010a8b0224b779aa12600000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001be27607e201867c8f9c0adfde5d7bb714556360cd3d74fd71042e8afa258ffcb73b1c76f00423aba0e33911eea405fdae1bd199233414849998030e349071d37d00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c2fa15f175011300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372ca6b94bab79630000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0ada0bec16cdad0f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43b88f70f83e7e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008d9da2758f099268cd000007","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"34970118331390","buyAmountMinusFees":"34970118331390","buyAmountDisplay":"34970118331390","buyAmountDisplayMinimum":"34270715964763","buyAmountInEth":"9758690701953860050944","tradeAmountUSD":35821991.17884922,"tradeFeeAmountUSD":304486.92502021836,"value":"9997988003876508667090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.92502021836,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051045.08401804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35268806.9098796,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6a2acebe01000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0ee23dc3e23a4600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f21b278e00000000000000000000000000000000000000000000003646a0f3dd1a52a1ad00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b76452749884b85d912212ad033175586396347266cb16eb33279bcd75e54f382490b6eac3adf7ce0fb7512360435178e7f507fa869de2a63a69b79b807d72905000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f87b0a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000101bbf4d898000000000000000000000000000000000000000000000010a8b0224b779aa126000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001cbcccf1b633936781800dd85b62c26cd95cd2df819e57a5e5ccfe20337d85d0bb79b00b80bb0188921ae76a7886ea26fc6499a3c5966e8a4e52a3b607c8bbc7b300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000e4637f41868081160200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7e8ee29daab74a90000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b96535ca5d727fa0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f87b0a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000091ffc6a30b0321004d54bf2b","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"35245760394450","buyAmountMinusFees":"35245760394450","buyAmountDisplay":"35245760394450","buyAmountDisplayMinimum":"34540845186561","buyAmountInEth":"9781050939694772279296","tradeAmountUSD":36051045.08401804,"tradeFeeAmountUSD":306433.8832141533,"value":"9997988003876508667090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":12.5},{"name":"Uniswap_V3","part":87.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.8832141533,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json index 21844c8bfc..2ed25fd664 100644 --- a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json +++ b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825598.83762477,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968018.49937761,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c0d17e8d2000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1db32a6000000000000000000000000000000000000000000000010a91e15fee92ab42400000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b42768dd24b795019ee80943ba03f6bbe5502cddabae03f16c5a33739286272406d457aa4d9bf2275d28e45bce10c76799870e1fb727e5149aa0f5e170aa3f65c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40eab7800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b54b3d46d54f0d10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d46be3bea7417850000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c6451b3c8187c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c8187c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000adb71a8beff85f3eb741ef4","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"34973529278386","buyAmountMinusFees":"34973529278386","buyAmountDisplay":"34973529278386","buyAmountDisplayMinimum":"34274058692819","buyAmountInEth":"9759642553944158981120","tradeAmountUSD":35825598.83762477,"tradeFeeAmountUSD":304517.5901198106,"value":"9998994908517291596490","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.5901198106,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054675.81097891,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247611.13875372,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6555847de6000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be719146cf1dbe2800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003470594a10900000000000000000000000000000000000000000000003648072ee3ad59953a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf0e48d959fd0007531750c295846efe7f6d684a46fa1360a97aefa30ce0fbf14553459ca1e8fd1c1c6f6b30d6eabb63266d56c1252cf944aafdf79677896613b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40821a400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb84f82b99847170000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509daa59ea36aa534c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c7831200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001daefcb13f040e34ac635cc8","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291597824","buyAmount":"35224578473769","buyAmountMinusFees":"35224578473769","buyAmountDisplay":"35224578473769","buyAmountDisplayMinimum":"34520086904294","buyAmountInEth":"9775172744903036160000","tradeAmountUSD":36054675.81097891,"tradeFeeAmountUSD":306464.74439332075,"value":"9998994908517291596490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":90},{"name":"0x","part":10}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.74439332075,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json index e7b8cf0725..319538ae0c 100644 --- a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json +++ b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.9113095525,"available":true},"totalPrice":{"value":3547.4129986194303,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000493d108afad739ccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a758683ab4783d07d3c2f236fac38c43884f0c3c5d82c45c67cf93a8a73888995584c1000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000004d18ac7c00f7c05900000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000024faf00674f6a6e0000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041ea211d38aa5cb33f99b18d29d2a87d56dd7c0bdc09a4d0f9d52882d24d55b16e7c1887c08179cc48cae0a8715b56d5ab7464b12d076676719bfc100d708aafbf1b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"88882400462282604544","buyAmountMinusFees":"88882400462282604544","buyAmountDisplay":"88882400462282604544","buyAmountDisplayMinimum":"84438280439168474317","buyAmountInEth":"990089926266684745","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893846,"available":true},"totalPrice":{"value":3552.3540547163284,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000493428a668814b13d20800000000000000000000092560c178ce069cc014138ed3c2f5221ba71f58ad6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"88840181199843022212","buyAmountMinusFees":"88840181199843022212","buyAmountDisplay":"88840181199843022212","buyAmountDisplayMinimum":"84398172139850871102","buyAmountInEth":"985169587783208835","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json index e8d2f6354b..301698f7c9 100644 --- a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json +++ b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3582.65,"available":true},"totalPrice":{"value":358.265,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358.29200000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100007536320879795","tradeAmountUSD":358.265,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":360.4920000000001,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360.583,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100025243278630312","tradeAmountUSD":360.4920000000001,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json index d199f3d537..8406d83781 100644 --- a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json +++ b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.88651322,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971525.91314033,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e49f10482000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dc4c729a000000000000000000000000000000000000000000000010a98ba74fce9685b000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c97d9694a4cb54d68ecaa7f93296904a202e55632c3d08d729360cbf2212bffa23b5f8fc6c514b74ef03e87c7f76c142697a14540a6e3f5e96583929c03dfa9e000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a7ba08700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7908d2c6f7ff9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb145259ebc9a9f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c0bc3b3fb073000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000040aadb2c734f8ffbb55c102e","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"34977037244899","buyAmountMinusFees":"34977037244899","buyAmountDisplay":"34977037244899","buyAmountDisplayMinimum":"34627266872451","buyAmountInEth":"9760621480005225526272","tradeAmountUSD":35829193.88651322,"tradeFeeAmountUSD":304548.14803536236,"value":"9999998293713846870000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14803536236,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.847422205,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.545814715,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb82720700a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd302f0ecfeb9f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b19ff03000000000000000000000000000000000000000000000036496c295edae2272c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b44a18b437061645b0ea20a05e3a44b4916d0e87fd58c08f76bb929b5e08a8be5716e43ab7344762425ee5ae4bb62b9b03b2e8ad2bc2b894f6101fd7c88f88cba00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a78be3f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf8448168bbd42bc0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8469637b09b50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3f876f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007d2dc9c626c731aa5b4c5964","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35228071596745","buyAmountMinusFees":"35228071596745","buyAmountDisplay":"35228071596745","buyAmountDisplayMinimum":"34875790880778","buyAmountInEth":"9776142121457393438720","tradeAmountUSD":36058293.847422205,"tradeFeeAmountUSD":306495.49770308874,"value":"9999998293713846870000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.49770308874,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json index 058842a662..bd5f1377b6 100644 --- a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json +++ b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.002021946,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34890037.69699007,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001f6b61beca9300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1df359a513a15e59700000000000000000000000000000000000000000000000000000e29f8183934000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f79118b7c13af250000000000000000000000000000000000000000000000000000097478bce85b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7fa60bb252b53f0e00000000000000000000000000000000000000000000000000000647771a9914000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c1764a569e1e000000000000000000000000000000000000000000000000000000c704406872000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c1764a569e1e000000000000000000000000000000000000000000000000000000ca8adb164a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c154c6ece000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc8d587a4ad00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000046e8111768055164cf172b9d","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"10000751957914377476096","buyAmount":"34895536186627","buyAmountMinusFees":"34895536186627","buyAmountDisplay":"34895536186627","buyAmountDisplayMinimum":"34546580824761","buyAmountInEth":"9738611836766101735424","tradeAmountUSD":35829194.002021946,"tradeFeeAmountUSD":304548.14901718654,"value":"9999998325952559545000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14901718654,"available":true}},"fee":"84999985770596756132","feeInEth":"85006391642272208536","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.96519291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251117.71362836,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb827c907d9000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd305d9295a41c700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc4713e000000000000000000000000000000000000000000000036496c2c4e887cfe8c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b89d591e1c92068c4983391439f4879c411fcb3aa2b3c17d3b223c8035e523eed4281950b75a443afb29b3a2b553a22c1b40c6ecc004633855c64eaea660e3ffb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a17ae9f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84501531ba7ed30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc88c5be08e94b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56b78200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000868c5e88654236ce98fec799","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35228082757261","buyAmountMinusFees":"35228082757261","buyAmountDisplay":"35228082757261","buyAmountDisplayMinimum":"34875801929689","buyAmountInEth":"9778613038189018160128","tradeAmountUSD":36049193.96519291,"tradeFeeAmountUSD":306418.1487041397,"value":"9999998325952559545000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1487041397,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json index fc8698a8ae..9d31fd3b84 100644 --- a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json +++ b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.88651322,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.54276447,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbf7a5d3000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8d9c4000000000000000000000000000000000000000000000010a98ba74fce9685b000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bab9b346bd50a30417059a0a1d605f96fc11dc4f1ba3726b11692a872112ef71420c8241ac9eb96d33ef37eb3ed347c5a7dfbce8f98adf8202309b04ea1079f0d00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a7ba08700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7908d2c6f7ff9a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb145259ebc9a9f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c0bc3b3fb073000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3fb07300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fee0a5dd141a91fd1b93d760","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"34977070879823","buyAmountMinusFees":"34977070879823","buyAmountDisplay":"34977070879823","buyAmountDisplayMinimum":"34277529462227","buyAmountInEth":"9760630866099289872384","tradeAmountUSD":35829193.88651322,"tradeFeeAmountUSD":304548.14803536236,"value":"9999998293713846870000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14803536236,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.847422205,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251079.117342494,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f661ff56a48000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd302f0ecfeb9f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034719738fd4000000000000000000000000000000000000000000000036496c295edae2272c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b95c4db5c3efa93d3f0a02225ce8018919c80e72f7c0a840e3bea3532b23f8a35368ac49e2dc6076dffad4ef55eab01c3a114a028d4df32e0be33fa157eb528da00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a78be3f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf8448168bbd42bc0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8469637b09b50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3f876f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003953c12dea233ec713b8c98b","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35228044186196","buyAmountMinusFees":"35228044186196","buyAmountDisplay":"35228044186196","buyAmountDisplayMinimum":"34523483302473","buyAmountInEth":"9776134514755961734144","tradeAmountUSD":36058293.847422205,"tradeFeeAmountUSD":306495.49770308874,"value":"9999998293713846870000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.49770308874,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json index 93db9d0d2a..bd39ac3e6f 100644 --- a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json +++ b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":358292002.19248796,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":112262256.45112321,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000651866d8729a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000166000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000162000000000000000000000000000000000000000000000000000000000000014600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000b200000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000ec00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000118000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000003263d6682e3d916ae700000000000000000000000000000000000000000000000000000280d670cd467000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000009f917c49e7c2efaf6c100000000000000000000000000000000000000000000000000001a45c76d2717000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec83b618000000000000000000000000000000000000000000000000000011c9406a545a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000076f3716fa85000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002537573686953776170000000000000000000000000000000000000000000000000000000000001931eb34171ec83b61800000000000000000000000000000000000000000000000000000498868fb2d7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000019a8c51cad8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000ddb3303bb7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb1400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000cee3f7a270000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f46b175474e89094c44da98b954eedeac495271d0f0001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000008dda98756d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000003556e69737761700000000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000006365166f2900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000000000000c43727970746f436f6d000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000058a5eac47b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ceb90e4c17d626be0facd78b79c9c87d7ca181b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000463092f53a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb14000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000043e1a8256a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec70001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000026e100f753000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000664517a1a68f00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fad6a2a31319d97f7660376d","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100007536932853606629376","buyAmount":"112279948402593","buyAmountMinusFees":"112279948402593","buyAmountDisplay":"112279948402593","buyAmountDisplayMinimum":"111157148918568","buyAmountInEth":"31334977307613974929408","tradeAmountUSD":358292002.19248796,"tradeFeeAmountUSD":3045482.018636148,"value":"100000000611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"CryptoCom","part":2.5},{"name":"Uniswap_V3","part":30},{"name":"PancakeSwap_V3","part":5},{"name":"Uniswap","part":2.5},{"name":"Uniswap_V2","part":52.5},{"name":"SushiSwap","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3045482.018636148,"available":true}},"fee":"850000005201385404300","feeInEth":"850064063929255656320","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583002.20650727,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":115180116.44562875,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000067a389ebcd4300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000166000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000162000000000000000000000000000000000000000000000000000000000000014600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000b200000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000f800000000000000000000000000000000000000000000000000000000000001040000000000000000000000000000000000000000000000000000000000000118000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000003263d6682e3d916ae70000000000000000000000000000000000000000000000000000028f7c9b368c5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000009f917c49e7c2efaf6c100000000000000000000000000000000000000000000000000001a59e43f4cfa000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec83b618000000000000000000000000000000000000000000000000000012be1ac77234000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000007793fc00274000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002537573686953776170000000000000000000000000000000000000000000000000000000000001931eb34171ec83b6180000000000000000000000000000000000000000000000000000049c5b5c6905000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000019bc2428bba000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000e2eb0f5f19000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb1400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000d28aca74e7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f46b175474e89094c44da98b954eedeac495271d0f0001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000c68a01eba3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000008def020612000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000003556e69737761700000000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000638d68200c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000000000000c43727970746f436f6d000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000058e14f2245000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ceb90e4c17d626be0facd78b79c9c87d7ca181b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000043e1a8256a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec70001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000027db6a7f58000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000068d7cb763b3d00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f84c19e87eff5d7b48bf9798","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"115104851627694","buyAmountMinusFees":"115104851627694","buyAmountDisplay":"115104851627694","buyAmountDisplayMinimum":"113953803111418","buyAmountInEth":"31942747285820111990784","tradeAmountUSD":360583002.20650727,"tradeFeeAmountUSD":3064955.518755312,"value":"100000000611927694623603","gasPrice":"39188637037","source":"0x","protocols":[{"name":"CryptoCom","part":2.5},{"name":"Uniswap_V3","part":32.5},{"name":"PancakeSwap_V3","part":2.5},{"name":"Uniswap","part":2.5},{"name":"Uniswap_V2","part":52.5},{"name":"SushiSwap","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064955.518755312,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json index 3ba39f361d..bcdcafc373 100644 --- a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json +++ b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json index bdee081a9b..2bdf2ca93b 100644 --- a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json +++ b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2508.2065646072833,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2477.124930527295,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000097bade6e094db6200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000958639f5000000000000000000000000000000000000000000000000097f5387fa2c3823000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a5a119975cc1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b4101c769dbce400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008c035ed77af7a4e0ece8e4a8","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"700045372100767934","buyAmount":"697297455432707459","buyAmountMinusFees":"691370427061529446","buyAmountDisplay":"691370427061529446","buyAmountDisplayMinimum":"677543018520298857","buyAmountInEth":"691370427061529446","tradeAmountUSD":2508.2065646072833,"tradeFeeAmountUSD":21.236068491661126,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.236068491661126,"available":true}},"fee":"5927028371178013","feeInEth":"5927028371178013","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2510.2421708287097,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2480.4894016073736,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a35dde953642000000000000000000000000000000000000000000000000000000000095ac812f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b763aa7acd6365aa98533c32e7d3fc0c3f1e2810ea43e02138bca0f0412328b443b737f8d9d9fc9e95c69d3e2e1c5ff06f4485e9809593094ab4ed064ca930b3d00000000000000000000000000000000000000000000000000000000958639f5869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007450ca41a55b2ba689c64b41","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"696162096057969829","buyAmount":"693808169899903745","buyAmountMinusFees":"687910800455754564","buyAmountDisplay":"687910800455754564","buyAmountDisplayMinimum":"674152584446639473","buyAmountInEth":"687910800455754564","tradeAmountUSD":2510.2421708287097,"tradeFeeAmountUSD":21.264911662796443,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.264911662796443,"available":true}},"fee":"5897369444149181","feeInEth":"5897369444149181","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json index 115376732a..56d262ba0d 100644 --- a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json +++ b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.0009543225,"available":true},"totalPrice":{"value":3554.7513458540634,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x6b061ac9294b8da75dd2e8fab04dd144873df5e7cb4ffe336805dd2c580e0081","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3551362201","buyAmountMinusFees":"3551362201","buyAmountDisplay":"3551362201","buyAmountDisplayMinimum":"3551362201","buyAmountInEth":"992212844083028906","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":39.41212,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":39.41212,"available":true}},"fee":"11000000000000000","feeInEth":"11000828995296777","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.001122875,"available":true},"totalPrice":{"value":3570.1123315631694,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x8d0b3d391dc0c833b7400bc9facce354db3f09f3333e5027bcd93b06e4e15994","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3566108038","buyAmountMinusFees":"3566108038","buyAmountDisplay":"3566108038","buyAmountDisplayMinimum":"3566108038","buyAmountInEth":"990094466894770178","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":39.66413000000001,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":39.66413000000001,"available":true}},"fee":"11000000000000000","feeInEth":"11000000000000000","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json index ba41e85d4c..66290e1b11 100644 --- a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json +++ b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825604.45126926,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968023.894921295,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7b427d20000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c87a409e5fea500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1ddd586000000000000000000000000000000000000000000000010a91e41cb686ecf8900000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd4db428625d0af7a9700d3dd05f1613086b6f57b5d40a9e3cc02c5db807bfe32616ffbedbb66dbe93e1fe2074d7cee81ec700bd38c7ee7c492548480ec4d019000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018988b226695000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b565bb076c446360000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d47b57c45495a3f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c87a409e5fea5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87a409e5fea500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c20467bb8e3ebf29b067b498","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478967808","buyAmount":"34973534674780","buyAmountMinusFees":"34973534674780","buyAmountDisplay":"34973534674780","buyAmountDisplayMinimum":"34623799328033","buyAmountInEth":"9759644059850986429440","tradeAmountUSD":35825604.45126926,"tradeFeeAmountUSD":304517.6378357887,"value":"9998996475296478968045","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.6378357887,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054681.46051831,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247616.596818306,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb759530418000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be721e902797103200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000347059d3b600000000000000000000000000000000000000000000000364807bd96b758832300000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3ae78e5eaf3f3537f3270d68ae1090fbef0845355b7b100594c86ea7c0df1fdc19f6aef1180f0729d7450de0fa44725826a6820ac37163f1990fcb82da3fbbea00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018988b226424000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb9d40c6ce02fd90000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509dab2dd83b62984b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87a409e5eb1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000eba08bc7ba232479ae74e2cb","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478967808","buyAmount":"35224583928267","buyAmountMinusFees":"35224583928267","buyAmountDisplay":"35224583928267","buyAmountDisplayMinimum":"34872338088985","buyAmountInEth":"9775174258580771904512","tradeAmountUSD":36054681.46051831,"tradeFeeAmountUSD":306464.7924144056,"value":"9998996475296478968045","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.7924144056,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json index 97936c5365..edd8553785 100644 --- a/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json +++ b/e2e/mocks/swap_quotes/0x79e71103ff3f3d924eee9fc6d5e4b499e94ae4e4b79b142da31252eb4379555a.json @@ -1 +1 @@ -{"error":true,"message":"all requests failed"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Internal Server Error"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json index 662640a1b5..dc915133f2 100644 --- a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json +++ b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.387328394,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971538.66267506,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4ab1a51f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dd46903c000000000000000000000000000000000000000000000010a98ba36ac0afd71f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7570b1badf86933e932ab1088d9927b3b88ecaa5bb248201ab48e3cbf35da82a4a9528e9deb23ba00161090340dcd5308916b64bd86ac785db284e63da73e3a500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc09b74000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78e321dd5acb160000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb12f291674b55d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bd9827c7c502000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003570bb9abc2a6f26d8905fca","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"34977049996443","buyAmountMinusFees":"34977049996443","buyAmountDisplay":"34977049996443","buyAmountDisplayMinimum":"34627279496479","buyAmountInEth":"9760625038425379817472","tradeAmountUSD":35829193.387328394,"tradeFeeAmountUSD":304548.14379229135,"value":"9999998154390384020000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14379229135,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.345045485,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35098674.09028386,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001f94eb160d5d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a124af3d0a08800000000000000000000000000000000000000000000000000000f05083512e9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f78e321dd5b05ae0000000000000000000000000000000000000000000000000000098051fdb2fb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb12f2916759adb0000000000000000000000000000000000000000000000000000058815610d5e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000c804937e72000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000cb9c3480b3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2545c50d000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001ff2da79395900000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a106a70ba2db050ee3d50f93","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"35075738748693","buyAmountMinusFees":"35075738748693","buyAmountDisplay":"35075738748693","buyAmountDisplayMinimum":"34724981361207","buyAmountInEth":"9733868232912772463616","tradeAmountUSD":36058293.345045485,"tradeFeeAmountUSD":306495.4934328866,"value":"9999998154390384020000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4934328866,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json index b6031df723..dd36618155 100644 --- a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json +++ b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2500.491744423076,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2469.506250269793,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000097436737a858f1c00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000977d9357a93dc5e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a2c2000e4d42000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009ac838f94b8da3c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000661f26aafa3793b798fb877e","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"697892150654515302","buyAmount":"695152837576804314","buyAmountMinusFees":"689244038457401478","buyAmountDisplay":"689244038457401478","buyAmountDisplayMinimum":"675459157688253449","buyAmountInEth":"689244038457401478","tradeAmountUSD":2500.491744423076,"tradeFeeAmountUSD":21.170754540890808,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.170754540890808,"available":true}},"fee":"5908799119402836","feeInEth":"5908799119402836","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2502.521089463232,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2472.2725679530454,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099bd0688a149b00000000000000000000000000000000000000000000000000000000009536a64700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd6491f5a33664ce2076001b3bfc59d1ecfd8dff5d682dfc413bdf2a4fe084eda46ca5aea14adabce43efd7971f4deaba95a019173fe73b272130bfdfda5c85660000000000000000000000000000000000000000000000000000000095107d31869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d7da3b79d0c87919fc29f8cb","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"694196012522672223","buyAmount":"691684430659799731","buyAmountMinusFees":"685805112999191434","buyAmountDisplay":"685805112999191434","buyAmountDisplayMinimum":"672089010739207606","buyAmountInEth":"685805112999191434","tradeAmountUSD":2502.521089463232,"tradeFeeAmountUSD":21.194469821080066,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.194469821080066,"available":true}},"fee":"5879317660608297","feeInEth":"5879317660608297","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json index 722caa1883..16f7b65a9f 100644 --- a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json +++ b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.71068628,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.3737671,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4bea8f6b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8c4a1000000000000000000000000000000000000000000000010a98ba5f09dcd7e1800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cfb5e86b27ae9772ecc1839777bf4b58bb55f06a1fa383afc939e1a0925ea65a24490517de4e3a47401e8f0d90a900a5e599ef5ce24196960523b86cf5f8c019c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523d04d8d200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78fb8c28a8cfcd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb13d6717b996480000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bfa10363a7c2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000006fc0094b0409213416210fd","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"10000751876595894689792","buyAmount":"34977070710799","buyAmountMinusFees":"34977070710799","buyAmountDisplay":"34977070710799","buyAmountDisplayMinimum":"34627300003692","buyAmountInEth":"9761366411390200160256","tradeAmountUSD":35829193.71068628,"tradeFeeAmountUSD":304548.1465408334,"value":"9999998244640204720000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1465408334,"available":true}},"fee":"84999985079441740120","feeInEth":"85006390951065104872","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.67047099,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251150.341622226,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb829b597f6000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2fe840d8ce59c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471dbedf44000000000000000000000000000000000000000000000036496c24e6a74aed6800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b10b4f2e4f4f65f9826e25996caaf477f3afb31a2c5159f256dba37b8348183ea2a6b19c04ad30c04a2ed5f4ccdaa76a4f525d8047adc5eda1e941324ca6fabce00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523cfdd9ce00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf843beb254e87760000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7dc61455a25a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa103634cef00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e0b8cdf03ee74ddd2abab2ea","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35228115363934","buyAmountMinusFees":"35228115363934","buyAmountDisplay":"35228115363934","buyAmountDisplayMinimum":"34875834210295","buyAmountInEth":"9776154267289978843136","tradeAmountUSD":36058293.67047099,"tradeFeeAmountUSD":306495.4961990034,"value":"9999998244640204720000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4961990034,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json index d2948131d8..25bad9e963 100644 --- a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json +++ b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825645.72567095,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34886637.656433895,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001f6a9915c5a400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000f1d913cc2f0b18f7e300000000000000000000000000000000000000000000000000000e299d84dae9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b62881f5cc0e837000000000000000000000000000000000000000000000000000009743c81aaa8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000006b7cec5abf93293ca5000000000000000000000000000000000000000000000000000006474ef88baf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000c6ff545446000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000ca85c1a394000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c14ff4378000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001fc80a89cbd600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a980acd630034572e7962847","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999761552390254375936","buyAmount":"34892135610242","buyAmountMinusFees":"34892135610242","buyAmountDisplay":"34892135610242","buyAmountDisplayMinimum":"34543214254140","buyAmountInEth":"9737662807261076400128","tradeAmountUSD":35825645.72567095,"tradeFeeAmountUSD":304517.98866820306,"value":"9999007995062950057592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.98866820306,"available":true}},"fee":"84991567958035075489","feeInEth":"84997973195317162192","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36045623.90156233,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247666.38941444,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb75c42b393000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be762d5fc994e0bb00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034706714b32000000000000000000000000000000000000000000000036480bd6c9b48e550800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ccc0ef29e67b255bcca1e9a717c0c48274e2a34985456aba8a0956b26d7004b5d33a78d32c03f570d519bee2dbe98e25591e4ad5a1d4af0ee5a7be8b404b476ad00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b1a22b700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbc4fcc76a5908590000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db1440fae6014680000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26524a700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e4dc4f42f1e3471f5b536810","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950056960","buyAmount":"35224633688326","buyAmountMinusFees":"35224633688326","buyAmountDisplay":"35224633688326","buyAmountDisplayMinimum":"34872387351443","buyAmountInEth":"9777655645455221084160","tradeAmountUSD":36045623.90156233,"tradeFeeAmountUSD":306387.80316327984,"value":"9999007995062950057592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306387.80316327984,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json index 72767bf545..e702ba7c9b 100644 --- a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json +++ b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999994,"available":true},"totalPrice":{"value":4.999212149999997,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":4.938846175670224,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004e3c519fe11cf00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004e5a680d77b14000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000001e166d96945000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000008254b3c60e6f100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bb8700bf66673a2ab51aaf14","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1395289917162537","buyAmount":"1390258855590028","buyAmountMinusFees":"1378441655317513","buyAmountDisplay":"1378441655317513","buyAmountDisplayMinimum":"1364657238764338","buyAmountInEth":"1378441655317513","tradeAmountUSD":4.999212149999997,"tradeFeeAmountUSD":0.04234008320039945,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.04234008320039945,"available":true}},"fee":"11817200272515","feeInEth":"11817200272515","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999996,"available":true},"totalPrice":{"value":5.003269402499998,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":4.9439270143229965,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004dd18a477231500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004def77a47e286000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000001ded5d0bf71000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000918d868e2a45000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d3b740ee14f3f0c016a9f0e6","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1387549996117398","buyAmount":"1382846849377135","buyAmountMinusFees":"1371092651157430","buyAmountDisplay":"1371092651157430","buyAmountDisplayMinimum":"1357381724645856","buyAmountInEth":"1371092651157430","tradeAmountUSD":5.003269402499998,"tradeFeeAmountUSD":0.04238364056655888,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.04238364056655888,"available":true}},"fee":"11754198219705","feeInEth":"11754198219705","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json index a388f599b3..e07ac722fc 100644 --- a/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json +++ b/e2e/mocks/swap_quotes/0x81f456006fc8b4d42d0d8e99d45c951a8317dc2b29943b3fd6e913c722b9b178.json @@ -1 +1 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file +{"error":true,"message":"Fetch timed out"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json index 604afcc9f3..8709a4e56b 100644 --- a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json +++ b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3559.967404534182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000c99ce27f200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3560528437","buyAmountMinusFees":"3560528437","buyAmountDisplay":"3560528437","buyAmountDisplayMinimum":"3382502016","buyAmountInEth":"993593885583318089","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"31327162401","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":3604.9200000000005,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3577.319754111156,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000ca6e674b200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3574982143","buyAmountMinusFees":"3574982143","buyAmountDisplay":"3574982143","buyAmountDisplayMinimum":"3396233036","buyAmountInEth":"992343728601787423","tradeAmountUSD":3604.9200000000005,"tradeFeeAmountUSD":30.641820000000003,"value":"1000000000000000000","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":30.641820000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json index 72b209bada..d30129fb61 100644 --- a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json +++ b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2510.26225964037,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2479.1550075049,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000097dab3a57ab7b6100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000095a59948000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000000000000095a599480000000000000000000000000000000000000000000000000981519f514384ec000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a664f998098b000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009b62d73be282d6a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fa99d98de4b21b5f9e206e8d","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"700671921521881737","buyAmount":"697868911273860799","buyAmountMinusFees":"691937025528032983","buyAmountDisplay":"691937025528032983","buyAmountDisplayMinimum":"678098285017472324","buyAmountInEth":"691989172122562885","tradeAmountUSD":2510.26225964037,"tradeFeeAmountUSD":21.253472076441398,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":21.253472076441398,"available":true}},"fee":"5931885745827816","feeInEth":"5932332791771844","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2512.2995342194413,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2482.526233272549,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a5648a3101ce000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b35067616a493fd4c4381aaa0bb7601d3224a9a7cf49d9b73ce50ff7e5d0169d43f66be0a82e788610c4d8fb8c0e9d6c60f6da0af267e80458dde6c6bb9f33ae70000000000000000000000000000000000000000000000000000000095a59948869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000db0e90cff21bc25f0cfd1513","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"696732661889063288","buyAmount":"694377884267194969","buyAmountMinusFees":"688475672250923812","buyAmountDisplay":"688475672250923812","buyAmountDisplayMinimum":"674706158805905336","buyAmountInEth":"688475672250923812","tradeAmountUSD":2512.2995342194413,"tradeFeeAmountUSD":21.282373154631028,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.282373154631028,"available":true}},"fee":"5902212016271157","feeInEth":"5902212016271157","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json index 993477d677..a8247207cf 100644 --- a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json +++ b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.71068628,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971473.694849655,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cd6f3b57b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d87363f8000000000000000000000000000000000000000000000010a98ba5f09dcd7e1800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7e05124e1f1c92e855077ac702153e46687d94d17c8928afea97807f6c94d69d7bb822bf6a0aaa2ca21578da97e183f41866d28451b52feb6ad9e2ce291abbd100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523d04d8d200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78fb8c28a8cfcd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb13d6717b996480000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bfa10363a7c2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa10363a7c200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e089dcb7edd756b846cc64f2","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"34976985018379","buyAmountMinusFees":"34976985018379","buyAmountDisplay":"34976985018379","buyAmountDisplayMinimum":"34277445318012","buyAmountInEth":"9760606905777872629760","tradeAmountUSD":35829193.71068628,"tradeFeeAmountUSD":304548.1465408334,"value":"9999998244640204720000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1465408334,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.67206837,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251117.43037126,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662231f581000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2fe840d8ce59c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc3fef2000000000000000000000000000000000000000000000036496c24e6a74aed6800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3084d31e5f88b162592b996b268c9662750035f1c6d879980336cd6381827ab77ec9d24be05bcea4fe261aa87821cafcc74505dcdd7cab39aa1796e63e237aa600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523cfdd9ce00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf843beb254e87760000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7dc61455a25a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa103634cef00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e33c0f6ebe44ddcc768662c5","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35228082474189","buyAmountMinusFees":"35228082474189","buyAmountDisplay":"35228082474189","buyAmountDisplayMinimum":"34523520824706","buyAmountInEth":"9778612959613877724160","tradeAmountUSD":36049193.67206837,"tradeFeeAmountUSD":306418.14621258114,"value":"9999998244640204720000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.14621258114,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json index 3708ac34d2..e4a95a17fe 100644 --- a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json +++ b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35818394.410711676,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34961093.957993545,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7be244f839000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100c4a3eb12000000000000000000000000000000000000000000000010a84283909a5e31ea00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cff6394afaf7734db9edb7517aab6e5db3b5cd96cd421639f0462bad5dd880f224584ebf0506f1edaddc3cd13aa0859a8db37d169fc0566c9ed518873b380be6600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb7e07ec0d50300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13307cfeaff2f4a570000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e086f394914d90afe0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6eeb51539543afc2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000034964fa1ec032f224bce7288","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356160","buyAmount":"34966603645730","buyAmountMinusFees":"34966603645730","buyAmountDisplay":"34966603645730","buyAmountDisplayMinimum":"34616937609273","buyAmountInEth":"9757709900861181299712","tradeAmountUSD":35818394.410711676,"tradeFeeAmountUSD":304456.3524910492,"value":"9996984138834155356203","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304456.3524910492,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320528","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36038328.06176603,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35312059.83965182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fc6318b797b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbad454e550ebf0800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da0683a2000000000000000000000000000000000000000000000036453bcdadd5e8921b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ce3e00e34597910d736ff792367febe325febc3895580ef9bedbeadae09eb51315c17c48bd0eb49db790339519dd0abf5d4ae63c0a158298bd47fc27736a35cd100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000284cc1f3fabfcbd29600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000027a4f61bcae000000000000000000000000000000000000000000000029038b0b4c3a07334b000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723e0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001b26a19d8633c6d6948122242973b727bcb706b38eab368c00ba0b75de1bca712d382c0b05c5939f3aa13f2fd705aad9e9bf22e6427882cc31e251a53dd60918b600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6eeb515395439757f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008655312d43d4a4dd940000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509983e7f57f97a52c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000dbb6c79c8fea7589e7b9e29f","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356160","buyAmount":"35288985060456","buyAmountMinusFees":"35288985060456","buyAmountDisplay":"35288985060456","buyAmountDisplayMinimum":"34936095209852","buyAmountInEth":"9795518302667415541760","tradeAmountUSD":36038328.06176603,"tradeFeeAmountUSD":306325.7885250112,"value":"9996984138834155356203","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":17.5},{"name":"Uniswap_V3","part":82.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306325.7885250112,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320536","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json index 08832967f3..f2555f75f1 100644 --- a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json +++ b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.002021946,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.653785974,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbf94ee5000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c1764a56abca00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8e7a8000000000000000000000000000000000000000000000010a98ba8368523d47700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001caae2c28e4f168c06e51df6989e25882d817267a108054cbe3a3025c1aa87765b0c9a3eaaabd57a5c3973747626304ba18331ce3fc8d981168efde62a1a5ff0ef00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a16dbaf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f79118b7c1453350000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb14a3c085cddc40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c1764a56abca000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56abca00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000c7e8bfdf790509706417405","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"34977070990862","buyAmountMinusFees":"34977070990862","buyAmountDisplay":"34977070990862","buyAmountDisplayMinimum":"34277529571045","buyAmountInEth":"9760630897085609294848","tradeAmountUSD":35829194.002021946,"tradeFeeAmountUSD":304548.14901718654,"value":"9999998325952559545000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14901718654,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.96519291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.65812511,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662190faf3000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd305d9295a41c700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a2c54000000000000000000000000000000000000000000000036496c2c4e887cfe8c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c00b1bbc815d03457afed468c21f3f64da2b7c4c61774d0b7ef3c60a6d5c82dae0ec578591f2903724d37ba222eda6b0ee0cb38494ae1a215db78c9e63bec573500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a17ae9f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84501531ba7ed30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc88c5be08e94b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56b78200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001fa8d032c507fb5a7095a566","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35228071708982","buyAmountMinusFees":"35228071708982","buyAmountDisplay":"35228071708982","buyAmountDisplayMinimum":"34523510274803","buyAmountInEth":"9778609971407160532992","tradeAmountUSD":36049193.96519291,"tradeFeeAmountUSD":306418.1487041397,"value":"9999998325952559545000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1487041397,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json index a3ece358ce..12759e6584 100644 --- a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json +++ b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829.2,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":35490.56478296649,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000233e3bc00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000899927f7d3ff800000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000234bc97000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d8db000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000023a7e2f00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001e31250d5c7f33b58032aadb","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"37328913","buyAmountMinusFees":"37328913","buyAmountDisplay":"37328913","buyAmountDisplayMinimum":"36955624","buyAmountInEth":"9905486246683288196","tradeAmountUSD":35829.2,"tradeFeeAmountUSD":304.5482,"value":"10000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304.5482,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058.3,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":35625.505000379875,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000899927f7d3ff80000000000000000000000000000000000000000000000000000000000002352ea900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000899927f7d3ff800000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000899927f7d3ff80000000000000000000000000000000000000000000000000000000000002360804000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d95b000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000023bd10d00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006592ade86a4fa0196847deee","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"37414487","buyAmountMinusFees":"37414487","buyAmountDisplay":"37414487","buyAmountDisplayMinimum":"37040343","buyAmountInEth":"9879973542951240590","tradeAmountUSD":36058.3,"tradeFeeAmountUSD":306.49555000000004,"value":"10000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306.49555000000004,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json index 4234fb7647..1658995884 100644 --- a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json +++ b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825604.46181446,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968022.962240286,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d7b3465b4000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9c87b5064eb60f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1cbff4d000000000000000000000000000000000000000000000010a91e41e07876224500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ba978fdd0c1dae7b7190ce179257f5e6b7a1a13b60e83de22b6edc465e3b75a5e37a5b1afd5d77250fd65e579317cf1aa240e58226364205afce47e98bb31ca3200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018aba718c767e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b565c7c4bafec690000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d47b5f32c259ad30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9c87b5064eb60f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87b5064eb60f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000005bd0528806e40d4b5c0e4a6f","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9999750034699024271360","buyAmount":"34973533741952","buyAmountMinusFees":"34973533741952","buyAmountDisplay":"34973533741952","buyAmountDisplayMinimum":"34623798404533","buyAmountInEth":"9760379317611344067584","tradeAmountUSD":35825604.46181446,"tradeFeeAmountUSD":304517.6379254229,"value":"9998996478239664711490","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.6379254229,"available":true}},"fee":"84991470065037150047","feeInEth":"84997875294941706304","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054681.47113094,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247616.60706801,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb759532bb5000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be721ed4193ae7d900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000347059d3f800000000000000000000000000000000000000000000000364807bddb56ec3e1a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c8fd83a01f24af4d0dbe8d613f6a12f890d36753e74c81038b8ced0acb97e190a63b716f46ae8d52f746bc64d15d7703972acae3cd5cbd8f77d04bd7d9a5bdb4c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018aba718b5d3e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb9d4c745619beb0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509dab2e3e25d798750000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87b5064ea66f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000579c8a263379a524d91e4d18","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711680","buyAmount":"35224583938510","buyAmountMinusFees":"35224583938510","buyAmountDisplay":"35224583938510","buyAmountDisplayMinimum":"34872338099125","buyAmountInEth":"9775174261423306826752","tradeAmountUSD":36054681.47113094,"tradeFeeAmountUSD":306464.79250461294,"value":"9998996478239664711490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.79250461294,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150048","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json index 64d95809d4..0035666878 100644 --- a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json +++ b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829194.11998863,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971559.76771802,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdbfb031c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4c2344efd563500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec8f87f000000000000000000000000000000000000000000000010a98ba9222481acf800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb9810de6476c066c804f00b02f8a36e129d4c4cb3c32164efb274c946d708d68166bbc410783f1e0e27ff45a00f7d0b336cd8f65017f1095118ff694949d0c0e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcd027600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f791a73b3dcfd3a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb14f6e28eee2120000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4c2344efd5635000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd563500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000394d1872d7b0f744857f08e2","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"34977071104812","buyAmountMinusFees":"34977071104812","buyAmountDisplay":"34977071104812","buyAmountDisplayMinimum":"34277529682716","buyAmountInEth":"9760630928884266507264","tradeAmountUSD":35829194.11998863,"tradeFeeAmountUSD":304548.1500199033,"value":"9999998358877292100000","gasPrice":"29252162798","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.1500199033,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049194.08388393,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.77282306,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662192b1bd000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd308d13bf531c300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a5a9c000000000000000000000000000000000000000000000036496c2f4e34e04c5000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bad74d55ea62b99810ee86d212f171ec34377dbbfd1e391ce10ddbc4f15b7b40c04482863c82cdd682aa4557df1a7a5ca93f1b8afb8335b6b7e61a05f0f5471f900000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcc52ae00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84583f64e3cf790000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8d39d9ee44050000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd4c7100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fc0183bd09f0d9d9818db7db","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"35228071823605","buyAmountMinusFees":"35228071823605","buyAmountDisplay":"35228071823605","buyAmountDisplayMinimum":"34523510387133","buyAmountInEth":"9778610003224218815488","tradeAmountUSD":36049194.08388393,"tradeFeeAmountUSD":306418.14971301344,"value":"9999998358877292100000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.14971301344,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json index 6c6e8091c5..3f0433cb15 100644 --- a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json +++ b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999973,"available":true},"totalPrice":{"value":5.077606772402957,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999994,"available":true},"totalPrice":{"value":4.999212149999997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004f1642d6ab3cd00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c69cb20641ebe220b221c13136d194625a3b7aa9bb466caa607d5858798f6804c4c5dfcbbcd755bfcdf38c0b2db0f7572d2873f1e761a81d7e5aca486f3857bc6869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c51936c991401fbe6f39059f","sellAmount":"1417170010048497","sellAmountMinusFees":"1393281174975791","sellAmountDisplay":"1417170010048497","sellAmountInEth":"1417170010048496","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1395289917162537","tradeAmountUSD":5.077606772402957,"tradeFeeAmountUSD":0.04279589247934989,"value":"1417170010048497","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.04279589247934989,"available":true}},"fee":"11944417536353","feeInEth":"11944417536353","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":9.256807353574988,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999996,"available":true},"totalPrice":{"value":5.003269402499998,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000008f43bcd7c7f7200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b94b8e2adda5e3bf516db61df3c67699a2c2b6a7cb382e0abbe687a5a6a74d8f90102e43d1896a230cbf29673db408794c3337a846ee400eba603fc44bddcf0f0869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000befaff783dcd17cfd0c88ee3","sellAmount":"2567177973885343","sellAmountMinusFees":"2523903778985939","sellAmountDisplay":"2567177973885343","sellAmountInEth":"2567177973885343","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1387549996117398","tradeAmountUSD":9.256807353574988,"tradeFeeAmountUSD":0.07801969509705897,"value":"2567177973885343","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.07801969509705897,"available":true}},"fee":"21637097449702","feeInEth":"21637097449702","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json index e7b8b12128..b61210cc27 100644 --- a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json +++ b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3562.1367206611712,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d45a756f0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c2b21670239d836e5e2f30ae6885a4c7b563d6da20bfcff5eba931c9cb224b9060eb0471c7d06794fdd90e90798d619f3493eb1e4b7de33fa97611e81041446f7869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006797eacf0a2792b98e4950c0","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3562698095","buyAmountMinusFees":"3562698095","buyAmountDisplay":"3562698095","buyAmountDisplayMinimum":"35626981","buyAmountInEth":"994199345969536297","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.82306073239,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d507cf7d0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf6e31e17b26c9bcb2bbaf38067070328f5c12a551c76a0da44cd1c9eba4964a310fcd0fbc61981588bc0a99e83a2c575e17f2c7571fe2e94b8e42ddfefed4924869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c8125a6ce88eb7b13a082fc7","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570488388","buyAmountMinusFees":"3570488388","buyAmountDisplay":"3570488388","buyAmountDisplayMinimum":"35704884","buyAmountInEth":"990846229781323408","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json index 0ae768c4cb..db07ecf3fb 100644 --- a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json +++ b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825664.49755328,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968139.66418266,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7d8217991f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d644ad26000000000000000000000000000000000000000000000010a9201649c157460500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c6af346984a739cd85f000a3d3d709c296725805c374bc6915a8775eb778ae4961de5a216db67640b46b61f941f84a12738bef5b9b63a9e151fd7e210566e70ac00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281f98e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b68117f700ef6150000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d520a35016018620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9e0175495716b8000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000048efbf3a979a0af9efaefd69","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999766792054283111424","buyAmount":"34973650462286","buyAmountMinusFees":"34973650462286","buyAmountDisplay":"34973650462286","buyAmountDisplayMinimum":"34623913957664","buyAmountInEth":"9760411891807086597120","tradeAmountUSD":35825664.49755328,"tradeFeeAmountUSD":304518.14822920284,"value":"9999013234332130657592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304518.14822920284,"available":true}},"fee":"84991612491823110589","feeInEth":"84998017732461406456","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054741.89075183,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247674.97891228,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb75cc45f11000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be7805d5255b590d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034705f94087000000000000000000000000000000000000000000000036480db3f88eb0fce700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c4270461fb7858806720f92d087a97e83a298fd6762e58c1a8f115edfb1819e042faca36e757491d0611d7afcf6bae9fb7500ecf11abb063f2036eb447fa6644c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281e1df800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbca100a26bd7ed20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db408bfb805f8530000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e01754956fd5400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006844e99c2accc8b2b4e321d2","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657280","buyAmount":"35224642272211","buyAmountMinusFees":"35224642272211","buyAmountDisplay":"35224642272211","buyAmountDisplayMinimum":"34872395849489","buyAmountInEth":"9775190449608626039808","tradeAmountUSD":36054741.89075183,"tradeFeeAmountUSD":306465.3060713906,"value":"9999013234332130657592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.3060713906,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json index e686dd1b27..3fe72ac390 100644 --- a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json +++ b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":3556.1887920239865,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d435f53b0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7d0000000000000000000000000000000000000000674f6a410000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9e94fe36d6fcd31d3de3667890f5a580c20f2bd710bbe47a37503e4fc6f0be76699253775af0bb69c87ef47163123fe9b39bc27b0fb25a90479f92c68a45fd4a869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a2f7ee8183ef6263f4f1c71f","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000075363208797951","buyAmount":"3556749229","buyAmountMinusFees":"3556749229","buyAmountDisplay":"3556749229","buyAmountDisplayMinimum":"3521181737","buyAmountInEth":"992614068363916819","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.454819999999998,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.9199999999996,"available":true},"totalPrice":{"value":30.454819999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500640587274782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.870664839447,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d50889810000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e20000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bbbbca72f11695eb37f0e2d2fde3b20e9af1baf303755e5ef6b9bffbb3dd59c0e6a2c46303e7767aff9d20530eff8e3d66066f88a301ef8ba5021f417a095133b869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000089c828f1b558a85cfce0fbd5","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570535961","buyAmountMinusFees":"3570535961","buyAmountDisplay":"3570535961","buyAmountDisplayMinimum":"3534830602","buyAmountInEth":"990859431764516467","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json index e54517087b..e03d99117f 100644 --- a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json +++ b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825664.49755328,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968142.71863829,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c1459ba9f000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d67e7a80000000000000000000000000000000000000000000000010a9201649c157460500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c279c78b2ecc4336b541492ccb5528a5864b54e912af75c6c761f0d4c022151a14692e5e12f6b0e3a412e6b39cca47cf30c6b8b24edace19aa4063e3978ec6bab00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281f98e000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b68117f700ef6150000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d520a35016018620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9e0175495716b8000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e0175495716b800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000da6d15e90b8a70922b02c065","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130656256","buyAmount":"34973653517223","buyAmountMinusFees":"34973653517223","buyAmountDisplay":"34973653517223","buyAmountDisplayMinimum":"34274180446879","buyAmountInEth":"9759677223783476200448","tradeAmountUSD":35825664.49755328,"tradeFeeAmountUSD":304518.14822920284,"value":"9999013234332130657592","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304518.14822920284,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054741.89075183,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247674.978915274,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f65593e8252000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be7805d5255b590d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034705f9408a000000000000000000000000000000000000000000000036480db3f88eb0fce700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c374718cd737efc5a9b7d5ddf23cdd24db9eae79959bdfefa9bf11982d62a34380cbbdcaab36b1bfb36d3b69c1e18cdd89d2d3b9ae805a8ec0d12249d13b1401000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281e1df800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbca100a26bd7ed20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db408bfb805f8530000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e01754956fd5400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000501828abfd0dd864059d4d89","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657280","buyAmount":"35224642272214","buyAmountMinusFees":"35224642272214","buyAmountDisplay":"35224642272214","buyAmountDisplayMinimum":"34520149426770","buyAmountInEth":"9775190449609458569216","tradeAmountUSD":36054741.89075183,"tradeFeeAmountUSD":306465.3060713906,"value":"9999013234332130657592","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.3060713906,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json index 684c14c836..1ab0eb52f2 100644 --- a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json +++ b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":2490.5919025869894,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2459.6928223607374,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000947967d700000000000000000000000000000000000000000000000009833aca3d2db39d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000947967d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000947967d70000000000000000000000000000000000000000000000000986e352aed94aa3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000003a88871ab9706000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000009a2a4154098fe0400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000eabc44ec3fad361b6259a597","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"695181472537643670","buyAmount":"692390409963353182","buyAmountMinusFees":"686505091478664680","buyAmountDisplay":"686505091478664680","buyAmountDisplayMinimum":"679640040563878034","buyAmountInEth":"686556828705214643","tradeAmountUSD":2490.5919025869894,"tradeFeeAmountUSD":21.086625305160126,"value":"0","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":21.086625305160126,"available":true}},"fee":"5885318484688502","feeInEth":"5885762021174306","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2492.6132131295412,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2462.440640650291,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000992081e594a2f0000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf794e05437f96c5dd0f145773b25aeb241773ad2863a42e9fa8a07bfd726eedd6ec2753e59965a776d3730ff2394af54b2f447c9a116524dd4b603d060e0752200000000000000000000000000000000000000000000000000000000947967d7869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000044bcddd133cae86d3ed29dec","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"691447580842166009","buyAmount":"688933685807938607","buyAmountMinusFees":"683077749478571129","buyAmountDisplay":"683077749478571129","buyAmountDisplayMinimum":"676246971983785418","buyAmountInEth":"683077749478571129","tradeAmountUSD":2492.6132131295412,"tradeFeeAmountUSD":21.11018199246341,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.92,"available":true},"totalPrice":{"value":21.11018199246341,"available":true}},"fee":"5855936329367478","feeInEth":"5855936329367477","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json index edd913c3ae..09108d052a 100644 --- a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json +++ b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829195.83253531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971561.4131777,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cdc139f20000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dec9c3bd000000000000000000000000000000000000000000000010a98bb67eb933394200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001baa0eaa44347d2e8ce5a66f55f4fb754a2fa207edb95cf2269e1086c36c72bc4115371a5f501467dd730672d1af568264ec08569ac03a6d2dbfe7c2104cce841200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a32593278c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f799bc2190298dd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb19adbe3edf63c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c4e02facadccfa5d44cd4687","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"34977072750531","buyAmountMinusFees":"34977072750531","buyAmountDisplay":"34977072750531","buyAmountDisplayMinimum":"34277531295521","buyAmountInEth":"9760631388135291942912","tradeAmountUSD":35829195.83253531,"tradeFeeAmountUSD":304548.16457655013,"value":"9999998836852429675000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.16457655013,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049195.80694607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251119.49340236,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662250c9e3000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd333eb5dad86b500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc73f65000000000000000000000000000000000000000000000036496c5ad6adf9787b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc71a1effb0bdf5bc73337238c0c16d07ad2d54caaf646ae48d212a2466b799877cbae5d9fa8a13dc4a83a012c5c35c3f36f7d93ca3912c0bc0257c7a1bc5e95500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a3258f281c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84cec7419cd0c80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbccde10c82001f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76b753600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f8f63bec3a63d729fc2ed82a","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"35228084535872","buyAmountMinusFees":"35228084535872","buyAmountDisplay":"35228084535872","buyAmountDisplayMinimum":"34523522845155","buyAmountInEth":"9778613531895951753216","tradeAmountUSD":36049195.80694607,"tradeFeeAmountUSD":306418.16435904155,"value":"9999998836852429675000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.16435904155,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json index ac925a66b0..53f07e7a31 100644 --- a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json +++ b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":3582.92,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":3549.268210922701,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000038646f00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000387a1e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015af000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000039196c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000115daad245aec25a298ce0b4","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3733114","buyAmountMinusFees":"3733114","buyAmountDisplay":"3733114","buyAmountDisplayMinimum":"3695783","buyAmountInEth":"990607719659579605","tradeAmountUSD":3582.92,"tradeFeeAmountUSD":30.45482,"value":"1000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":30.45482,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3562.7640750837068,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000038858800000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000389b44000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015bc000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000393f0000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002dabf4627b78343d717c924c","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000252432786303123","buyAmount":"3741673","buyAmountMinusFees":"3741673","buyAmountDisplay":"3741673","buyAmountDisplayMinimum":"3704257","buyAmountInEth":"988306002652959354","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.83,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8502145678683576","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json index c9109d68b4..5e25b7bea5 100644 --- a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json +++ b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829193.387328394,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971481.107707426,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2cd762934d000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d905666d000000000000000000000000000000000000000000000010a98ba36ac0afd71f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc82fb2d5460ad0a47749f9374fd41121536c5d973a6a4f757bcf3d4c71493f4941361b79975ac2cedb687bd8f48a897c1d0521f172a7d415dd87ade4cbee312b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc09b74000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f78e321dd5acb160000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb12f291674b55d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bd9827c7c502000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c7c50200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002596e6b7072a3579a3f32f70","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"34976992432405","buyAmountMinusFees":"34976992432405","buyAmountDisplay":"34976992432405","buyAmountDisplayMinimum":"34277452583757","buyAmountInEth":"9760608974721017305088","tradeAmountUSD":35829193.387328394,"tradeFeeAmountUSD":304548.14379229135,"value":"9999998154390384020000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95},{"name":"0x","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.14379229135,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.34672499,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.06047457,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6621880c90000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2f6609f1ecdb700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b193b30000000000000000000000000000000000000000000000036496c1cae6345283b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7a4e2afeb3a92ca0d5a12cdc4a17b69ad52014639b02882119542bc527ec8662644a2951639c81416cb3624e4529e43abf3e4b856884c28033546d35eff9550a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc0853c800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf842589b59454100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7190eead71430000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c79fe600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000079ca8a69f5c0c0b9f61d725a","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"35228071111722","buyAmountMinusFees":"35228071111722","buyAmountDisplay":"35228071111722","buyAmountDisplayMinimum":"34523509689488","buyAmountInEth":"9778609805619698767872","tradeAmountUSD":36049193.34672499,"tradeFeeAmountUSD":306418.1434471624,"value":"9999998154390384020000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1434471624,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json index a84ff8b361..ebfdcd894e 100644 --- a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json +++ b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829200,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971541.03598504,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4ad58099000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f3a61700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dcfe4e59000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb3ae20588b0e4d3f0e72df03a9a4549a8d45b971d8ec18764db6497f6db06e4e022b7c88938e55f812bb784153cf0730520188c63f98156ea7f9b4c34bbaf2bf00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3841a2a72249cd00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f7ad66c6f6698e80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb25269eba82b0a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f3a617000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3a61700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000065a1d744164e6803512ec635","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"34977052370127","buyAmountMinusFees":"34977052370127","buyAmountDisplay":"34977052370127","buyAmountDisplayMinimum":"34627281846426","buyAmountInEth":"9760625700820850162688","tradeAmountUSD":35829200,"tradeFeeAmountUSD":304548.2,"value":"10000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.2,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058300.00000001,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251112.48985987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb8277a2bc1000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd39ccecfce697800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b235d70000000000000000000000000000000000000000000000036496cc4c6a3cd800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b30180c51e845dd03851280281c6222e612937e81676ecbdb605a5e7c7e37c8f875ac41b05a3142c85fc9622775641615fb398887ea43b592c1d2cf816d275e7200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3841a2a723248c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf85ef38bb736fd30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbd6b3637b354450000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3ade600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000de65bd3eaa1746dd7e7942d8","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"35228077536906","buyAmountMinusFees":"35228077536906","buyAmountDisplay":"35228077536906","buyAmountDisplayMinimum":"34875796761537","buyAmountInEth":"9776143769911467937792","tradeAmountUSD":36058300.00000001,"tradeFeeAmountUSD":306495.55000000005,"value":"10000000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.55000000005,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json index 97936c5365..edd8553785 100644 --- a/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json +++ b/e2e/mocks/swap_quotes/0xd92d69cf0aa6437d04f015649fdca3b6a336fc922dcd9c1dd20be6c35070425b.json @@ -1 +1 @@ -{"error":true,"message":"all requests failed"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Internal Server Error"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json index 18e47e6b9e..a13000ba9b 100644 --- a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json +++ b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821995.82318655,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964563.187602885,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7caf041beb000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43d5c87055557100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cbd15061000000000000000000000000000000000000000000000010a8b04687e774260100000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b34649c876a0b0e13b786612de16c35d6786555fb36dcc05d2e0f1e3f02d58cc151bfb6616ce7533f85401481586ab6eb07b07892932c560fa4dc6f8d6074c07a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c50817e6030f2e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372e056543fcf4090000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0adad87b125863560000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43d5c870555571000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5c87055557100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a758319178bd552d2a22cb95","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9998742780675350330368","buyAmount":"34970073422072","buyAmountMinusFees":"34970073422072","buyAmountDisplay":"34970073422072","buyAmountDisplayMinimum":"34620372687852","buyAmountInEth":"9759413614950633000960","tradeAmountUSD":35821995.82318655,"tradeFeeAmountUSD":304486.9644970856,"value":"9997989300120165687090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.9644970856,"available":true}},"fee":"84982909051021408340","feeInEth":"84989313635740477808","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051049.758052304,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35244107.9777759,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb68a6bbec4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0f5721c156191300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f0030e0b00000000000000000000000000000000000000000000003646a169ec553018ba00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb56f6cd1fdb78ca5fab9a49a34016346065f388372f0dafcac4939db27cfd89f6211b71697c9699152a5a6f39cf78bd7922da150415c6874b60f8b1e6ca521f800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c50817e5ffa04600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7ea2f9cd3aead3d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b9702b2a1fedbad0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5c87055249d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007e770bb426d74dab45b7ec3b","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9997989300120165687296","buyAmount":"35221077601943","buyAmountMinusFees":"35221077601943","buyAmountDisplay":"35221077601943","buyAmountDisplayMinimum":"34868866825924","buyAmountInEth":"9774201217965321398272","tradeAmountUSD":36051049.758052304,"tradeFeeAmountUSD":306433.9229434446,"value":"9997989300120165687090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.9229434446,"available":true}},"fee":"84982909051021408340","feeInEth":"84982909051021408336","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json index 1bd1cbdbb8..3d4aecb453 100644 --- a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json +++ b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821991.17884922,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964550.05836099,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7cae3dbeae000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100cb2b26b9000000000000000000000000000000000000000000000010a8b0224b779aa12600000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc5b3b3b55fc37c29913bc0cc7d5a1d55ad40d48b0cfb598f9ffd9955ced767ac2978975119748f6d0652b720653c8bc7c2f17fb9570be0745dac37aa64adc2d000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c2fa15f175011300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372ca6b94bab79630000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0ada0bec16cdad0f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43b88f70f83e7e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f83e7e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c3eb5d2b7399e3e818c5f0c1","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9998741484334004228096","buyAmount":"34970060290761","buyAmountMinusFees":"34970060290761","buyAmountDisplay":"34970060290761","buyAmountDisplayMinimum":"34620359687854","buyAmountInEth":"9759409950277304785920","tradeAmountUSD":35821991.17884922,"tradeFeeAmountUSD":304486.92502021836,"value":"9997988003876508667090","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.92502021836,"available":true}},"fee":"84982898032950323670","feeInEth":"84989302616839035944","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051045.08401804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35315631.498208605,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fc7042a6922000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0ee23dc3e2bf1600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346effbeffe00000000000000000000000000000000000000000000003646a0f3dd1a52a1ad00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3d155bccc767482222da6c888eb614fae295b30ba5458a2fa274e1b17eb3340717819a3aab8664218a6e23ac6a8e70e2e516c21d00719fed14777fcc075e197700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000284dcb29ae52ea0f5100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000027a4f6227050000000000000000000000000000000000000000000000290355510b62fa9e98000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001b71f16f2cace55f3d6ceca9f227b6d1dca338de1c2a93b73c42ce5151ccef17174466124d61fa321f20f0111ac82c57a4b5470c28a40604dd5e3c7f76bf72fea300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6f43b88f70f8afc5800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008658a5359a69b249d80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b96535ca5d41ea10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f8afc600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000af1d18b0882e52ebf4d14610","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"35292554385101","buyAmountMinusFees":"35292554385101","buyAmountDisplay":"35292554385101","buyAmountDisplayMinimum":"34939628841250","buyAmountInEth":"9794036740003994807296","tradeAmountUSD":36051045.08401804,"tradeFeeAmountUSD":306433.8832141533,"value":"9997988003876508667090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":17.5},{"name":"Uniswap_V3","part":82.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.8832141533,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json index 68888d9949..7388707c0a 100644 --- a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json +++ b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35821995.81338531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34964641.120453075,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7cb39d905c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43d5b8a6b3b28600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d1944793000000000000000000000000000000000000000000000010a8b0467453d4dd2200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c34558c2083ceaa2fc101aaf044f144dc3e4726b7b5763b51d979c57ee95d5980784808343c0ebca9077cc9e1b3a961c61b20ec960d97000889ef032fe061d99f00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c506fbb8a4fe6b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a1372e04a7d07007c70000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0adad80c8eecc7da0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f43d5b8a6b3b286000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5b8a6b3b28600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e5dd734be9f4a4c48ea469c4","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9998742777939599517696","buyAmount":"34970151367204","buyAmountMinusFees":"34970151367204","buyAmountDisplay":"34970151367204","buyAmountDisplayMinimum":"34620449853532","buyAmountInEth":"9759435367801228383232","tradeAmountUSD":35821995.81338531,"tradeFeeAmountUSD":304486.96441377513,"value":"9997989297384621033178","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304486.96441377513,"available":true}},"fee":"84982909027769278782","feeInEth":"84989313612486595896","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051049.74818839,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35244107.96825068,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb68a6b99f4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0f56e29acf3b6000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f0030a3200000000000000000000000000000000000000000000003646a169ac8cffd8ba00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3050b1e54d2aa78f078c3d88d6e064a8d3e8bf81b80e274db6689941e54de7f0226e4152e7ceb2b4b8dee90225e2014dbf026c09353d94eab52725f0188cb11a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c506fbb8a48b2f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7ea2eef29be77270000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b970253e836d9100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5b8a6b3ced800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c247d8521c29e81a02153c10","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9997989297384621033472","buyAmount":"35221077592424","buyAmountMinusFees":"35221077592424","buyAmountDisplay":"35221077592424","buyAmountDisplayMinimum":"34868866816500","buyAmountInEth":"9774201215323703714816","tradeAmountUSD":36051049.74818839,"tradeFeeAmountUSD":306433.9228596013,"value":"9997989297384621033178","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.9228596013,"available":true}},"fee":"84982909027769278782","feeInEth":"84982909027769278784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json index 1562bdd9ec..16a52e9f45 100644 --- a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json +++ b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829200,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95075.26989325,"available":true},"totalPrice":{"value":34409672.85589679,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000857a420cf000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f34856000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000004502a8ac000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c5180d2a8eceb0df80051427dbf06e8c6810cd27e37cf223742823e404b3bbc63057f252658ba51ef983bb68c258ae03cf7aacb5cf85ea18acad033f95ec971bb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6ff4e733b3f3437400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f9108050785673d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f9108050785673d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f34856000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000001adfe9ce6767e6699c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007522eff63a166de2138e7254","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000753632087979517952","buyAmount":"36192032791","buyAmountMinusFees":"36192032791","buyAmountDisplay":"36192032791","buyAmountDisplayMinimum":"35830112464","buyAmountInEth":"9604530963364211420160","tradeAmountUSD":35829200,"tradeFeeAmountUSD":304548.2,"value":"10000000000000000000000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.2,"available":true}},"fee":"85000000000000000000","feeInEth":"85006405872747825896","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058300.00000001,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":34457264.765722245,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000085758ae9b00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f367960000000000000000000000000000000000000000000000000000000035a82a9b3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9108050786d0910000000000000000000000000000000000000000000000000000000215dd151e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000093cf85ef38bb7497b8000000000000000000000000000000000000000000000000000000024b26951b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f36c78000000000000000000000000000000000000000000000000000000003431a83d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000001adfe9ce6767e6b1e0000000000000000000000000000000000000000000000000000000006ad5e6e0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000335346f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000087027f41a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007ccbbfd764a0a253233d9108","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"36187582032","buyAmountMinusFees":"36187582032","buyAmountDisplay":"36187582032","buyAmountDisplayMinimum":"35825706212","buyAmountInEth":"9555987044791973072896","tradeAmountUSD":36058300.00000001,"tradeFeeAmountUSD":306495.55000000005,"value":"10000000000000000000000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.55000000005,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json b/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json index a388f599b3..e07ac722fc 100644 --- a/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json +++ b/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json @@ -1 +1 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file +{"error":true,"message":"Fetch timed out"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json index 463f875b67..69fd89fe64 100644 --- a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":49.9921215,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":46.35258985850283,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e5b17d2e56ff20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a9c0000000000000000000000000000000000000000674f6a430000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3ee57cbaa008ac756f7e951ad3bd94b82b2506e53109c923df62d65abc3b6c3b0c490df851ab91499657bd92b1c2c32355a09e189f650c4a23292e82fbaf20170000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a787064695b43c4a91bdd798","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13952899171625378","buyAmount":"13048006809317362","buyAmountMinusFees":"12937098751438165","buyAmountDisplay":"12937098751438165","buyAmountDisplayMinimum":"129370987514383","buyAmountInEth":"12937098751438165","tradeAmountUSD":49.9921215,"tradeFeeAmountUSD":0.39737469873653253,"value":"0","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.39737469873653253,"available":true}},"fee":"110908057879197","feeInEth":"110908057879197","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":45.48475979356309,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32ed086e958c0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9e9577e0f682cfb180b1c25ad932efb80250f73675a398d1248056c69b34c9eb1103a7509d6086ed2a479d8db29e1c9c6a021e6bc449d2835caec29da19273170000000000000000000000000000000000000000000000000000000002faf080869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000038f284d427a55f0aca3f7fe3","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13875499961173986","buyAmount":"12722367582082444","buyAmountMinusFees":"12614227457634744","buyAmountDisplay":"12614227457634744","buyAmountDisplayMinimum":"126142274576348","buyAmountInEth":"12614227457634744","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.38993490493725014,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.38993490493725014,"available":true}},"fee":"108140124447700","feeInEth":"108140124447700","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json index a703d3fa7b..496c991b6a 100644 --- a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json +++ b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":2.1924879756207996,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424299999985,"available":true},"totalPrice":{"value":2.1627841563937467,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020ad1500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020b9a6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000c91000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000511de100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000edc62f7215c71d2120d22cca","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2163125","buyAmountMinusFees":"2163125","buyAmountDisplay":"2163125","buyAmountDisplayMinimum":"2141494","buyAmountInEth":"603637300412442","tradeAmountUSD":2.1924879756207996,"tradeFeeAmountUSD":0.018636147792774557,"value":"611927694623603","gasPrice":"29252162798","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":0.018636147792774557,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2.2065072391046265,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999991,"available":true},"totalPrice":{"value":2.1757867748733806,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020d88d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020e52e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000ca1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000061e7e100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000969eaf9cac0e56f2803c8a50","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2174365","buyAmountMinusFees":"2174365","buyAmountDisplay":"2174365","buyAmountDisplayMinimum":"2152622","buyAmountInEth":"603408029461561","tradeAmountUSD":2.2065072391046265,"tradeFeeAmountUSD":0.018755311532387072,"value":"611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.018755311532387072,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json index ed8325c6c7..bf6506d51b 100644 --- a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json +++ b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35829195.83253531,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34971533.796155,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f7e4a681e68000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100dcbf24b4000000000000000000000000000000000000000000000010a98bb67eb933394200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9dbf1cab81b6ec7f820d5f30ff7ddca5f77a1d442f42b77a2e2eb2d4b974b0332a01ea9742627e76b0bbe2f33336eed63dd09cd4d9e9a21dd5852eb9e82311ad00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a32593278c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13f799bc2190298dd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0fb19adbe3edf63c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76bbf6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000098e2d4ffbd4401b2e3aecc0c","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"34977045129156","buyAmountMinusFees":"34977045129156","buyAmountDisplay":"34977045129156","buyAmountDisplayMinimum":"34627274677865","buyAmountInEth":"9760623680170084810752","tradeAmountUSD":35829195.83253531,"tradeFeeAmountUSD":304548.16457655013,"value":"9999998836852429675000","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304548.16457655013,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049195.80694607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251108.437899105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb8273d004d000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd333eb5dad86b500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1cfa7b000000000000000000000000000000000000000000000036496c5ad6adf9787b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b91bb75224a1310451cb17080c62e2aa33d6161d8e00ea0e1d86335ff0506adf02ff979a67cd572c337e2ad9ec5a2204508d5c9afe7a0dcbd58ae0c3a0dd2a3a400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a3258f281c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84cec7419cd0c80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbccde10c82001f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76b753600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000055492deab629e2e875bf6789","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"35228073487593","buyAmountMinusFees":"35228073487593","buyAmountDisplay":"35228073487593","buyAmountDisplayMinimum":"34875792752718","buyAmountInEth":"9778610465114094127104","tradeAmountUSD":36049195.80694607,"tradeFeeAmountUSD":306418.16435904155,"value":"9999998836852429675000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.16435904155,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json b/e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json index a388f599b3..22a135ba1f 100644 --- a/e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json +++ b/e2e/mocks/swap_quotes/0xf6be4896f04adb2829a5edd8386ffb96d87c47a6beda5545d0b71edbfe204782.json @@ -1 +1 @@ -{"error":true,"error_code":504,"message":"no routes found"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Bad Request"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json index d5b26fbf5b..17dc41ec0a 100644 --- a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json +++ b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":35825645.72567095,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":0.9998424300000001,"available":true},"totalPrice":{"value":34968128.839163624,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f2c138a25e2000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f9d8b57f26520bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000100d6c471be000000000000000000000000000000000000000000000010a91f83d3743ff69d00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f6a7e0000000000000000000000000000000000000000674f6a420000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bed274c62e949ab639211d35206a878faccfffe4960e993a4d407ab4b2356618e2fc2f652a8950b27b6a13abc7e8e6a7ca343230bc5394f8d9d3fe9549341ffc600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b19dc6700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000a13b62881f5cc1808f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000005e0d4ecf67a0c285a70000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6f9d8b57f26520bf000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26520bf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f7dc4b2cf83b1a93d8961a9f","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950056960","buyAmount":"34973639635561","buyAmountMinusFees":"34973639635561","buyAmountDisplay":"34973639635561","buyAmountDisplayMinimum":"34274166842850","buyAmountInEth":"9759673349994871789568","tradeAmountUSD":35825645.72567095,"tradeFeeAmountUSD":304517.98866820306,"value":"9999007995062950057592","gasPrice":"30015947302","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3582.92,"available":true},"totalPrice":{"value":304517.98866820306,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054722.99883784,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247638.05325408,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f655716b2a4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be762d5fc994e0bb00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034704bce13d000000000000000000000000000000000000000000000036480bd6c9b48e550800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ceed2617a1b55817b90a846d11ec514ab7ec64e001e31477d0d362109aa5999b46596b66eb541755a513998b8621bfa8fc55c0078a13b2e092760c5eceba6f1a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b1a22b700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbc4fcc76a5908590000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db1440fae6014680000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26524a700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c84d981ecda5b5f385c8ef98","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057984","buyAmount":"35224605370682","buyAmountMinusFees":"35224605370682","buyAmountDisplay":"35224605370682","buyAmountDisplayMinimum":"34520113263269","buyAmountInEth":"9775180209065341904896","tradeAmountUSD":36054722.99883784,"tradeFeeAmountUSD":306465.1454901216,"value":"9999007995062950057592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.1454901216,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/package.json b/package.json index ac216ed207..1ab3b0c7a2 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "// Build and zip": "", "bundle": "yarn build && yarn zip", "// Runs tests": "", - "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21324372", + "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21324533", "anvil:optimism": "OPTIMISM_MAINNET_RPC=$(grep OPTIMISM_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $OPTIMISM_MAINNET_RPC", "anvil:kill": "lsof -i :8545|tail -n +2|awk '{print $2}'|xargs -r kill -s SIGINT", "test": "./scripts/unit-tests.sh", diff --git a/yarn.lock b/yarn.lock index 09dae2d254..b9bd86197d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13986,6 +13986,11 @@ netmask@^2.0.2: resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7" integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -16249,7 +16254,7 @@ semver-diff@^4.0.0: dependencies: semver "^7.3.5" -semver@7.3.8, semver@7.5.2, semver@^5.6.0, semver@^6.0.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4: +semver@7.3.8, semver@7.5.2, semver@^5.5.0, semver@^5.6.0, semver@^6.0.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4: version "7.5.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.2.tgz#5b851e66d1be07c1cdaf37dfc856f543325a2beb" integrity sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ== @@ -18371,7 +18376,7 @@ which@1.2.4: is-absolute "^0.1.7" isexe "^1.1.1" -which@^1.2.14: +which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== From 924befc022d2be354897f78a4a815c9aee0ee2ac Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:30:04 -0600 Subject: [PATCH 21/24] okay point the script at the anvil instance instead of our prod key --- e2e/fetchResponses.ts | 2 +- ...fb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json | 2 +- ...5e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json | 2 +- ...05dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json | 2 +- ...32f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json | 2 +- ...ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json | 2 +- ...28e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json | 2 +- ...5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json | 2 +- ...7e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json | 2 +- ...934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json | 2 +- ...41e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json | 2 +- ...2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json | 2 +- ...54c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json | 2 +- ...0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json | 2 +- ...e50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json | 2 +- ...be821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json | 2 +- ...c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json | 2 +- ...431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json | 2 +- ...bd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json | 2 +- ...ac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json | 2 +- ...dcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json | 2 +- ...c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json | 2 +- ...85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json | 2 +- ...62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json | 2 +- ...0dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json | 2 +- ...4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json | 2 +- ...bbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json | 2 +- ...8a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json | 2 +- ...0081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json | 2 +- ...38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json | 2 +- ...48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json | 2 +- ...417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json | 2 +- ...d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json | 2 +- ...4a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json | 2 +- ...c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json | 2 +- ...0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json | 2 +- ...f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json | 2 +- ...fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json | 2 +- ...6923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json | 2 +- ...72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json | 2 +- ...7325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json | 2 +- ...ef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json | 2 +- ...ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json | 2 +- ...0e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json | 2 +- ...da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json | 2 +- ...f9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json | 2 +- ...7c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json | 2 +- ...7f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json | 2 +- ...b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json | 2 +- ...a9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json | 2 +- ...2b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json | 2 +- ...53efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json | 2 +- ...97d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json | 2 +- ...1c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json | 2 +- ...a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json | 2 +- ...31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json | 2 +- ...d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json | 2 +- ...906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json | 2 +- ...17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json | 2 +- ...5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json | 2 +- ...c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json | 2 +- ...a7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json | 2 +- ...9b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json | 2 +- ...45fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json | 2 +- ...7068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json | 2 +- package.json | 2 +- 66 files changed, 66 insertions(+), 66 deletions(-) diff --git a/e2e/fetchResponses.ts b/e2e/fetchResponses.ts index 6b50b0ad13..abe4ffee9a 100755 --- a/e2e/fetchResponses.ts +++ b/e2e/fetchResponses.ts @@ -33,7 +33,7 @@ const fetchWithTimeout = ( }; (async () => { - const client = createClient({ transport: http(process.env.ETH_MAINNET_RPC) }); + const client = createClient({ transport: http('http://127.0.0.1:8545') }); const blockNumberInitial = await getBlockNumber(client); console.log('INITIAL BLOCK NUMBER', blockNumberInitial.toString()); diff --git a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json index ca177b6d32..0864260d2d 100644 --- a/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json +++ b/e2e/mocks/swap_quotes/0x075d7d1eefb1fad7a225af737745bc9a5a099d33eacbce33d15ff5419eccd0fc.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583002.20650727,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":74770622.33001183,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000121999964e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000011c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e2000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000008a00000000000000000000000000000000000000000000000000000000000000a2000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec7b6530000000000000000000000000000000000000000000000000000000057c8ae66e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec7b653000000000000000000000000000000000000000000000000000000004fc22a9cf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000865f9115d0a42b0a02a000000000000000000000000000000000000000000000000000000038e11aacb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000003ac9cf798b47d1fec1b00000000000000000000000000000000000000000000000000000001a8f010c3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000014437572766556320000000000000000000000000000000000000000000000000000000000000003263d6682e3d9060ca0000000000000000000000000000000000000000000000000000000016c53fed900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b90800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000001c42616e636f72563300000000000000000000000000000000000000000000000000000000000001931eb34171ec7b653000000000000000000000000000000000000000000000000000000000b9df1eb9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eef417e1d5cc832e619ae18d2f140de2999dd4fb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42921bb000000000000000000000000000000000000000000000000000000003b13b2e2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42921bb000000000000000000000000000000000000000000000000000000000f9973bb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000006f5f9b0000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000124f6f76d700000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000045c95d40700a6bfb1e3a2f8e","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"78525328332","buyAmountMinusFees":"78525328332","buyAmountDisplay":"78525328332","buyAmountDisplayMinimum":"77740075049","buyAmountInEth":"20736036454855560937472","tradeAmountUSD":360583002.20650727,"tradeFeeAmountUSD":3064955.518755312,"value":"100000000611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":17.5},{"name":"BancorV3","part":7.5},{"name":"SushiSwap","part":40},{"name":"Uniswap_V3","part":20},{"name":"Curve_V2","part":15}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064955.518755312,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":361661002.21310383,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":73765146.4345288,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000011cdb001eb00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000e400000000000000000000000000000000000000000000000000000000000000f400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000ca000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c60000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000740000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000005854ab0a3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000004da1342d7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000865f9115d0a42b3112a000000000000000000000000000000000000000000000000000000038e7f53b2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000432fc88ae852159889500000000000000000000000000000000000000000000000000000001af01ba97000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000014437572766556320000000000000000000000000000000000000000000000000000000000000003263d6682e3d8f3e430000000000000000000000000000000000000000000000000000000016bb40eb400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d51a44d3fae010294c616388b506acda1bfaae465b41b90800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000001c42616e636f72563300000000000000000000000000000000000000000000000000000000000001931eb34171ec79f21800000000000000000000000000000000000000000000000000000000ba04c07a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eef417e1d5cc832e619ae18d2f140de2999dd4fb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42cb7b30000000000000000000000000000000000000000000000000000000011f0f8f2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000006d8c7fb000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000001202a414e100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e821f3991bfbfe421ad97b08","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"77238845294","buyAmountMinusFees":"77238845294","buyAmountDisplay":"77238845294","buyAmountDisplayMinimum":"76466456842","buyAmountInEth":"20396212595366598406144","tradeAmountUSD":361661002.21310383,"tradeFeeAmountUSD":3074118.5188113824,"value":"100000000611927694623603","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":20},{"name":"BancorV3","part":7.5},{"name":"SushiSwap","part":40},{"name":"Uniswap_V3","part":17.5},{"name":"Curve_V2","part":15}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":3074118.5188113824,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json index de0bc6aaf6..7747bd3a9e 100644 --- a/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json +++ b/e2e/mocks/swap_quotes/0x0a68829355e924a4418aeca191d6066699fd1060c241779e3add6232f89e343a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2502.521089463232,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2472.8712620240826,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099bc9f179cb5f00000000000000000000000000000000000000000000000000000000009536a64700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c240c5bcba3cc8460e92329b129b1ef0ba47efa0dc034d1657e8e9bae0b57c2b852fc6ca80a7d8d8e7c959e26ea2339736134c3f4bd24e3dfeb9f586c428c327f0000000000000000000000000000000000000000000000000000000095107d31869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000089f4643f8bbd8d3de7560cb8","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"694020818913601487","buyAmount":"691677329317033216","buyAmountMinusFees":"685798072017838434","buyAmountDisplay":"685798072017838434","buyAmountDisplayMinimum":"678940091297660050","buyAmountInEth":"685798072017838434","tradeAmountUSD":2502.521089463232,"tradeFeeAmountUSD":21.199602347155523,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.199602347155523,"available":true}},"fee":"5879257299194782","feeInEth":"5879257299194782","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2501.46384473916,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2474.7334293947247,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000996162cf927b180000000000000000000000000000000000000000000000000000000009536a64700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b260c98e1c75a51b56e9ffcf9661bf03ec24f94e03a2f9eb03159b17b777c1e76496a1664c17ad3b3b91a48d4071e8d1024dab57062ba5af671a7c689e9dcc1340000000000000000000000000000000000000000000000000000000095107d31869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d0776117f35d35bdf2e03c77","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"691550833726593581","buyAmount":"690073901308438637","buyAmountMinusFees":"684208273147316909","buyAmountDisplay":"684208273147316909","buyAmountDisplayMinimum":"677366190415843740","buyAmountInEth":"684160984356522107","tradeAmountUSD":2501.46384473916,"tradeFeeAmountUSD":21.215566464806006,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.9299999999994,"available":true},"totalPrice":{"value":21.215566464806006,"available":true}},"fee":"5865628161121728","feeInEth":"5865222760494641","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json index 7cc20a6b2b..b3a87a65c8 100644 --- a/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json +++ b/e2e/mocks/swap_quotes/0x0eb812dc105dc99cfb402786fa5454e78e38b11035c362d16cf1f99517c17e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058294.08239051,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.77282606,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb82723dd5c000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd308d13bf531c300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a5a9f000000000000000000000000000000000000000000000036496c2f4e34e04c5000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cadc5f034f2df1799b99bff206096339354131ead089bc7b0e5c3f8c8ef9f03543d146397bc5152417c9224d8a5f208bafd1244a198c1f9c8c03343650b87158a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcc52ae00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84583f64e3cf790000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8d39d9ee44050000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd4c7100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d6986f5adf3105fc5ef84b73","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"35228071823608","buyAmountMinusFees":"35228071823608","buyAmountDisplay":"35228071823608","buyAmountDisplayMinimum":"34875791105372","buyAmountInEth":"9776142184414144393216","tradeAmountUSD":36058294.08239051,"tradeFeeAmountUSD":306495.4997003193,"value":"9999998358877292100000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4997003193,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982856","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169294.06417404,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192008.363981396,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001fadd808101600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a69e1dccb25bf00000000000000000000000000000000000000000000000000000f1184f29f28000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f791a73b3dc880a000000000000000000000000000000000000000000000000000009874c49d825000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb14f6e28ee9db60000000000000000000000000000000000000000000000000000058c22b2ea3f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd4c71000000000000000000000000000000000000000000000000000000c8c9a6daaa000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd4c71000000000000000000000000000000000000000000000000000000cc494d8fb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbbbd3000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c1180021600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000004171176fc94b4540ad5392e5","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999307212849247083520","buyAmount":"35183876230227","buyAmountMinusFees":"35183876230227","buyAmountDisplay":"35183876230227","buyAmountDisplayMinimum":"34832037467925","buyAmountInEth":"9729128316528729713664","tradeAmountUSD":36169294.06417404,"tradeFeeAmountUSD":307438.99954547937,"value":"9999998358877292100000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.99954547937,"available":true}},"fee":"84999986050456982850","feeInEth":"84994111309218600216","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json index e4bfee0a1d..4ed6b17fd1 100644 --- a/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json +++ b/e2e/mocks/swap_quotes/0x101514d7832f651678633413082136d7a9877e65f829336d06bb78ac9519db5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.8162893075805,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d507b5070000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3e75506f5a863247be4498775940000f75c169a60b7b989cdd93ed492b26b38168ca7200c71f6b7dc471bb650bf4cae2a6e9521f6d845ff09dc17c3beeb28748869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000d8e89bda61b2559d084a80e","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570481621","buyAmountMinusFees":"3570481621","buyAmountDisplay":"3570481621","buyAmountDisplayMinimum":"3499071989","buyAmountInEth":"990844351871158663","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":3582.1492794380893,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d5ad46ba0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b51d283be2f4cbfbb0ff1bb599f64b739e6553201d309a24405861675dcb5d7a92a3b2e8b82cfdd7e59b33f195143f540c5f8ba06ca467eb3b0ddeb73ec97d372869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009f0d94d04c9e1f1fe6dfd97b","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"3581321520","buyAmountMinusFees":"3581321520","buyAmountDisplay":"3581321520","buyAmountDisplayMinimum":"3509695090","buyAmountInEth":"990315461060298011","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json index f33db41666..35f3301b08 100644 --- a/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json +++ b/e2e/mocks/swap_quotes/0x1137d8478ae2b8d905c7577c49511edf1dca5fe5f5c8a65fb662e36fe5ab0d93.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36038328.057807,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240606.36140941,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb5bbee3066000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbad4534fabd036000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da73edfb000000000000000000000000000000000000000000000036453bcd943aaf736a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bcd5ae4b84d2caaedb2b95684fe9648007c234101ed5d7ff84cbccb3fdee7c6a9395dd8bdd7e61a3b748b423eb8818cd854e452b6f8274374756ce7ed092b11a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc8bb76e6851088f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41c7e51b18b99d80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509983e7cf781877d00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb514d3eaf19c800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009a361ff113babc59f547883d","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996984137735925408768","buyAmount":"35217578273719","buyAmountMinusFees":"35217578273719","buyAmountDisplay":"35217578273719","buyAmountDisplayMinimum":"34865402490982","buyAmountInEth":"9775697203102816334848","tradeAmountUSD":36038328.057807,"tradeFeeAmountUSD":306325.7884913595,"value":"9996984137735925408690","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306325.7884913595,"available":true}},"fee":"84974365170755365973","feeInEth":"84974365170755365976","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36158391.8373012,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35181551.86263862,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021954c4b411cb61375d00000000000000000000000000000000000000000000000000001fab6f28ec5100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021954c4b411cb61375d000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021954c4b411cb61375d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff3b7708bba707e69f00000000000000000000000000000000000000000000000000000f105f2f13d5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13307cf9ef031bac0000000000000000000000000000000000000000000000000000009869321be2e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e086f391cb6c870400000000000000000000000000000000000000000000000000000058bb6968b5c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6eeb514d3eaf92e0000000000000000000000000000000000000000000000000000000c8ba89e333000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6eeb514d3eaf92e0000000000000000000000000000000000000000000000000000000cc39a62b85000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2dee7fc7000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000002009a176184100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000b199febee472e1362562e49","sellAmount":"9996984137735925408690","sellAmountMinusFees":"9912009772565170042717","sellAmountDisplay":"9996984137735925408690","sellAmountInEth":"9996293200034611531776","buyAmount":"35173422145162","buyAmountMinusFees":"35173422145162","buyAmountDisplay":"35173422145162","buyAmountDisplayMinimum":"34821687923711","buyAmountInEth":"9726237528306199766016","tradeAmountUSD":36158391.8373012,"tradeFeeAmountUSD":307346.3306170602,"value":"9996984137735925408690","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307346.3306170602,"available":true}},"fee":"84974365170755365973","feeInEth":"84968492200294198024","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json index 841625a58d..ab0b00c6fb 100644 --- a/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json +++ b/e2e/mocks/swap_quotes/0x1bc1db39228e488e3a581a212648b601093a32e4d45746cc944a560eb0b19d1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2.2065072391046265,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780614994,"available":true},"totalPrice":{"value":2.1719334787582802,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000001a4700000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000bbcb2da2238027fb411be820","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2281","buyAmountMinusFees":"2281","buyAmountDisplay":"2281","buyAmountDisplayMinimum":"2259","buyAmountInEth":"602339400015608","tradeAmountUSD":2.2065072391046265,"tradeFeeAmountUSD":0.018755311532387072,"value":"611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.018755311532387072,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2.2132996365149484,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304167992,"available":true},"totalPrice":{"value":2.1803255689415524,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000008d7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000166600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000049da3b2e23c9d3f9b9492ca8","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2283","buyAmountMinusFees":"2283","buyAmountDisplay":"2283","buyAmountDisplayMinimum":"2261","buyAmountInEth":"602811104705248","tradeAmountUSD":2.2132996365149484,"tradeFeeAmountUSD":0.0188130469103748,"value":"611927694623603","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":0.0188130469103748,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json index 07450794d3..9c65bcc3d5 100644 --- a/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json +++ b/e2e/mocks/swap_quotes/0x1ed30aebb5e3b51cc4a3fc5dff965df60cac4a76c55ba8396447e7bb39df9564.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":55.837241997143266,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000357b3da7eaba47000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c8e236df19a1f6a80a74cdd512e460a927e8357fae33de9de94a764bebe4c74b049a132d77ba3eb453a138eb907792b16c85eecbc083039dcf2afccb455ab913e869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c7124317c6e5a0a500ed26c7","sellAmount":"15485267468833323","sellAmountMinusFees":"15224236683538167","sellAmountDisplay":"15485267468833323","sellAmountInEth":"15485267468833323","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13875499961173986","tradeAmountUSD":55.837241997143266,"tradeFeeAmountUSD":0.4706163182704126,"value":"15485267468833323","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8299999999726,"available":true},"totalPrice":{"value":0.4706163182704126,"available":true}},"fee":"130515392647578","feeInEth":"130515392647577","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":54.864535286627856,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":50.01155662,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000346372ed78a94a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c43f71c182b33f272323ab39f6f3b38eea53a4021faa0893477158c12b482599f327fa5fb6dd32686500e7be56468191ed05e94593bd84348495673e3628868b3869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000015e795bc3f59c8065af14b45","sellAmount":"15168813133410893","sellAmountMinusFees":"14913116729575509","sellAmountDisplay":"15168813133410893","sellAmountInEth":"15167764746744108","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13826117754714997","tradeAmountUSD":54.864535286627856,"tradeFeeAmountUSD":0.46241799696215746,"value":"15168813133410893","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.929999999998,"available":true},"totalPrice":{"value":0.46241799696215746,"available":true}},"fee":"127848201917692","feeInEth":"127839365738547","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json index 58d2ff0f19..92a38f8965 100644 --- a/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json +++ b/e2e/mocks/swap_quotes/0x1fb59a5f17e389fda1afc899b3382a4a05f57a74a3d9c103bc50e71ace079371.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":55.26042192261606,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000000000000000000000000003573f629a518ae00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c40863057954a25030f674691fe91255c7752750a83bad737ba209b8ed10cd54d7923b6ec50a986e5dc47b60ed9eed888fad2702459e173ef601ee1e2e77d6934869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001ab67489163ae006d6aa66a1","sellAmount":"15325298730837575","sellAmountMinusFees":"15066964493431291","sellAmountDisplay":"15325298730837575","sellAmountInEth":"15325298730837575","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13875499961173986","tradeAmountUSD":55.26042192261606,"tradeFeeAmountUSD":0.46575467163335055,"value":"15325298730837575","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.46575467163335055,"available":true}},"fee":"129167118703142","feeInEth":"129167118703142","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":54.214548105319054,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":50.01155661999999,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000000000000000000000000003448f59fce547200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c83171f041e1be3330ee1f206722f0888a3c5fc4842dcacfb0748e18e88e04c0a6667344d2efed7e20a7f2bc9bb379a17b554466d998a28233c53c2c0e4ccfe19869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000db7a544b3a9849b3d61fb722","sellAmount":"14990432505943148","sellAmountMinusFees":"14737743014023434","sellAmountDisplay":"14990432505943148","sellAmountInEth":"14990432505943148","buyAmount":"50000000","buyAmountMinusFees":"50000000","buyAmountDisplay":"50000000","buyAmountDisplayMinimum":"50000000","buyAmountInEth":"13828296835987290","tradeAmountUSD":54.214548105319054,"tradeFeeAmountUSD":0.45693967168587846,"value":"14990432505943148","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":0.45693967168587846,"available":true}},"fee":"126344745959857","feeInEth":"126344745959857","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json index ad3639bcd7..86a2a2be20 100644 --- a/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json +++ b/e2e/mocks/swap_quotes/0x27f9f7d0c934461c8494e7c59c4a79d1cbd8a9d30c837d40ddf5978a72769aa9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2492.6132131295412,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2462.465802167624,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009920e870637e20000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cacec9a245fa609d1b4e65e9a28b5afff768c2ed44a4110c570dfee0fff59bed36c56fd3fdaa8160f44e33f83226b697f1e3b9d6fa9667c77c7706f70658c98ae00000000000000000000000000000000000000000000000000000000947967d7869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000036f5a146ae9c51f67d5e9dbb","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"691447580842166009","buyAmount":"688940725415956187","buyAmountMinusFees":"683084729249920560","buyAmountDisplay":"683084729249920560","buyAmountDisplayMinimum":"669423034664922149","buyAmountInEth":"683084729249920560","tradeAmountUSD":2492.6132131295412,"tradeFeeAmountUSD":21.110397698865157,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.110397698865157,"available":true}},"fee":"5855996166035627","feeInEth":"5855996166035627","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2491.5601542043523,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":2464.8262380993347,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000098c7a75a949020000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bbbc6da9d244a5e477eb0990056b67329d34e7b3f559db4fcd2f8ec8c3851348b47de7022bb787e937a3ae75dca708cbe23f2a9980a0608950d860eef732fc8aa00000000000000000000000000000000000000000000000000000000947967d7869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001636d25214f8cfbec487af61","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"688921435876235552","buyAmount":"687372116846202703","buyAmountMinusFees":"681529453853009981","buyAmountDisplay":"681529453853009981","buyAmountDisplayMinimum":"667898864775949781","buyAmountInEth":"681529453853009981","tradeAmountUSD":2491.5601542043523,"tradeFeeAmountUSD":21.130633407810727,"value":"0","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.6099999999997,"available":true},"totalPrice":{"value":21.130633407810727,"available":true}},"fee":"5842662993192722","feeInEth":"5842662993192721","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json index 621189cbdf..ea3175fcbe 100644 --- a/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json +++ b/e2e/mocks/swap_quotes/0x2961eccd041e701904eb158ffddff452497dae4a18eb4ff2202f85e62d381733.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":45.48374675655282,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32ab0f4b98fe0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c3aebec49b395140dfd3906374b665d8049ff9f54f43d7725410bf5fb8501ac7a70a2dbdd333dda230be7225a6e8d01c5434b3a5328fc96dc2b44fe8589f77f120000000000000000000000000000000000000000000000000000000002faf080869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009135417557d7adb9ba3cab90","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13875499961173986","buyAmount":"12722084229388542","buyAmountMinusFees":"12613946513438740","buyAmountDisplay":"12613946513438740","buyAmountDisplayMinimum":"12361667583169966","buyAmountInEth":"12613946513438740","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.38992622030327456,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.38992622030327456,"available":true}},"fee":"108137715949802","feeInEth":"108137715949802","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":50.01155661999999,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":46.35883489399565,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002ded172f88da4e0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f851f0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c41a34637146945150387bd36a43f35ca1d76c799235e369fc916750044bf269a454fb8b3fe864dd3b567344d0a05388f58df932faa855476432433c51737fd000000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f730c28719c9195f0cbcad71","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13827073407558343","buyAmount":"12927057789508174","buyAmountMinusFees":"12817177798297355","buyAmountDisplay":"12817177798297355","buyAmountDisplayMinimum":"12560834242331408","buyAmountInEth":"12817177798297355","tradeAmountUSD":50.01155661999999,"tradeFeeAmountUSD":0.39742823661014753,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":0.39742823661014753,"available":true}},"fee":"109879991210819","feeInEth":"109879991210819","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json index 0d7ae61a4f..338f65dfd6 100644 --- a/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json +++ b/e2e/mocks/swap_quotes/0x29c0718ce2439f9c7ea0da4f71e0aed812f07aa0e08f503d8fb9ffd6c213fa69.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36047420.57320273,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240601.78186689,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb5bba90e05000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbaccea9944df0ea00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da6cb629000000000000000000000000000000000000000000000036453b55d95ae9174f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c0f483056f09b63b5d118ea393cdc5f047e14c6ce7de471ea678edfe27c4ffc122e682654579c8dcb9b5a265616cd7c8989fccefffda4ad1aaa5cf16f816ac56000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5ebc1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41b385257ddf7a40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000050998335fe5e74e95f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65137c3b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a9125d6b042cc8fa9906e16a","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35217573697169","buyAmountMinusFees":"35217573697169","buyAmountDisplay":"35217573697169","buyAmountDisplayMinimum":"34865397960198","buyAmountInEth":"9773228849354209511424","tradeAmountUSD":36047420.57320273,"tradeFeeAmountUSD":306403.0748722232,"value":"9996982823151043603690","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306403.0748722232,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36155188.0480363,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35181547.302251816,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001fab6ee40cc900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff3b74d5a580762ff800000000000000000000000000000000000000000000000000000f105f0e4770000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a133066bfcbcec91de00000000000000000000000000000000000000000000000000000986930d11fe000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e086e69a8c3899e1a0000000000000000000000000000000000000000000000000000058bb68a7951000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6eeb33aa6513552b000000000000000000000000000000000000000000000000000000c8ba88333b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6eeb33aa6513552b000000000000000000000000000000000000000000000000000000cc39a46c19000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2dee654a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000002009a1306bdf00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f01858d9ec8d6583a37a7857","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35173417585829","buyAmountMinusFees":"35173417585829","buyAmountDisplay":"35173417585829","buyAmountDisplayMinimum":"34821683409971","buyAmountInEth":"9727769182259577804800","tradeAmountUSD":36155188.0480363,"tradeFeeAmountUSD":307319.0984083085,"value":"9996982823151043603690","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307319.0984083085,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json index 4f77ab74b2..b3fde9122f 100644 --- a/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json +++ b/e2e/mocks/swap_quotes/0x2bd41f09654c408ae7cba0119364831ae1ba465af1770ce5f8b19319c3cd0eae.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":45.4722383847427,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32a92057fe200000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c0230e924fc20cbac6543ae935fd925e775a803b7ef295dc329cb6b141118a6f43dc6872dedb15ccbd4ed17c0ee321ad84ed7019e8ac3d214217871257d5f6eee0000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a00551315099dbeb40335e8c","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13879002592290534","buyAmount":"12722075925478944","buyAmountMinusFees":"12613938280112373","buyAmountDisplay":"12613938280112373","buyAmountDisplayMinimum":"12487798897311250","buyAmountInEth":"12613938280112373","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.3898275605348592,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":0.3898275605348592,"available":true}},"fee":"108137645366571","feeInEth":"108137645366571","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":50.01155661999999,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.6099999999997,"available":true},"totalPrice":{"value":46.45888248494853,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e0781975aad5a0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cc88bb780e461fc36699a95c0bc00dca3562da00ecb04edd6bfc2661d5f82d1092179426438b50f0a44b59081c691f906b6087d2c0f9a2423ecbbc9c45b27f2f80000000000000000000000000000000000000000000000000000000002faf080869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000091515827fd9a2da69f98e6a2","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13828296835987290","buyAmount":"12956102100168026","buyAmountMinusFees":"12845975232316598","buyAmountDisplay":"12845975232316598","buyAmountDisplayMinimum":"12717515479993433","buyAmountInEth":"12845975232316597","tradeAmountUSD":50.01155661999999,"tradeFeeAmountUSD":0.3982859315401494,"value":"0","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.6099999999674,"available":true},"totalPrice":{"value":0.3982859315401494,"available":true}},"fee":"110126867851428","feeInEth":"110126867851427","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json index 2e7287d223..1e163405d0 100644 --- a/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json +++ b/e2e/mocks/swap_quotes/0x2d2f5401d0b95ea6b0b541367c2ce1e42ea319d7052e1d76de44585c3e6f8d2a.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36047420.57320273,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35240612.83403997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f63bcfeeeee000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbaccea9944df0ea00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346db16edf2000000000000000000000000000000000000000000000036453b55d95ae9174f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b8e1c3daee4ec583b12363392027f132a867582091cefdb49c06e2d43eefc6cf173b7bf855b4376aba9f753b22c9143f1d212f26d46fc33189cf4033d65126c9e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1cc89a1fb1b5ebc1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c41b385257ddf7a40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000050998335fe5e74e95f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb33aa65137c3b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003fc096bb84e282445fbd03d1","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35217584742120","buyAmountMinusFees":"35217584742120","buyAmountDisplay":"35217584742120","buyAmountDisplayMinimum":"34513233047278","buyAmountInEth":"9773231914438552944640","tradeAmountUSD":36047420.57320273,"tradeFeeAmountUSD":306403.0748722232,"value":"9996982823151043603690","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306403.0748722232,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36155188.0480363,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35182075.81029592,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021954c0129fcb130a4300000000000000000000000000000000000000000000000000001f598a37146a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021954c0129fcb130a43000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff3b74d5a580762ff800000000000000000000000000000000000000000000000000000ee96b066093000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a133066bfcbcec91de0000000000000000000000000000000000000000000000000000096df13e11cf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e086e69a8c3899e1a0000000000000000000000000000000000000000000000000000057d5f5d1d96000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6eeb33aa6513552b000000000000000000000000000000000000000000000000000000c6b379e523000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6eeb33aa6513552b000000000000000000000000000000000000000000000000000000ca298b7d1b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0e6fddcd000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000002009a12ec09600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e1c9543312aa1a7a3dde1492","sellAmount":"9996982823151043603690","sellAmountMinusFees":"9912008469154259733059","sellAmountDisplay":"9996982823151043603690","sellAmountInEth":"9996982823151043603456","buyAmount":"35173945971746","buyAmountMinusFees":"35173945971746","buyAmountDisplay":"35173945971746","buyAmountDisplayMinimum":"34470467052312","buyAmountInEth":"9727915315805662430208","tradeAmountUSD":36155188.0480363,"tradeFeeAmountUSD":307319.0984083085,"value":"9996982823151043603690","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307319.0984083085,"available":true}},"fee":"84974353996783870631","feeInEth":"84974353996783870632","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json index cf8387d982..13ff533659 100644 --- a/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json +++ b/e2e/mocks/swap_quotes/0x300272a1ce50aab20933c3af9d04fb2522ae9fc86ba795f24d2ad83dfe167880.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2510.2421708287097,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2479.8842210670855,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a3632c0e0b71000000000000000000000000000000000000000000000000000000000095ac812f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf0203a186f0bffad74dd6ebcd9d95177a7f411c8530ff711eda0e5ddba7410600e58a290dfb0485acc4ab6e8c33fefa1b25fcbd22635f3eb3fb6f7b16908d05400000000000000000000000000000000000000000000000000000000958639f5869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000660717f48cc7744462d5578f","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"696337830195596364","buyAmount":"693813994373287793","buyAmountMinusFees":"687916575421114847","buyAmountDisplay":"687916575421114847","buyAmountDisplayMinimum":"681037409666903700","buyAmountInEth":"687916575421114847","tradeAmountUSD":2510.2421708287097,"tradeFeeAmountUSD":21.2597235290673,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.2597235290673,"available":true}},"fee":"5897418952172946","feeInEth":"5897418952172946","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2509.181664165079,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2481.426475809758,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099cb94ce804fcd80000000000000000000000000000000000000000000000000000000095ac812f000000000000000000000000ff8ba4d1fc3762f6154cc942ccf30049a2a0cec60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f857a0000000000000000000000000000000000000000674f85210000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b645b507538080ff36e0ecea588dc454b0a6d1169bd55ed07f8ef7b7f025859a63c5e78bda03bffc471bce851d981a8bf58c0c0c7890fbbea682ad1dafdf65dbf00000000000000000000000000000000000000000000000000000000958639f5869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000723e63eb2515f6b84d61c68","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"693684490173305983","buyAmount":"691940242384370237","buyAmountMinusFees":"686058750324103090","buyAmountDisplay":"686058750324103090","buyAmountDisplayMinimum":"679198162820862060","buyAmountInEth":"686011333638292226","tradeAmountUSD":2509.181664165079,"tradeFeeAmountUSD":21.272945077542047,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.9299999999994,"available":true},"totalPrice":{"value":21.272945077542047,"available":true}},"fee":"5881492060267147","feeInEth":"5881085563212792","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json index 6c7821c445..4cc7f83f32 100644 --- a/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json +++ b/e2e/mocks/swap_quotes/0x3037f17babe821921fd1b13745817601fb8a2e3ac6ee669a4648b026a9c298b8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36045576.72561216,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35095204.00859081,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001f941e75574300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489b721057d41e3900000000000000000000000000000000000000000000000000000f04a6c0abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b54b3d46d585400000000000000000000000000000000000000000000000000000009801498a452000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d46be3bea74291800000000000000000000000000000000000000000000000000000587f17f602f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000c7ff90a3bf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000cb9703166a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c24f7131a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001ff20b77e2c500000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a42e9fc86168a0f4e3fdbad2","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"35072270934536","buyAmountMinusFees":"35072270934536","buyAmountDisplay":"35072270934536","buyAmountDisplayMinimum":"34721548225191","buyAmountInEth":"9735362784358822394880","tradeAmountUSD":36045576.72561216,"tradeFeeAmountUSD":306387.4021677034,"value":"9998994908517291596490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306387.4021677034,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165664.65446345,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35188527.34983416,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001fad0aac1a9700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489b721057d41e3900000000000000000000000000000000000000000000000000000f1123270693000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b54b3d46d585400000000000000000000000000000000000000000000000000000009870ea62a63000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d46be3bea7429180000000000000000000000000000000000000000000000000000058bfeb553f2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000c8c49edc5d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000cc44177b2c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e8cc1dd000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b41c13ec200000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b140cac23aaa1d126fc344b2","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"35180396020469","buyAmountMinusFees":"35180396020469","buyAmountDisplay":"35180396020469","buyAmountDisplayMinimum":"34828592060265","buyAmountInEth":"9728838365639965688832","tradeAmountUSD":36165664.65446345,"tradeFeeAmountUSD":307408.1495629393,"value":"9998994908517291596490","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.1495629393,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json index ae82efa806..87e30a85a1 100644 --- a/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json +++ b/e2e/mocks/swap_quotes/0x3274c06f3c2bb75f5c50979577c7fe9c4ce57b31bf04a454165e0ad6c70ef719.json @@ -1 +1 @@ -{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3666.535076566405,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000e027ea1d43cc80000000000000000000000000000000000000000000000000000000000003a3b9500000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ce5dc6cb2e7c453c8792b8ad29036495776c5a0ca73e16a88d4d26b1acebf216b075eeee5a969560b97e1985564c1035a8ac9307a8c29ee7f8c2a498d1ab3e23500000000000000000000000000000000000000000000000000000000003ac19e869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000029c9fa7aea2f7b5a9725e25d","sellAmount":"3850655","sellAmountMinusFees":"3850655","sellAmountDisplay":"3850655","sellAmountInEth":"1016835257504209781","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3666.535076566405,"tradeFeeAmountUSD":30.649555000000003,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","sellTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":3671.309168122141,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x803ba26d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000003aa8640000000000000000000000000000000000000000000000000dfee9681ffb40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000092a412803130c690b96d0f4","sellAmount":"3844196","sellAmountMinusFees":"3844196","sellAmountDisplay":"3844196","sellAmountInEth":"1014964466275424605","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"999930885385852942","tradeAmountUSD":3671.309168122141,"tradeFeeAmountUSD":30.743904999999998,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json index f6026b5017..84b4c03d66 100644 --- a/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json +++ b/e2e/mocks/swap_quotes/0x3620a34e8431a70e5ca1bbc772d45da2605f262260b318098555a15ff38648d1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2512.2995342194413,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2481.8995997660445,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a56482531fb4000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bfee2545c9001e3f099baa77f5a11b4a8e11e03c7d63143d6968a3b1bc219ba586e9d4855f9aa1177ad737d38f97f03e67d15a755fc1bf17dbf9e5e7fbea240460000000000000000000000000000000000000000000000000000000095a59948869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000047427a4ef81eaef2878f0611","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"696908540056212336","buyAmount":"694377850513594971","buyAmountMinusFees":"688475638784229414","buyAmountDisplay":"688475638784229414","buyAmountDisplayMinimum":"681590882396387121","buyAmountInEth":"688475638784229414","tradeAmountUSD":2512.2995342194413,"tradeFeeAmountUSD":21.277001107424486,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.277001107424486,"available":true}},"fee":"5902211729365557","feeInEth":"5902211729365557","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2511.238158377685,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2484.4178872175,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099fb0b66e23e2000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f851f0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b5e2e9552ac31a848af1543af38e7b467a1d522c9b122ad285ebd704b2c6c8490137addec149aaa43ae559003dad5e8c6e4d0a7c63dac61b375c951216d3eedeb0000000000000000000000000000000000000000000000000000000095a59948869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000009d55bb4298d523cdb782e237","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"694253025389304611","buyAmount":"692774390788412195","buyAmountMinusFees":"686885808466710692","buyAmountDisplay":"686885808466710692","buyAmountDisplayMinimum":"680016950382043586","buyAmountInEth":"686838334619095425","tradeAmountUSD":2511.238158377685,"tradeFeeAmountUSD":21.298590056831816,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.9299999999994,"available":true},"totalPrice":{"value":21.298590056831816,"available":true}},"fee":"5888582321701503","feeInEth":"5888175334606465","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json index ffbb20f247..9d2683e6c2 100644 --- a/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json +++ b/e2e/mocks/swap_quotes/0x3a229a32abd10719a1759cdd5f1ec8a11403ae9a19beb73ede4039ad3b54f900.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583.00000000006,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":356050.42930373247,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000001610939900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000007c00000000000000000000000000000000000000000000000000000000000000880000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004800000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000004b3fc1db87efba00000000000000000000000000000000000000000000000000000000000135602f6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000abff71f5c8ff60000000000000000000000000000000000000000000000000000000000002c30cf1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000087c4f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000165245a000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007c133c782deeb8e9742355da","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"100000000000000000000","buyAmount":"373929974","buyAmountMinusFees":"373929974","buyAmountDisplay":"373929974","buyAmountDisplayMinimum":"370190675","buyAmountInEth":"98742988245073232640","tradeAmountUSD":360583.00000000006,"tradeFeeAmountUSD":3064.9555000000005,"value":"100000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064.9555000000005,"available":true}},"fee":"850000000000000000","feeInEth":"850000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":361693,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":356311.6036591894,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000001603e65e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000007c00000000000000000000000000000000000000000000000000000000000000880000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000055ffb8fae47fb000000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000004800000000000000000000000000000000000000000000000055ffb8fae47fb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000035bfd39ccecfce000000000000000000000000000000000000000000000000000000000000dc7c2e5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000203fe55e15afe20000000000000000000000000000000000000000000000000000000000008449ae8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000008776f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000016456ece00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006bf040d73f8de4f2710442dd","sellAmount":"100000000000000000000","sellAmountMinusFees":"99150000000000000000","sellAmountDisplay":"100000000000000000000","sellAmountInEth":"99993088538585294216","buyAmount":"373090791","buyAmountMinusFees":"373090791","buyAmountDisplay":"373090791","buyAmountDisplayMinimum":"369359884","buyAmountInEth":"98505356011917964112","tradeAmountUSD":361693,"tradeFeeAmountUSD":3074.3905,"value":"100000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3074.3905,"available":true}},"fee":"850000000000000000","feeInEth":"849941252577975000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json index 89c81a518a..286b499b7b 100644 --- a/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json +++ b/e2e/mocks/swap_quotes/0x3dd17e87fac93d373d4c836c691fdc359c4f882ae7e0bae82f5afec75992f8a8.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893846,"available":true},"totalPrice":{"value":39.985893846,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":40.42031178287507,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000002498b3c08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"11089234336061322","buyAmount":"40393899","buyAmountMinusFees":"40393899","buyAmountDisplay":"40393899","buyAmountDisplayMinimum":"38374205","buyAmountInEth":"11209710880123318","tradeAmountUSD":39.985893846,"tradeFeeAmountUSD":0.33988009769099914,"value":"0","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893845999904,"available":true},"totalPrice":{"value":0.33988009769099914,"available":true}},"fee":"8500000000000000","feeInEth":"94258491856521","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","sellTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.926052456,"available":true},"totalPrice":{"value":39.926052456,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":40.403235338821226,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x83800a8e000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000002498b3c08000000000000003b6d0340b169c3e8dda6456a18aefa49c58f7f53e120a9b4d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"11038657772199075","buyAmount":"40393899","buyAmountMinusFees":"40393899","buyAmountDisplay":"40393899","buyAmountDisplayMinimum":"38374205","buyAmountInEth":"11170588133809951","tradeAmountUSD":39.926052456,"tradeFeeAmountUSD":0.3393714458759995,"value":"0","gasPrice":"30780621028","source":"1inch","protocols":[{"name":"UNISWAP_V2","part":100}],"feeTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.92605245599994,"available":true},"totalPrice":{"value":0.3393714458759995,"available":true}},"fee":"8500000000000000","feeInEth":"93828591063692","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json index 762b6e3326..ead4fdab65 100644 --- a/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json +++ b/e2e/mocks/swap_quotes/0x3ddced25cdcbf69773922dfadbf6cc07c56055917e72180d8fc5edf84aa32294.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":3604920.0000000005,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3561830.442673861,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000dcbba737000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000002f07d92934f5d44000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000df287dbc000000000000000000000000000000000000000000000035cd9620cdfe9ac00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cbc5eca3f7ca68c2c6e7acb307e8feb39d22cfdeb27ea059270e878248c5f4c195b2b7370d7a63e454bd7c38425965c31917375b730b59bffbb6887c387ea098e0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000006b7fa7399d9f9c0000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c216b8dc9b7689af9edecce7","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"1000000000000000000000","buyAmount":"3740692484","buyAmountMinusFees":"3740692484","buyAmountDisplay":"3740692484","buyAmountDisplayMinimum":"3703285560","buyAmountInEth":"988047014267684299904","tradeAmountUSD":3604920.0000000005,"tradeFeeAmountUSD":30641.820000000003,"value":"1000000000000000000000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":87.5},{"name":"Uniswap_V3","part":12.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":30641.820000000003,"available":true}},"fee":"8500000000000000000","feeInEth":"8500000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616930,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":3562421.7619101037,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000dc1cdd1c000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000abff71f5c8ff60000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000002cc42f4f00000000000000000000000000000000000000000000000acdb9a35bbec2c00000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855d0000000000000000000000000000000000000000674f85210000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b65902ede856f273ed8b9ad53d69bba9ba50bf3d025247cf872b4439ed08aec4473a3f78c6b76b2a8e74aecc7f6958060c0e5f97c5e98a3e9fd9f3bb6d8d685f20000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000012cff076e1fbee80000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000abff71f5c8ff6000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000abff71f5c8ff600000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000002affdc7d723fd800000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002f2b2419083bcd33b6743f47","sellAmount":"1000000000000000000000","sellAmountMinusFees":"991500000000000000000","sellAmountDisplay":"1000000000000000000000","sellAmountInEth":"999930885385852942144","buyAmount":"3730180941","buyAmountMinusFees":"3730180941","buyAmountDisplay":"3730180941","buyAmountDisplayMinimum":"3692879132","buyAmountInEth":"984861622012203883520","tradeAmountUSD":3616930,"tradeFeeAmountUSD":30743.905,"value":"1000000000000000000000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":20},{"name":"Uniswap_V3","part":80}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30743.905,"available":true}},"fee":"8500000000000000000","feeInEth":"8499412525779750008","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json index a7db166022..7912ba7ad0 100644 --- a/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json +++ b/e2e/mocks/swap_quotes/0x47d7e1546c10082d92a01db09806d6623015f6eb22b64daddba23ae8dfd4a8bd.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051045.08401804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35268806.9098796,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6a2acebe01000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0ee23dc3e23a4600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f21b278e00000000000000000000000000000000000000000000003646a0f3dd1a52a1ad00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b76452749884b85d912212ad033175586396347266cb16eb33279bcd75e54f382490b6eac3adf7ce0fb7512360435178e7f507fa869de2a63a69b79b807d72905000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6f43b88f70f87b0a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000101bbf4d898000000000000000000000000000000000000000000000010a8b0224b779aa126000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001cbcccf1b633936781800dd85b62c26cd95cd2df819e57a5e5ccfe20337d85d0bb79b00b80bb0188921ae76a7886ea26fc6499a3c5966e8a4e52a3b607c8bbc7b300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000e4637f41868081160200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7e8ee29daab74a90000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b96535ca5d727fa0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f87b0a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000091ffc6a30b0321004d54bf2b","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"35245760394450","buyAmountMinusFees":"35245760394450","buyAmountDisplay":"35245760394450","buyAmountDisplayMinimum":"34540845186561","buyAmountInEth":"9781050939694772279296","tradeAmountUSD":36051045.08401804,"tradeFeeAmountUSD":306433.8832141533,"value":"9997988003876508667090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":12.5},{"name":"Uniswap_V3","part":87.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.8832141533,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36162022.750861056,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35185562.90187652,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001f5a55da153a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4206b2a5626edda100000000000000000000000000000000000000000000000000000ee9cbfff4cb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a1372ca6b94ba927a20000000000000000000000000000000000000000000000000000096e2e5d6e1b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0ada0bec16cd571f0000000000000000000000000000000000000000000000000000057d830d69bf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f43b88f70f8c34e000000000000000000000000000000000000000000000000000000c6b87716f1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f43b88f70f8c34e000000000000000000000000000000000000000000000000000000ca2eb65fd0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0ebe2e2e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200a714990d200000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b12b7b2412ac187407241a40","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997296996793373829120","buyAmount":"35177432257533","buyAmountMinusFees":"35177432257533","buyAmountDisplay":"35177432257533","buyAmountDisplayMinimum":"34473883612383","buyAmountInEth":"9727346414023221474304","tradeAmountUSD":36162022.750861056,"tradeFeeAmountUSD":307377.193382319,"value":"9997988003876508667090","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307377.193382319,"available":true}},"fee":"84982898032950323670","feeInEth":"84977024472743677552","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json index 2ed25fd664..64ca5214c7 100644 --- a/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json +++ b/e2e/mocks/swap_quotes/0x48ba6022c85825bf6e47a2892c951b698080dedc9238880bc9079f7eacfd2e5c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054675.81097891,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247611.13875372,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6555847de6000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be719146cf1dbe2800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003470594a10900000000000000000000000000000000000000000000003648072ee3ad59953a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf0e48d959fd0007531750c295846efe7f6d684a46fa1360a97aefa30ce0fbf14553459ca1e8fd1c1c6f6b30d6eabb63266d56c1252cf944aafdf79677896613b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d8ff0dbea40821a400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb84f82b99847170000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509daa59ea36aa534c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c6451b3c7831200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001daefcb13f040e34ac635cc8","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291597824","buyAmount":"35224578473769","buyAmountMinusFees":"35224578473769","buyAmountDisplay":"35224578473769","buyAmountDisplayMinimum":"34520086904294","buyAmountInEth":"9775172744903036160000","tradeAmountUSD":36054675.81097891,"tradeFeeAmountUSD":306464.74439332075,"value":"9998994908517291596490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":90},{"name":"0x","part":10}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.74439332075,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36162464.976092726,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35189055.9627345,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219706facc4172ffd4000000000000000000000000000000000000000000000000000001f5b21d6533600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219706facc4172ffd40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489b721057d41e3900000000000000000000000000000000000000000000000000000eea2d240bae000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b54b3d46d5854000000000000000000000000000000000000000000000000000000096e6b978ecf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d46be3bea7429180000000000000000000000000000000000000000000000000000057da6cd5adb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000c6bd7677e0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c6451b3c7b0f9000000000000000000000000000000000000000000000000000000ca33e386db000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f0ca0e0000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b41bf937900000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000206436c3caaa0e6cdc6528ff","sellAmount":"9998994908517291596490","sellAmountMinusFees":"9914003451794894617920","sellAmountDisplay":"9998994908517291596490","sellAmountInEth":"9998994908517291596800","buyAmount":"35180924511218","buyAmountMinusFees":"35180924511218","buyAmountDisplay":"35180924511218","buyAmountDisplayMinimum":"34477306020994","buyAmountInEth":"9729845342111671832576","tradeAmountUSD":36162464.976092726,"tradeFeeAmountUSD":307380.95229678816,"value":"9998994908517291596490","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307380.95229678816,"available":true}},"fee":"84991456722396978570","feeInEth":"84991456722396978568","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json index 319538ae0c..71a3246f44 100644 --- a/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json +++ b/e2e/mocks/swap_quotes/0x4ed8ad09b62a904b811900b4121d1ab0946ee5aa2177f20baab2c5509df04be9.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.985893846,"available":true},"totalPrice":{"value":3552.3540547163284,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000493428a668814b13d20800000000000000000000092560c178ce069cc014138ed3c2f5221ba71f58ad6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"88840181199843022212","buyAmountMinusFees":"88840181199843022212","buyAmountDisplay":"88840181199843022212","buyAmountDisplayMinimum":"84398172139850871102","buyAmountInEth":"985169587783208835","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","buyTokenAsset":{"assetCode":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668486691/assets/ethereum/0xc18360217d8f7ab5e7c516566761ea12ce7f9d72.png","name":"Ethereum Name Service","network":"mainnet","symbol":"ENS","networks":{"1":{"address":"0xc18360217d8f7ab5e7c516566761ea12ce7f9d72","decimals":18},"10":{"address":"0x65559aa14915a70190438ef90104769e5e890a00","decimals":18},"137":{"address":"0xbd7a5cf51d22930b8b3df6d834f9bcef90ee7c4f","decimals":18},"42161":{"address":"0xfea31d704deb0975da8e77bf13e04239e70d7c28","decimals":18}},"chainId":1,"price":{"value":39.926052456,"available":true},"totalPrice":{"value":3564.823788670374,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0x07ed23790000000000000000000000003451b6b219478037a1ac572706627fc2bda1e812000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000003451b6b219478037a1ac572706627fc2bda1e81200000000000000000000000000000000009726632680fb29d3f7a9734e3010e20000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000499220d99f5b796660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a758683617c280243daf46daf884a89ddae69a006283012a49468f176b70819937633d000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000004d6c7345af3f165b00000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000024c5100674f854d0000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041617bb778fc900e647caa692d105f7b37cec12d024537a5751ae10889441f0197523be162ee6f9bf6024d81234c65a21f5534fc1753363a5ca5d7e0d066830d861b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000000000000000000000d6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"89285656091318894592","buyAmountMinusFees":"89285656091318894592","buyAmountDisplay":"89285656091318894592","buyAmountDisplayMinimum":"84821373286752949863","buyAmountInEth":"985593801558331054","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30780621028","source":"1inch","protocols":[{"name":"PMM15","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json index 301698f7c9..3efe4f5eee 100644 --- a/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json +++ b/e2e/mocks/swap_quotes/0x5064d52c40dc7b0019592f30761fd6c870d4d65d34a79ad469fb83607f780b71.json @@ -1 +1 @@ -{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":360.4920000000001,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360.583,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100025243278630312","tradeAmountUSD":360.4920000000001,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","sellTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":361.661,"available":true}},"buyTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":361.661,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"100000000000000000","sellAmountMinusFees":"100000000000000000","sellAmountDisplay":"100000000000000000","sellAmountInEth":"100000000000000000","buyAmount":"100000000000000000","buyAmountMinusFees":"100000000000000000","buyAmountDisplay":"100000000000000000","buyAmountDisplayMinimum":"100000000000000000","buyAmountInEth":"100000000000000000","tradeAmountUSD":361.661,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"40000","swapType":"unwrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json index 8406d83781..9c9dfb207e 100644 --- a/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json +++ b/e2e/mocks/swap_quotes/0x579e133ef4b6a076e9241f687323f12440be839615a3cebaf7f65bcc5f707d29.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.847422205,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.545814715,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb82720700a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd302f0ecfeb9f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b19ff03000000000000000000000000000000000000000000000036496c295edae2272c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b44a18b437061645b0ea20a05e3a44b4916d0e87fd58c08f76bb929b5e08a8be5716e43ab7344762425ee5ae4bb62b9b03b2e8ad2bc2b894f6101fd7c88f88cba00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a78be3f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf8448168bbd42bc0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8469637b09b50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3f876f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007d2dc9c626c731aa5b4c5964","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35228071596745","buyAmountMinusFees":"35228071596745","buyAmountDisplay":"35228071596745","buyAmountDisplayMinimum":"34875790880778","buyAmountInEth":"9776142121457393438720","tradeAmountUSD":36058293.847422205,"tradeFeeAmountUSD":306495.49770308874,"value":"9999998293713846870000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.49770308874,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36166093.829028435,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192008.137920156,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001fadd804a61400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a4df865bbcc0500000000000000000000000000000000000000000000000000000f1184f0feef000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f7908d2c6f7b94a000000000000000000000000000000000000000000000000000009874c48d1d0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb145259ebc719b0000000000000000000000000000000000000000000000000000058c22b25112000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c0bc3b3faa97000000000000000000000000000000000000000000000000000000c8c9a6c540000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c0bc3b3faa97000000000000000000000000000000000000000000000000000000cc494d7984000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbba83000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117ae2a400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000cc456453fbcb91ac61cf8d35","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35183876004218","buyAmountMinusFees":"35183876004218","buyAmountDisplay":"35183876004218","buyAmountDisplayMinimum":"34832037244176","buyAmountInEth":"9730661624537938604032","tradeAmountUSD":36166093.829028435,"tradeFeeAmountUSD":307411.7975467417,"value":"9999998293713846870000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307411.7975467417,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json index bd5f1377b6..6794adf233 100644 --- a/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json +++ b/e2e/mocks/swap_quotes/0x5cea02b4fbbcb44fc89caaab831ac467b41b9c8c9bd4782a58703c159c712eeb.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.96519291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251117.71362836,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb827c907d9000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd305d9295a41c700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc4713e000000000000000000000000000000000000000000000036496c2c4e887cfe8c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b89d591e1c92068c4983391439f4879c411fcb3aa2b3c17d3b223c8035e523eed4281950b75a443afb29b3a2b553a22c1b40c6ecc004633855c64eaea660e3ffb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a17ae9f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84501531ba7ed30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc88c5be08e94b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56b78200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000868c5e88654236ce98fec799","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35228082757261","buyAmountMinusFees":"35228082757261","buyAmountDisplay":"35228082757261","buyAmountDisplayMinimum":"34875801929689","buyAmountInEth":"9778613038189018160128","tradeAmountUSD":36049193.96519291,"tradeFeeAmountUSD":306418.1487041397,"value":"9999998325952559545000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1487041397,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169293.94508759,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192008.249758996,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001fadd806567900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a5bc7846d27c500000000000000000000000000000000000000000000000000000f1184f1ccd8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f79118b7c139f85000000000000000000000000000000000000000000000000000009874c495396000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb14a3c085e1c200000000000000000000000000000000000000000000000000000058c22b29cdc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c1764a56964e000000000000000000000000000000000000000000000000000000c8c9a6cfd9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c1764a56964e000000000000000000000000000000000000000000000000000000cc494d847d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbbb29000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117c980f00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000826d21e43208dbf9e39e050a","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35183876116031","buyAmountMinusFees":"35183876116031","buyAmountDisplay":"35183876116031","buyAmountDisplayMinimum":"34832037354871","buyAmountInEth":"9729800756375987529728","tradeAmountUSD":36169293.94508759,"tradeFeeAmountUSD":307438.99853324454,"value":"9999998325952559545000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.99853324454,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json index 9d31fd3b84..be551e1215 100644 --- a/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json +++ b/e2e/mocks/swap_quotes/0x660effcc58a9f5a08d3173d6af49d59c8b15516f425a55b7b6674bb71e2d4231.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.847422205,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251079.117342494,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f661ff56a48000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd302f0ecfeb9f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034719738fd4000000000000000000000000000000000000000000000036496c295edae2272c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b95c4db5c3efa93d3f0a02225ce8018919c80e72f7c0a840e3bea3532b23f8a35368ac49e2dc6076dffad4ef55eab01c3a114a028d4df32e0be33fa157eb528da00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df358d3c2a78be3f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf8448168bbd42bc0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8469637b09b50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c0bc3b3f876f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003953c12dea233ec713b8c98b","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35228044186196","buyAmountMinusFees":"35228044186196","buyAmountDisplay":"35228044186196","buyAmountDisplayMinimum":"34523483302473","buyAmountInEth":"9776134514755961734144","tradeAmountUSD":36058293.847422205,"tradeFeeAmountUSD":306495.49770308874,"value":"9999998293713846870000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.49770308874,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169293.82848242,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192536.80311058,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e1d6941ef4c1500000000000000000000000000000000000000000000000000001f5bed1bdfe100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e1d6941ef4c15000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a4df865bbcc0500000000000000000000000000000000000000000000000000000eea8df125bb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f7908d2c6f7b94a0000000000000000000000000000000000000000000000000000096ea89ad4dd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb145259ebc719b0000000000000000000000000000000000000000000000000000057dca6d487e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c0bc3b3faa97000000000000000000000000000000000000000000000000000000c6c2715e69000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c0bc3b3faa97000000000000000000000000000000000000000000000000000000ca390c0baf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f5acd50000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117ae2a400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d73ef06d0cdee506c4cea970","sellAmount":"9999998293713846870000","sellAmountMinusFees":"9914998308217279171605","sellAmountDisplay":"9999998293713846870000","sellAmountInEth":"9999998293713846870016","buyAmount":"35184404547245","buyAmountMinusFees":"35184404547245","buyAmountDisplay":"35184404547245","buyAmountDisplayMinimum":"34480716456301","buyAmountInEth":"9729946889519723993088","tradeAmountUSD":36169293.82848242,"tradeFeeAmountUSD":307438.9975421006,"value":"9999998293713846870000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.9975421006,"available":true}},"fee":"84999985496567698395","feeInEth":"84999985496567698392","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json index bd39ac3e6f..ff7a238874 100644 --- a/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json +++ b/e2e/mocks/swap_quotes/0x69967b2e40081c0d08624a40f0a6c7b633177f5cff199b77734c7b1785dc8c25.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":360583002.20650727,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":115180116.44562875,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000067a389ebcd4300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000166000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000162000000000000000000000000000000000000000000000000000000000000014600000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001620000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000b200000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000f800000000000000000000000000000000000000000000000000000000000001040000000000000000000000000000000000000000000000000000000000000118000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000003263d6682e3d916ae70000000000000000000000000000000000000000000000000000028f7c9b368c5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000009f917c49e7c2efaf6c100000000000000000000000000000000000000000000000000001a59e43f4cfa000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec83b618000000000000000000000000000000000000000000000000000012be1ac77234000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000007793fc00274000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002537573686953776170000000000000000000000000000000000000000000000000000000000001931eb34171ec83b6180000000000000000000000000000000000000000000000000000049c5b5c6905000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000019bc2428bba000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000e2eb0f5f19000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb1400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000d28aca74e7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f46b175474e89094c44da98b954eedeac495271d0f0001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000c68a01eba3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f30000000000000000000000000000000000000000000000000000008def020612000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000003556e69737761700000000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f3000000000000000000000000000000000000000000000000000000638d68200c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000000000000c43727970746f436f6d000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000058e14f2245000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ceb90e4c17d626be0facd78b79c9c87d7ca181b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a42ae2f300000000000000000000000000000000000000000000000000000043e1a8256a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec70001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000027db6a7f58000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000068d7cb763b3d00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f84c19e87eff5d7b48bf9798","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"115104851627694","buyAmountMinusFees":"115104851627694","buyAmountDisplay":"115104851627694","buyAmountDisplayMinimum":"113953803111418","buyAmountInEth":"31942747285820111990784","tradeAmountUSD":360583002.20650727,"tradeFeeAmountUSD":3064955.518755312,"value":"100000000611927694623603","gasPrice":"39188637037","source":"0x","protocols":[{"name":"CryptoCom","part":2.5},{"name":"Uniswap_V3","part":32.5},{"name":"PancakeSwap_V3","part":2.5},{"name":"Uniswap","part":2.5},{"name":"Uniswap_V2","part":52.5},{"name":"SushiSwap","part":7.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3064955.518755312,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":361693002.21329963,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":111740721.90757497,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000014feeeab6899a69b0be70000000000000000000000000000000000000000000000000000649628b08d4900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000019c00000000000000000000000000000000000000000000000000000000000001ac00000000000000000000000000000000000000000000000000000000000001b80000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000014feeeab6899a69b0be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000182000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000017e000000000000000000000000000000000000000000000000000000000000017e000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000014feeeab6899a69b0be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017e0000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000005c00000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000000000000000000000000000000000009e00000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000e400000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000011a0000000000000000000000000000000000000000000000000000000000000132000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000003263d6682e3d902ff600000000000000000000000000000000000000000000000000000298f693a26f3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000972b83388ab8b18405f00000000000000000000000000000000000000000000000000001a2915192945000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000001931eb34171ec79de900000000000000000000000000000000000000000000000000000134e7139b1be000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002537573686953776170000000000000000000000000000000000000000000000000000000000001931eb34171ec79de900000000000000000000000000000000000000000000000000000049eb9dbb7a0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b00000000000000000000000000000000000000000000000000000260f7d5445f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f0001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b0000000000000000000000000000000000000000000000000000019bc9592e4f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b000000000000000000000000000000000000000000000000000001802cc17696000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a4279b1b000000000000000000000000000000000000000000000000000000e6bf3aea66000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb1400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b000000000000000000000000000000000000000000000000000000d74d20037e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f46b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002556e69737761705632000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b0000000000000000000000000000000000000000000000000000008e011fb4d3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000003556e69737761700000000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b000000000000000000000000000000000000000000000000000000640c1332f300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000000000000c43727970746f436f6d000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b0000000000000000000000000000000000000000000000000000005917a28e99000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ceb90e4c17d626be0facd78b79c9c87d7ca181b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000001250616e63616b655377617056330000000000000000000000000000000000000000000000000000865f9115d0a4279b1b0000000000000000000000000000000000000000000000000000004ae1281331000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001b81d678ffb9c0263b24a97847620c99d213eb14000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9115d0a4279b1b000000000000000000000000000000000000000000000000000000462de9cb1a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4dac17f958d2ee523a2206206994597c13d831ec70001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000026aeea5826000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000065c15618420a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c80c957910d80f8199721a8b","sellAmount":"100000000611927694623603","sellAmountMinusFees":"99150000606726309219303","sellAmountDisplay":"100000000611927694623603","sellAmountInEth":"100000000611927694622720","buyAmount":"111714900974397","buyAmountMinusFees":"111714900974397","buyAmountDisplay":"111714900974397","buyAmountDisplayMinimum":"110597751964654","buyAmountInEth":"30893802729821968799744","tradeAmountUSD":361693002.21329963,"tradeFeeAmountUSD":3074390.5188130466,"value":"100000000611927694623603","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap","part":2.5},{"name":"Uniswap_V2","part":50},{"name":"SushiSwap","part":7.5},{"name":"CryptoCom","part":2.5},{"name":"Uniswap_V3","part":32.5},{"name":"PancakeSwap_V3","part":5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3074390.5188130466,"available":true}},"fee":"850000005201385404300","feeInEth":"850000005201385404288","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json index bcdcafc373..7c16a8d507 100644 --- a/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json +++ b/e2e/mocks/swap_quotes/0x6df42baba38e45f11a0de09e070851c5c31c9f41f7cb03d4d51871fe0e3bdb96.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","buyTokenAsset":{"assetCode":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633499/assets/ethereum/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png","name":"Wrapped Ether","network":"mainnet","symbol":"WETH","networks":{"1":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","decimals":18},"10":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"137":{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","decimals":18},"42161":{"address":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","decimals":18},"43114":{"address":"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab","decimals":18},"7777777":{"address":"0x4200000000000000000000000000000000000006","decimals":18},"81457":{"address":"0x4300000000000000000000000000000000000004","decimals":18},"8453":{"address":"0x4200000000000000000000000000000000000006","decimals":18}},"chainId":1,"price":{"value":3617.1800000000003,"available":true},"totalPrice":{"value":3617.1800000000003,"available":true}},"allowanceTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","allowanceNeeded":false,"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","data":"0x","sellAmount":"1000000000000000000","sellAmountMinusFees":"1000000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"1000000000000000000","buyAmountMinusFees":"1000000000000000000","buyAmountDisplay":"1000000000000000000","buyAmountDisplayMinimum":"1000000000000000000","buyAmountInEth":"1000000000000000000","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":0,"value":"0","gasPrice":"","source":"rainbow","protocols":[{"name":"WRAPPED_CONTRACT","part":1}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":0,"available":false},"totalPrice":{"value":0,"available":false}},"fee":"0","feeInEth":"0","feePercentageBasisPoints":"0","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"31000","swapType":"wrap","txTarget":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json index 2bdf2ca93b..6babe19d58 100644 --- a/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json +++ b/e2e/mocks/swap_quotes/0x6e3a4b27b48de8b4cda25a9b89e59c94a8a59532aae82764d52eabb1a0edbf42.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2510.2421708287097,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2480.4894016073736,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a35dde953642000000000000000000000000000000000000000000000000000000000095ac812f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b763aa7acd6365aa98533c32e7d3fc0c3f1e2810ea43e02138bca0f0412328b443b737f8d9d9fc9e95c69d3e2e1c5ff06f4485e9809593094ab4ed064ca930b3d00000000000000000000000000000000000000000000000000000000958639f5869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007450ca41a55b2ba689c64b41","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"696162096057969829","buyAmount":"693808169899903745","buyAmountMinusFees":"687910800455754564","buyAmountDisplay":"687910800455754564","buyAmountDisplayMinimum":"674152584446639473","buyAmountInEth":"687910800455754564","tradeAmountUSD":2510.2421708287097,"tradeFeeAmountUSD":21.264911662796443,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.264911662796443,"available":true}},"fee":"5897369444149181","feeInEth":"5897369444149181","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2509.181664165079,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":2482.1616032164648,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099dabad6b00ee000000000000000000000000000000000000000000000000000000000095ac812f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ce7b6a4ceae87d55e02f001f431529669116197adbf083dea859c10c0599c428e4616b98e9e921298f2600bf259480d2dd7d0ec9614e5fdb419c0a2d81d35bd2200000000000000000000000000000000000000000000000000000000958639f5869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000022c0fa7dda5628fc7f74d938","sellAmount":"2508601845","sellAmountMinusFees":"2508601845","sellAmountDisplay":"2508601845","sellAmountInEth":"693793819119307597","buyAmount":"692206472482587130","buyAmountMinusFees":"686322717466485140","buyAmountDisplay":"686322717466485140","buyAmountDisplayMinimum":"672596263117155438","buyAmountInEth":"686322717466485140","tradeAmountUSD":2509.181664165079,"tradeFeeAmountUSD":21.27924722878462,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":21.27924722878462,"available":true}},"fee":"5883755016101990","feeInEth":"5883755016101990","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json index 56d262ba0d..e07ac722fc 100644 --- a/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json +++ b/e2e/mocks/swap_quotes/0x7599c3700417e59ce6aebd5a22da5c3cff6938c2f2e087cca3cd82ed724a7066.json @@ -1 +1 @@ -{"sellTokenAddress":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","buyTokenAsset":{"assetCode":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin (Bridged)","network":"arbitrum","symbol":"USDCe","networks":{"10":{"address":"0x7f5c764cbc14f9669b88837ca1490cca17c31607","decimals":6},"137":{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","decimals":6},"42161":{"address":"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8","decimals":6},"43114":{"address":"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664","decimals":6}},"chainId":42161,"price":{"value":1.001122875,"available":true},"totalPrice":{"value":3570.1123315631694,"available":true}},"allowanceTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","allowanceNeeded":false,"to":"0xa5f565650890fba1824ee0f21ebbbf660a179934","data":"0x8d0b3d391dc0c833b7400bc9facce354db3f09f3333e5027bcd93b06e4e15994","sellAmount":"1000000000000000000","sellAmountMinusFees":"989000000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3566108038","buyAmountMinusFees":"3566108038","buyAmountDisplay":"3566108038","buyAmountDisplayMinimum":"3566108038","buyAmountInEth":"990094466894770178","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":39.66413000000001,"value":"1000000000000000000","gasPrice":"","source":"relay","protocols":[{"name":"relay","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":39.66413000000001,"available":true}},"fee":"11000000000000000","feeInEth":"11000000000000000","feePercentageBasisPoints":"11000000000000000","tradeType":"exact_input","from":"0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","defaultGasLimit":"70000","swapType":"cross-chain","txTarget":"0xa5f565650890fba1824ee0f21ebbbf660a179934","chainId":1,"routes":[],"refuel":null,"no_approval":true} \ No newline at end of file +{"error":true,"message":"Fetch timed out"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json index 66290e1b11..8abda9aa90 100644 --- a/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json +++ b/e2e/mocks/swap_quotes/0x76f5d3748d5fb679abc185cdc1fd46e88adbadd0975870d6413ebe1ca67a7aef.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054681.46051831,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247616.596818306,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb759530418000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be721e902797103200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000347059d3b600000000000000000000000000000000000000000000000364807bd96b758832300000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3ae78e5eaf3f3537f3270d68ae1090fbef0845355b7b100594c86ea7c0df1fdc19f6aef1180f0729d7450de0fa44725826a6820ac37163f1990fcb82da3fbbea00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018988b226424000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb9d40c6ce02fd90000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509dab2dd83b62984b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87a409e5eb1d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000eba08bc7ba232479ae74e2cb","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478967808","buyAmount":"35224583928267","buyAmountMinusFees":"35224583928267","buyAmountDisplay":"35224583928267","buyAmountDisplayMinimum":"34872338088985","buyAmountInEth":"9775174258580771904512","tradeAmountUSD":36054681.46051831,"tradeFeeAmountUSD":306464.7924144056,"value":"9998996475296478968045","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.7924144056,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165670.32139409,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35188532.78506513,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219707531a18be605b100000000000000000000000000000000000000000000000000001fad0afe307a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219707531a18be605b1000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219707531a18be605b1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489e112cbc0dd91900000000000000000000000000000000000000000000000000000f11234e1db9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b565bb076c37346000000000000000000000000000000000000000000000000000009870ebecdca000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d47b57c4548df330000000000000000000000000000000000000000000000000000058bfec3b6c4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c87a409e5ed11000000000000000000000000000000000000000000000000000000c8c4a0df32000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c87a409e5ed11000000000000000000000000000000000000000000000000000000cc4419906d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e8ce16f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b421448cb00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000024d65a7b7aa19920ea643e99","sellAmount":"9998996475296478968045","sellAmountMinusFees":"9914005005256458896817","sellAmountDisplay":"9998996475296478968045","sellAmountInEth":"9998996475296478967808","buyAmount":"35180401454444","buyAmountMinusFees":"35180401454444","buyAmountDisplay":"35180401454444","buyAmountDisplayMinimum":"34828597439900","buyAmountInEth":"9728839868359390086144","tradeAmountUSD":36165670.32139409,"tradeFeeAmountUSD":307408.1977318498,"value":"9998996475296478968045","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.1977318498,"available":true}},"fee":"84991470040020071228","feeInEth":"84991470040020071232","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json index dc915133f2..5004f55db1 100644 --- a/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json +++ b/e2e/mocks/swap_quotes/0x7b8c011684a48abd94c688755235b40962f6406b1e055e952997ef6c463bd35d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.345045485,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35098674.09028386,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001f94eb160d5d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a124af3d0a08800000000000000000000000000000000000000000000000000000f05083512e9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f78e321dd5b05ae0000000000000000000000000000000000000000000000000000098051fdb2fb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb12f2916759adb0000000000000000000000000000000000000000000000000000058815610d5e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000c804937e72000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000cb9c3480b3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2545c50d000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000001ff2da79395900000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a106a70ba2db050ee3d50f93","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"35075738748693","buyAmountMinusFees":"35075738748693","buyAmountDisplay":"35075738748693","buyAmountDisplayMinimum":"34724981361207","buyAmountInEth":"9733868232912772463616","tradeAmountUSD":36058293.345045485,"tradeFeeAmountUSD":306495.4934328866,"value":"9999998154390384020000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4934328866,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36166093.325149804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192007.65460447,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3d9fc6373086b600000000000000000000000000000000000000000000000000001fadd7fd597700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3d9fc6373086b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a124af3d0a08800000000000000000000000000000000000000000000000000000f1184ed8513000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f78e321dd5b05ae000000000000000000000000000000000000000000000000000009874c46a0ee000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb12f2916759adb0000000000000000000000000000000000000000000000000000058c22b10997000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000c8c9a69779000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000cc494d4a19000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbb7b4000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c11752b9a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000dabbc33ec25fbd788736e1db","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384019456","buyAmount":"35183875521014","buyAmountMinusFees":"35183875521014","buyAmountDisplay":"35183875521014","buyAmountDisplayMinimum":"34832036765804","buyAmountInEth":"9730661490900171718656","tradeAmountUSD":36166093.325149804,"tradeFeeAmountUSD":307411.7932637734,"value":"9999998154390384020000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307411.7932637734,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json index dd36618155..5c1b8b4e3a 100644 --- a/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json +++ b/e2e/mocks/swap_quotes/0x7baeb55a2c443452b2e2fcba762a13d5854d705b7125731e11b5a35998446c17.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2502.521089463232,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2472.2725679530454,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099bd0688a149b00000000000000000000000000000000000000000000000000000000009536a64700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cd6491f5a33664ce2076001b3bfc59d1ecfd8dff5d682dfc413bdf2a4fe084eda46ca5aea14adabce43efd7971f4deaba95a019173fe73b272130bfdfda5c85660000000000000000000000000000000000000000000000000000000095107d31869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d7da3b79d0c87919fc29f8cb","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"694196012522672223","buyAmount":"691684430659799731","buyAmountMinusFees":"685805112999191434","buyAmountDisplay":"685805112999191434","buyAmountDisplayMinimum":"672089010739207606","buyAmountInEth":"685805112999191434","tradeAmountUSD":2502.521089463232,"tradeFeeAmountUSD":21.194469821080066,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":21.194469821080066,"available":true}},"fee":"5879317660608297","feeInEth":"5879317660608297","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2501.46384473916,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2474.575841995282,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000962608a9c0a291a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000004600000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000095107d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000000000095107d310000000000000000000000000000000000000000000000000965fc70aaa1b2f8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000039be60e9789de000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000099a56ab5eab154000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003b14dce39a3e637b782de9ff","sellAmount":"2500885809","sellAmountMinusFees":"2500885809","sellAmountDisplay":"2500885809","sellAmountInEth":"691550833726593581","buyAmount":"690029958413321618","buyAmountMinusFees":"684164703766808385","buyAmountDisplay":"684164703766808385","buyAmountDisplayMinimum":"670481409691472217","buyAmountInEth":"684117417987294505","tradeAmountUSD":2501.46384473916,"tradeFeeAmountUSD":21.214215488613107,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":21.214215488613107,"available":true}},"fee":"5865254646513233","feeInEth":"5864849271701465","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json index 16f7b65a9f..e03fb5ab70 100644 --- a/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json +++ b/e2e/mocks/swap_quotes/0x7c38d718e0f1f5ebfa2540e736d7374daca3ad0c13b0a66b932cc16a0febba62.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058293.67047099,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251150.341622226,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb829b597f6000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2fe840d8ce59c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471dbedf44000000000000000000000000000000000000000000000036496c24e6a74aed6800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b10b4f2e4f4f65f9826e25996caaf477f3afb31a2c5159f256dba37b8348183ea2a6b19c04ad30c04a2ed5f4ccdaa76a4f525d8047adc5eda1e941324ca6fabce00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523cfdd9ce00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf843beb254e87760000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7dc61455a25a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa103634cef00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e0b8cdf03ee74ddd2abab2ea","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35228115363934","buyAmountMinusFees":"35228115363934","buyAmountDisplay":"35228115363934","buyAmountDisplayMinimum":"34875834210295","buyAmountInEth":"9776154267289978843136","tradeAmountUSD":36058293.67047099,"tradeFeeAmountUSD":306495.4961990034,"value":"9999998244640204720000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.4961990034,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169293.65098649,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192007.96769182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001fadd80213f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a38f34067b37f00000000000000000000000000000000000000000000000000000f1184efc585000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f78fb8c28a944fd000000000000000000000000000000000000000000000000000009874c480c43000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb13d6717b9daa30000000000000000000000000000000000000000000000000000058c22b1ddbb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4bfa10363b185000000000000000000000000000000000000000000000000000000c8c9a6b520000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4bfa10363b185000000000000000000000000000000000000000000000000000000cc494d68d0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbb986000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117848da00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003acaf94ad246e423370042bf","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35183875834029","buyAmountMinusFees":"35183875834029","buyAmountDisplay":"35183875834029","buyAmountDisplayMinimum":"34832037075689","buyAmountInEth":"9729800678390740427776","tradeAmountUSD":36169293.65098649,"tradeFeeAmountUSD":307438.9960333852,"value":"9999998244640204720000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.9960333852,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json index 25bad9e963..a3a6e6d56f 100644 --- a/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json +++ b/e2e/mocks/swap_quotes/0x7c815a653f0dc8709fe2f26f5bf566cdcfcd6df464d94dd8ecee7ab9c67e83a4.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36045623.90156233,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247666.38941444,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb75c42b393000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be762d5fc994e0bb00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034706714b32000000000000000000000000000000000000000000000036480bd6c9b48e550800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ccc0ef29e67b255bcca1e9a717c0c48274e2a34985456aba8a0956b26d7004b5d33a78d32c03f570d519bee2dbe98e25591e4ad5a1d4af0ee5a7be8b404b476ad00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b1a22b700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbc4fcc76a5908590000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db1440fae6014680000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26524a700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e4dc4f42f1e3471f5b536810","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950056960","buyAmount":"35224633688326","buyAmountMinusFees":"35224633688326","buyAmountDisplay":"35224633688326","buyAmountDisplayMinimum":"34872387351443","buyAmountInEth":"9777655645455221084160","tradeAmountUSD":36045623.90156233,"tradeFeeAmountUSD":306387.80316327984,"value":"9999007995062950057592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306387.80316327984,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165711.987583034,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35188572.74771465,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001fad0d59b98000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff48b15786fd8007bf00000000000000000000000000000000000000000000000000000f11246d876c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b62881f5cc0e837000000000000000000000000000000000000000000000000000009870f73f51e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d4ecf67a0c22cc90000000000000000000000000000000000000000000000000000058bff2d7ccc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000c8c4afa884000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000cc4428e12e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e8dc98a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b4476d4ed00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000254231b1aebda01dca52759c","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057984","buyAmount":"35180441407859","buyAmountMinusFees":"35180441407859","buyAmountDisplay":"35180441407859","buyAmountDisplayMinimum":"34828636993781","buyAmountInEth":"9728850917135431838720","tradeAmountUSD":36165711.987583034,"tradeFeeAmountUSD":307408.5518944558,"value":"9999007995062950057592","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.5518944558,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json index e702ba7c9b..91654b4581 100644 --- a/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json +++ b/e2e/mocks/swap_quotes/0x81b3dd637fc0a6a6e06ffa9d3daa49d73aa7eb71d2a91d68dde4965111d909ad.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999996,"available":true},"totalPrice":{"value":5.003269402499998,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":4.9439270143229965,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004dd18a477231500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000004c4b40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004def77a47e286000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000001ded5d0bf71000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000918d868e2a45000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d3b740ee14f3f0c016a9f0e6","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1387549996117398","buyAmount":"1382846849377135","buyAmountMinusFees":"1371092651157430","buyAmountDisplay":"1371092651157430","buyAmountDisplayMinimum":"1357381724645856","buyAmountInEth":"1371092651157430","tradeAmountUSD":5.003269402499998,"tradeFeeAmountUSD":0.04238364056655888,"value":"0","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.04238364056655888,"available":true}},"fee":"11754198219705","feeInEth":"11754198219705","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311323999997,"available":true},"totalPrice":{"value":5.001155661999999,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":4.942062011307598,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004d8ce9347c1c100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000004daabc2cdf42b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000001dd2f86326a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000827671655fc7300000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f5b2b3b877a0b5e5e50a7ea0","sellAmount":"5000000","sellAmountMinusFees":"5000000","sellAmountDisplay":"5000000","sellAmountInEth":"1382707340755834","buyAmount":"1378082977399865","buyAmountMinusFees":"1366369272091967","buyAmountDisplay":"1366369272091967","buyAmountDisplayMinimum":"1352705579371048","buyAmountInEth":"1366369272091967","tradeAmountUSD":5.001155661999999,"tradeFeeAmountUSD":0.04236765213929551,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":0.04236765213929551,"available":true}},"fee":"11713705307898","feeInEth":"11713705307898","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json index 8709a4e56b..732a421e0a 100644 --- a/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json +++ b/e2e/mocks/swap_quotes/0x88a86f0376923e35d18b0b64485d60817009bcd206e13e51c24de2dac7fb0a1c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":3604.9200000000005,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3577.319754111156,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000ca6e674b200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3574982143","buyAmountMinusFees":"3574982143","buyAmountDisplay":"3574982143","buyAmountDisplayMinimum":"3396233036","buyAmountInEth":"992343728601787423","tradeAmountUSD":3604.9200000000005,"tradeFeeAmountUSD":30.641820000000003,"value":"1000000000000000000","gasPrice":"40878838647","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":30.641820000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":3586.5997598506083,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0x111111125421ca6dc452d289314280a0f8842a65","data":"0xa76dfc3b00000000000000000000000000000000000000000000000000000000cb0acbf7200000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939fd6f29312","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"3585770972","buyAmountMinusFees":"3585770972","buyAmountDisplay":"3585770972","buyAmountDisplayMinimum":"3406482424","buyAmountInEth":"991545834006217054","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30780621028","source":"1inch","protocols":[{"name":"UNISWAP_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0x70997970c51812dc3a010c7d01b50e0d17dc79c8","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json index d30129fb61..83ff3afb0a 100644 --- a/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json +++ b/e2e/mocks/swap_quotes/0x9087893ce72ffc847d70e6cd67d7bc30e0ee667a698a8d5e7c523753643ea650.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2512.2995342194413,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2482.526233272549,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000009a5648a3101ce000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b35067616a493fd4c4381aaa0bb7601d3224a9a7cf49d9b73ce50ff7e5d0169d43f66be0a82e788610c4d8fb8c0e9d6c60f6da0af267e80458dde6c6bb9f33ae70000000000000000000000000000000000000000000000000000000095a59948869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000db0e90cff21bc25f0cfd1513","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"696732661889063288","buyAmount":"694377884267194969","buyAmountMinusFees":"688475672250923812","buyAmountDisplay":"688475672250923812","buyAmountDisplayMinimum":"674706158805905336","buyAmountInEth":"688475672250923812","tradeAmountUSD":2512.2995342194413,"tradeFeeAmountUSD":21.282373154631028,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":21.282373154631028,"available":true}},"fee":"5902212016271157","feeInEth":"5902212016271157","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2511.238158377685,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2484.418761772932,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000099fb0ef4454d6000000000000000000000000000000000000000000000000000000000095cbe88a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c466d88b6be93d64810e69c6d6eb346720a069e660f25895c8d9fd162cd9821866ff7030cf385bba95ec8ca820db788a0eb53b1041bccc99619774090d4644db00000000000000000000000000000000000000000000000000000000095a59948869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000003c6bafd67f7110241cdf7929","sellAmount":"2510657864","sellAmountMinusFees":"2510657864","sellAmountDisplay":"2510657864","sellAmountInEth":"694301011735832645","buyAmount":"692774634656245341","buyAmountMinusFees":"686886050261667256","buyAmountDisplay":"686886050261667256","buyAmountDisplayMinimum":"673148329256433912","buyAmountInEth":"686886050261667256","tradeAmountUSD":2511.238158377685,"tradeFeeAmountUSD":21.29859755428131,"value":"0","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":21.29859755428131,"available":true}},"fee":"5888584394578085","feeInEth":"5888584394578085","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json index a8247207cf..ed0a08f32e 100644 --- a/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json +++ b/e2e/mocks/swap_quotes/0x99c424e467325d7feee35bfce2d80ab045a671f00b94b780c18cf473bc9a37ed.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.67206837,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251117.43037126,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662231f581000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2fe840d8ce59c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc3fef2000000000000000000000000000000000000000000000036496c24e6a74aed6800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3084d31e5f88b162592b996b268c9662750035f1c6d879980336cd6381827ab77ec9d24be05bcea4fe261aa87821cafcc74505dcdd7cab39aa1796e63e237aa600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3579523cfdd9ce00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf843beb254e87760000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7dc61455a25a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bfa103634cef00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000e33c0f6ebe44ddcc768662c5","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35228082474189","buyAmountMinusFees":"35228082474189","buyAmountDisplay":"35228082474189","buyAmountDisplayMinimum":"34523520824706","buyAmountInEth":"9778612959613877724160","tradeAmountUSD":36049193.67206837,"tradeFeeAmountUSD":306418.14621258114,"value":"9999998244640204720000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.14621258114,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169293.65098649,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192536.632879235,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3df1288792362800000000000000000000000000000000000000000000000000001f5bed19546200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3df12887923628000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a38f34067b37f00000000000000000000000000000000000000000000000000000eea8defef7c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f78fb8c28a944fd0000000000000000000000000000000000000000000000000000096ea89a114f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb13d6717b9daa30000000000000000000000000000000000000000000000000000057dca6cd652000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4bfa10363b185000000000000000000000000000000000000000000000000000000c6c2714e72000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4bfa10363b185000000000000000000000000000000000000000000000000000000ca390bfb26000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f5acc56000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117848da00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f5bacbb095cf6b71c4ee9f1b","sellAmount":"9999998244640204720000","sellAmountMinusFees":"9914998259560762979880","sellAmountDisplay":"9999998244640204720000","sellAmountInEth":"9999998244640204720128","buyAmount":"35184404377053","buyAmountMinusFees":"35184404377053","buyAmountDisplay":"35184404377053","buyAmountDisplayMinimum":"34480716289512","buyAmountInEth":"9729946842454578446336","tradeAmountUSD":36169293.65098649,"tradeFeeAmountUSD":307438.9960333852,"value":"9999998244640204720000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.9960333852,"available":true}},"fee":"84999985079441740120","feeInEth":"84999985079441740120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json index e4a95a17fe..66a3791a7a 100644 --- a/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json +++ b/e2e/mocks/swap_quotes/0x9f4be2dceef796d824560bae35121081f306331c381324980c6430ab7a4d1226.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36038328.06176603,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35312059.83965182,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fc6318b797b000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bbad454e550ebf0800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346da0683a2000000000000000000000000000000000000000000000036453bcdadd5e8921b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ce3e00e34597910d736ff792367febe325febc3895580ef9bedbeadae09eb51315c17c48bd0eb49db790339519dd0abf5d4ae63c0a158298bd47fc27736a35cd100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000284cc1f3fabfcbd29600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000027a4f61bcae000000000000000000000000000000000000000000000029038b0b4c3a07334b000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723e0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001b26a19d8633c6d6948122242973b727bcb706b38eab368c00ba0b75de1bca712d382c0b05c5939f3aa13f2fd705aad9e9bf22e6427882cc31e251a53dd60918b600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6eeb515395439757f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008655312d43d4a4dd940000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509983e7f57f97a52c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6eeb51539543afc200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000dbb6c79c8fea7589e7b9e29f","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155356160","buyAmount":"35288985060456","buyAmountMinusFees":"35288985060456","buyAmountDisplay":"35288985060456","buyAmountDisplayMinimum":"34936095209852","buyAmountInEth":"9795518302667415541760","tradeAmountUSD":36038328.06176603,"tradeFeeAmountUSD":306325.7885250112,"value":"9996984138834155356203","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":17.5},{"name":"Uniswap_V3","part":82.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306325.7885250112,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320536","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36158391.84127342,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35181551.866449505,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021954c4b50f5294399c00000000000000000000000000000000000000000000000000001fab6f28fb0d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021954c4b50f5294399c000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021954c4b50f5294399c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff3b7709341406857700000000000000000000000000000000000000000000000000000f105f2f1adc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13307cfeaff2e255f000000000000000000000000000000000000000000000000000009869321c29a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e086f394914d860180000000000000000000000000000000000000000000000000000058bb6968def000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6eeb515395439758000000000000000000000000000000000000000000000000000000c8ba89e38f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6eeb515395439758000000000000000000000000000000000000000000000000000000cc39a62be4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2dee7fcc000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000002009a176272800000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000154de26a8b6a65a4e7094e14","sellAmount":"9996984138834155356203","sellAmountMinusFees":"9912009773654065035676","sellAmountDisplay":"9996984138834155356203","sellAmountInEth":"9996984138834155355136","buyAmount":"35173422148972","buyAmountMinusFees":"35173422148972","buyAmountDisplay":"35173422148972","buyAmountDisplayMinimum":"34821687927483","buyAmountInEth":"9726909800977487732736","tradeAmountUSD":36158391.84127342,"tradeFeeAmountUSD":307346.33065082406,"value":"9996984138834155356203","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307346.33065082406,"available":true}},"fee":"84974365180090320527","feeInEth":"84974365180090320520","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json index f2555f75f1..cf514c2b86 100644 --- a/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json +++ b/e2e/mocks/swap_quotes/0xa0ab78029ea8632391143239b57b5afe521a57f1b991c37f6cd0412f6a6ead60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.96519291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.65812511,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662190faf3000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd305d9295a41c700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a2c54000000000000000000000000000000000000000000000036496c2c4e887cfe8c00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c00b1bbc815d03457afed468c21f3f64da2b7c4c61774d0b7ef3c60a6d5c82dae0ec578591f2903724d37ba222eda6b0ee0cb38494ae1a215db78c9e63bec573500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df359a513a17ae9f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84501531ba7ed30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc88c5be08e94b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c1764a56b78200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000001fa8d032c507fb5a7095a566","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35228071708982","buyAmountMinusFees":"35228071708982","buyAmountDisplay":"35228071708982","buyAmountDisplayMinimum":"34523510274803","buyAmountInEth":"9778609971407160532992","tradeAmountUSD":36049193.96519291,"tradeFeeAmountUSD":306418.1487041397,"value":"9999998325952559545000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1487041397,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756128","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169293.94508759,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192536.914950415,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e3a7b9d8c100400000000000000000000000000000000000000000000000000001f5bed1d8be700000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e3a7b9d8c1004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a5bc7846d27c500000000000000000000000000000000000000000000000000000eea8df1f190000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f79118b7c139f850000000000000000000000000000000000000000000000000000096ea89b5554000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb14a3c085e1c200000000000000000000000000000000000000000000000000000057dca6d9384000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c1764a56964e000000000000000000000000000000000000000000000000000000c6c27168e6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c1764a56964e000000000000000000000000000000000000000000000000000000ca390c168b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f5acdf5000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c117e435800000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000032f41501572207bd7c776b88","sellAmount":"9999998325952559545000","sellAmountMinusFees":"9914998340181962788868","sellAmountDisplay":"9999998325952559545000","sellAmountInEth":"9999998325952559545344","buyAmount":"35184404659059","buyAmountMinusFees":"35184404659059","buyAmountDisplay":"35184404659059","buyAmountDisplayMinimum":"34480716565878","buyAmountInEth":"9729946920440931713024","tradeAmountUSD":36169293.94508759,"tradeFeeAmountUSD":307438.99853324454,"value":"9999998325952559545000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V3","part":97.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.99853324454,"available":true}},"fee":"84999985770596756132","feeInEth":"84999985770596756120","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json index 12759e6584..5b7bbd4da4 100644 --- a/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json +++ b/e2e/mocks/swap_quotes/0xa1e57c6040e94e41243e4ae0ab90832a595eee05335e634b8b4777d2e688fcde.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058.3,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":35625.505000379875,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000899927f7d3ff80000000000000000000000000000000000000000000000000000000000002352ea900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000899927f7d3ff800000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000899927f7d3ff80000000000000000000000000000000000000000000000000000000000002360804000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d95b000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000023bd10d00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006592ade86a4fa0196847deee","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"37414487","buyAmountMinusFees":"37414487","buyAmountDisplay":"37414487","buyAmountDisplayMinimum":"37040343","buyAmountInEth":"9879973542951240590","tradeAmountUSD":36058.3,"tradeFeeAmountUSD":306.49555000000004,"value":"10000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306.49555000000004,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36166.1,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":35644.90405721552,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000233ceb000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000899927f7d3ff800000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000000899927f7d3ff8000000000000000000000000000000000000000000000000000000000000234a783000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d8d3000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000023a68a700000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c792d3978588b1ba3d97c970","sellAmount":"10000000000000000000","sellAmountMinusFees":"9915000000000000000","sellAmountDisplay":"10000000000000000000","sellAmountInEth":"10000000000000000000","buyAmount":"37323470","buyAmountMinusFees":"37323470","buyAmountDisplay":"37323470","buyAmountDisplayMinimum":"36950236","buyAmountInEth":"9855888264760512988","tradeAmountUSD":36166.1,"tradeFeeAmountUSD":307.41185,"value":"10000000000000000000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307.41185,"available":true}},"fee":"85000000000000000","feeInEth":"85000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json index 1658995884..52e637d1b3 100644 --- a/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json +++ b/e2e/mocks/swap_quotes/0xa2daf6b28da9be4b5944b277eaa0df74fa8f78414287f43a9432f5b5030cf972.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054681.47113094,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247616.60706801,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb759532bb5000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be721ed4193ae7d900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000347059d3f800000000000000000000000000000000000000000000000364807bddb56ec3e1a00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c8fd83a01f24af4d0dbe8d613f6a12f890d36753e74c81038b8ced0acb97e190a63b716f46ae8d52f746bc64d15d7703972acae3cd5cbd8f77d04bd7d9a5bdb4c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d9018aba718b5d3e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbb9d4c745619beb0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509dab2e3e25d798750000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9c87b5064ea66f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000579c8a263379a524d91e4d18","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998996478239664711680","buyAmount":"35224583938510","buyAmountMinusFees":"35224583938510","buyAmountDisplay":"35224583938510","buyAmountDisplayMinimum":"34872338099125","buyAmountInEth":"9775174261423306826752","tradeAmountUSD":36054681.47113094,"tradeFeeAmountUSD":306464.79250461294,"value":"9998996478239664711490","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306464.79250461294,"available":true}},"fee":"84991470065037150047","feeInEth":"84991470065037150048","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165670.332039386,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35188532.79527549,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021970753448fc4e1fe300000000000000000000000000000000000000000000000000001fad0afe57f300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021970753448fc4e1fe3000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021970753448fc4e1fe3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff489e126f77d73bc200000000000000000000000000000000000000000000000000000f11234e3083000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b565c7c4bb20b61000000000000000000000000000000000000000000000000000009870ebed9a4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d47b5f32c26b7010000000000000000000000000000000000000000000000000000058bfec3bdb1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9c87b5064f10e1000000000000000000000000000000000000000000000000000000c8c4a0e02a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9c87b5064f10e1000000000000000000000000000000000000000000000000000000cc4419916d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e8ce17e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b4212c57100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f322a73927822f5a354cc9d1","sellAmount":"9998996478239664711490","sellAmountMinusFees":"9914005008174627561443","sellAmountDisplay":"9998996478239664711490","sellAmountInEth":"9998305401456213387264","buyAmount":"35180401464652","buyAmountMinusFees":"35180401464652","buyAmountDisplay":"35180401464652","buyAmountDisplayMinimum":"34828597450006","buyAmountInEth":"9728167466168530114560","tradeAmountUSD":36165670.332039386,"tradeFeeAmountUSD":307408.1978223348,"value":"9998996478239664711490","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.1978223348,"available":true}},"fee":"84991470065037150047","feeInEth":"84985595912377813784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json index 0035666878..9a56c98e87 100644 --- a/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json +++ b/e2e/mocks/swap_quotes/0xa3e60a39ef9c4ea4df4f367c49ebb90526b5fe588b69b766ff3cfe576d3bc4f1.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049194.08388393,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.77282306,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662192b1bd000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd308d13bf531c300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1a5a9c000000000000000000000000000000000000000000000036496c2f4e34e04c5000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bad74d55ea62b99810ee86d212f171ec34377dbbfd1e391ce10ddbc4f15b7b40c04482863c82cdd682aa4557df1a7a5ca93f1b8afb8335b6b7e61a05f0f5471f900000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df35a7ad8dcc52ae00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84583f64e3cf790000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc8d39d9ee44050000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4c2344efd4c7100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000fc0183bd09f0d9d9818db7db","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292099584","buyAmount":"35228071823605","buyAmountMinusFees":"35228071823605","buyAmountDisplay":"35228071823605","buyAmountDisplayMinimum":"34523510387133","buyAmountInEth":"9778610003224218815488","tradeAmountUSD":36049194.08388393,"tradeFeeAmountUSD":306418.14971301344,"value":"9999998358877292100000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.14971301344,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982848","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169294.06417404,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192537.02917481,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e3e582c5790e45e00000000000000000000000000000000000000000000000000001f5bed1f410e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e3e582c5790e45e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2a69e1dccb25bf00000000000000000000000000000000000000000000000000000eea8df2c1c0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f791a73b3dc880a0000000000000000000000000000000000000000000000000000096ea89bd88c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb14f6e28ee9db60000000000000000000000000000000000000000000000000000057dca6de01f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd4c71000000000000000000000000000000000000000000000000000000c6c271739b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4c2344efd4c71000000000000000000000000000000000000000000000000000000ca390c21a3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f5ace9d000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c1180021600000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000000960c5b6b938399f66b0905a","sellAmount":"9999998358877292100000","sellAmountMinusFees":"9914998372826835117150","sellAmountDisplay":"9999998358877292100000","sellAmountInEth":"9999998358877292098560","buyAmount":"35184404773257","buyAmountMinusFees":"35184404773257","buyAmountDisplay":"35184404773257","buyAmountDisplayMinimum":"34480716677792","buyAmountInEth":"9729946952021414293504","tradeAmountUSD":36169294.06417404,"tradeFeeAmountUSD":307438.99954547937,"value":"9999998358877292100000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307438.99954547937,"available":true}},"fee":"84999986050456982850","feeInEth":"84999986050456982840","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json index 3f0433cb15..73e5c20219 100644 --- a/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json +++ b/e2e/mocks/swap_quotes/0xa494a51917c3859adb25e3a03e7e862798dea46cd676fa9874f2ebfb8080841b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":9.256807353574988,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999996,"available":true},"totalPrice":{"value":5.003269402499998,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000000000000000000000000000000008f43bcd7c7f7200000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b94b8e2adda5e3bf516db61df3c67699a2c2b6a7cb382e0abbe687a5a6a74d8f90102e43d1896a230cbf29673db408794c3337a846ee400eba603fc44bddcf0f0869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000befaff783dcd17cfd0c88ee3","sellAmount":"2567177973885343","sellAmountMinusFees":"2523903778985939","sellAmountDisplay":"2567177973885343","sellAmountInEth":"2567177973885343","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1387549996117398","tradeAmountUSD":9.256807353574988,"tradeFeeAmountUSD":0.07801969509705897,"value":"2567177973885343","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.07801969509705897,"available":true}},"fee":"21637097449702","feeInEth":"21637097449702","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.929999999999,"available":true},"totalPrice":{"value":8.345143318145155,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311323999995,"available":true},"totalPrice":{"value":5.001155661999997,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004c4b4000000000000000000000000000000000000000000000000000080c23ab05e49800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b30863e401a1b76e535124333def68ead28685a4c8924368acf90fa0ee118dad24eebece41022dcc77a87294aedf450154ebf85e0f0ac4c30a65db0b83e0f6863869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000004c308ef669665adf83b73788","sellAmount":"2307244906079232","sellAmountMinusFees":"2268352329576162","sellAmountDisplay":"2307244906079232","sellAmountInEth":"2307085441737805","buyAmount":"5000000","buyAmountMinusFees":"5000000","buyAmountDisplay":"5000000","buyAmountDisplayMinimum":"5000000","buyAmountInEth":"1382611775471499","tradeAmountUSD":8.345143318145155,"tradeFeeAmountUSD":0.07033586336562121,"value":"2307244906079232","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.929999999832,"available":true},"totalPrice":{"value":0.07033586336562121,"available":true}},"fee":"19446288251535","feeInEth":"19444944228825","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_output","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json index b61210cc27..6544892bda 100644 --- a/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json +++ b/e2e/mocks/swap_quotes/0xa4d3415e27f5364f3addad699d248003d87b2258ba07063b691b31b205b7656c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.82306073239,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d507cf7d0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bf6e31e17b26c9bcb2bbaf38067070328f5c12a551c76a0da44cd1c9eba4964a310fcd0fbc61981588bc0a99e83a2c575e17f2c7571fe2e94b8e42ddfefed4924869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c8125a6ce88eb7b13a082fc7","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570488388","buyAmountMinusFees":"3570488388","buyAmountDisplay":"3570488388","buyAmountDisplayMinimum":"35704884","buyAmountInEth":"990846229781323408","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":3582.1461937250456,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d5ad3aaa0000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c189ed422659774455f158b11e59cdb985be5a6b8ff5cbca02d561cb859adf5df51fb8e935bf9a3b238b9d2d4569fa92366f72f53271a44cefc1e3cf270800a8f869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000013b0fce02ee12aad17206404","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"3581318435","buyAmountMinusFees":"3581318435","buyAmountDisplay":"3581318435","buyAmountDisplayMinimum":"35813185","buyAmountInEth":"990314607988832545","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json index db07ecf3fb..8190f760d9 100644 --- a/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json +++ b/e2e/mocks/swap_quotes/0xa89d65423b585699f2725d9a1b23bad99e23333214c4e2737a2fa61b2f391a74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054741.89075183,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247674.97891228,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb75cc45f11000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be7805d5255b590d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034705f94087000000000000000000000000000000000000000000000036480db3f88eb0fce700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c4270461fb7858806720f92d087a97e83a298fd6762e58c1a8f115edfb1819e042faca36e757491d0611d7afcf6bae9fb7500ecf11abb063f2036eb447fa6644c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281e1df800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbca100a26bd7ed20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db408bfb805f8530000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e01754956fd5400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006844e99c2accc8b2b4e321d2","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657280","buyAmount":"35224642272211","buyAmountMinusFees":"35224642272211","buyAmountDisplay":"35224642272211","buyAmountDisplayMinimum":"34872395849489","buyAmountInEth":"9775190449608626039808","tradeAmountUSD":36054741.89075183,"tradeFeeAmountUSD":306465.3060713906,"value":"9999013234332130657592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.3060713906,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165730.93765291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35188590.92300158,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001fad0e6c377200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff48ba1bb471777cab00000000000000000000000000000000000000000000000000000f1124f03f10000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b68117f700e80e5000000000000000000000000000000000000000000000000000009870fc658eb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d520a35015fd4060000000000000000000000000000000000000000000000000000058bff5d9816000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9e017549570cf4000000000000000000000000000000000000000000000000000000c8c4b6621b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9e017549570cf4000000000000000000000000000000000000000000000000000000cc442fd85f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e8e331a000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b458ad80300000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a156a4fd46ae4f67db44374b","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657280","buyAmount":"35180459578946","buyAmountMinusFees":"35180459578946","buyAmountDisplay":"35180459578946","buyAmountDisplayMinimum":"34828654983157","buyAmountInEth":"9728855942194508722176","tradeAmountUSD":36165730.93765291,"tradeFeeAmountUSD":307408.71297004976,"value":"9999013234332130657592","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V3","part":97.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.71297004976,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json index 3fe72ac390..125873483d 100644 --- a/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json +++ b/e2e/mocks/swap_quotes/0xa91e4182ba9900e875c596fcf08884a45c1ffe63a4472c8c96ffd187b8c5317c.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":3572.870664839447,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d50889810000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e20000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bbbbca72f11695eb37f0e2d2fde3b20e9af1baf303755e5ef6b9bffbb3dd59c0e6a2c46303e7767aff9d20530eff8e3d66066f88a301ef8ba5021f417a095133b869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000089c828f1b558a85cfce0fbd5","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000000000000000000","buyAmount":"3570535961","buyAmountMinusFees":"3570535961","buyAmountDisplay":"3570535961","buyAmountDisplayMinimum":"3534830602","buyAmountInEth":"990859431764516467","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8500000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":3582.1280895415493,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x706394d5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000d5acf3e40000000000000000000000000000000000000000000000000dc609c2c418380000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b126d854208bc188e49cfd30dfddb30836718d0067004c2559182c555f276c61e5d34bc605e7cd26f6e65f8660a36144c080acb59b0cb9ddf15d6433822ba85e6869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f80549aa65dabb4255cd9df6","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"3581300335","buyAmountMinusFees":"3581300335","buyAmountDisplay":"3581300335","buyAmountDisplayMinimum":"3545487332","buyAmountInEth":"990309602934205339","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json index e03d99117f..89b69e2213 100644 --- a/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json +++ b/e2e/mocks/swap_quotes/0xab64751b62b7d9eda60467c11fea5c68d9aab6a8f76d0962310e3c6638f5d707.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054741.89075183,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247674.978915274,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f65593e8252000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be7805d5255b590d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034705f9408a000000000000000000000000000000000000000000000036480db3f88eb0fce700000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c374718cd737efc5a9b7d5ddf23cdd24db9eae79959bdfefa9bf11982d62a34380cbbdcaab36b1bfb36d3b69c1e18cdd89d2d3b9ae805a8ec0d12249d13b1401000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d91c1a3f281e1df800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbca100a26bd7ed20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db408bfb805f8530000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9e01754956fd5400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000501828abfd0dd864059d4d89","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9999013234332130657280","buyAmount":"35224642272214","buyAmountMinusFees":"35224642272214","buyAmountDisplay":"35224642272214","buyAmountDisplayMinimum":"34520149426770","buyAmountInEth":"9775190449609458569216","tradeAmountUSD":36054741.89075183,"tradeFeeAmountUSD":306465.3060713906,"value":"9999013234332130657592","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.3060713906,"available":true}},"fee":"84991612491823110589","feeInEth":"84991612491823110592","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36165730.93765291,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35189119.536857136,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000021970b03a537593eb7b00000000000000000000000000000000000000000000000000001f5b258cbd5a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000021970b03a537593eb7b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff48ba1bb471777cab00000000000000000000000000000000000000000000000000000eea2ee8a5dc000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b68117f700e80e50000000000000000000000000000000000000000000000000000096e6cb4d424000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d520a35015fd4060000000000000000000000000000000000000000000000000000057da773ebe2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9e017549570cf4000000000000000000000000000000000000000000000000000000c6bd8dc0cb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9e017549570cf4000000000000000000000000000000000000000000000000000000ca33fba50e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f0e0e62000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b458ad80300000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000089f8ab3ef02be05b05f2b47e","sellAmount":"9999013234332130657592","sellAmountMinusFees":"9914021621840307547003","sellAmountDisplay":"9999013234332130657592","sellAmountInEth":"9998322156390588467200","buyAmount":"35180988070650","buyAmountMinusFees":"35180988070650","buyAmountDisplay":"35180988070650","buyAmountDisplayMinimum":"34477368309237","buyAmountInEth":"9728329675840609517568","tradeAmountUSD":36165730.93765291,"tradeFeeAmountUSD":307408.71297004976,"value":"9999013234332130657592","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307408.71297004976,"available":true}},"fee":"84991612491823110589","feeInEth":"84985738329320001976","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json index 1ab0eb52f2..5cc33c33b1 100644 --- a/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json +++ b/e2e/mocks/swap_quotes/0xad5451fa653efa7e2d1c1ac5f49d524f3b2624e3b427bd49c633034df4bbacaf.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":2492.6132131295412,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":2462.440640650291,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000992081e594a2f0000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001cf794e05437f96c5dd0f145773b25aeb241773ad2863a42e9fa8a07bfd726eedd6ec2753e59965a776d3730ff2394af54b2f447c9a116524dd4b603d060e0752200000000000000000000000000000000000000000000000000000000947967d7869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000044bcddd133cae86d3ed29dec","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"691447580842166009","buyAmount":"688933685807938607","buyAmountMinusFees":"683077749478571129","buyAmountDisplay":"683077749478571129","buyAmountDisplayMinimum":"676246971983785418","buyAmountInEth":"683077749478571129","tradeAmountUSD":2492.6132131295412,"tradeFeeAmountUSD":21.11018199246341,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.92,"available":true},"totalPrice":{"value":21.11018199246341,"available":true}},"fee":"5855936329367478","feeInEth":"5855936329367477","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":2491.5601542043523,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2464.9990507980388,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000098c6ef72962880000000000000000000000000000000000000000000000000000000000949f6a3f00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855d0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001baed18961cbe8f810009c63d215506f71c14968c0b908e6a61272b4a142200e141ea382129a2f6a724fd0efbf2e41075d95a7cb42282a1653d1915bca4eebcf5300000000000000000000000000000000000000000000000000000000947967d7869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000006803c623310506f7285c1562","sellAmount":"2490984407","sellAmountMinusFees":"2490984407","sellAmountDisplay":"2490984407","sellAmountInEth":"688812874726818170","buyAmount":"687359491531919148","buyAmountMinusFees":"681516935853897836","buyAmountDisplay":"681516935853897836","buyAmountDisplayMinimum":"674701766495358858","buyAmountInEth":"681469833073841608","tradeAmountUSD":2491.5601542043523,"tradeFeeAmountUSD":21.13211490850562,"value":"0","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.9299999999994,"available":true},"totalPrice":{"value":21.13211490850562,"available":true}},"fee":"5842555678021312","feeInEth":"5842151872039992","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json index 09108d052a..9023de672f 100644 --- a/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json +++ b/e2e/mocks/swap_quotes/0xaea20a79897d7a21ff94cd7bbfcbb7b133455f21d092c97d992991cba4adff95.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049195.80694607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251119.49340236,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f662250c9e3000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd333eb5dad86b500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471bc73f65000000000000000000000000000000000000000000000036496c5ad6adf9787b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bc71a1effb0bdf5bc73337238c0c16d07ad2d54caaf646ae48d212a2466b799877cbae5d9fa8a13dc4a83a012c5c35c3f36f7d93ca3912c0bc0257c7a1bc5e95500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a3258f281c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84cec7419cd0c80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbccde10c82001f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76b753600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f8f63bec3a63d729fc2ed82a","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"35228084535872","buyAmountMinusFees":"35228084535872","buyAmountDisplay":"35228084535872","buyAmountDisplayMinimum":"34523522845155","buyAmountInEth":"9778613531895951753216","tradeAmountUSD":36049195.80694607,"tradeFeeAmountUSD":306418.16435904155,"value":"9999998836852429675000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.16435904155,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169295.792976655,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192538.687313974,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001f5bed380af600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2b369dfcfdc7dd00000000000000000000000000000000000000000000000000000eea8dfe8fc4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f799bc219033ced0000000000000000000000000000000000000000000000000000096ea8a3494b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb19adbe3ee55f00000000000000000000000000000000000000000000000000000057dca72384b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4ccfad76bcd1a000000000000000000000000000000000000000000000000000000c6c2720f14000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4ccfad76bcd1a000000000000000000000000000000000000000000000000000000ca390cc2ac000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f5ad826000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c1199573b00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ab5219cb5fd72c9d21bfa4cf","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999307690791349591040","buyAmount":"35184406431013","buyAmountMinusFees":"35184406431013","buyAmountDisplay":"35184406431013","buyAmountDisplayMinimum":"34480718302393","buyAmountInEth":"9729274928898747282432","tradeAmountUSD":36169295.792976655,"tradeFeeAmountUSD":307439.01424030156,"value":"9999998836852429675000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307439.01424030156,"available":true}},"fee":"84999990113245652237","feeInEth":"84994115371726471536","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json index 53f07e7a31..311122ab2c 100644 --- a/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json +++ b/e2e/mocks/swap_quotes/0xaf0726c491c4acd9a4facff91f5a8e938b3764a43091665868f1d43a4a36c0ca.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":3605.8300000000004,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":3562.7640750837068,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000038858800000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000389b44000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015bc000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000393f0000000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000002dabf4627b78343d717c924c","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"1000252432786303123","buyAmount":"3741673","buyAmountMinusFees":"3741673","buyAmountDisplay":"3741673","buyAmountDisplayMinimum":"3704257","buyAmountInEth":"988306002652959354","tradeAmountUSD":3605.8300000000004,"tradeFeeAmountUSD":30.649555000000003,"value":"1000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.83,"available":true},"totalPrice":{"value":30.649555000000003,"available":true}},"fee":"8500000000000000","feeInEth":"8502145678683576","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":3616.93,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":3564.7043316643653,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000038625500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000dc283ff2eccc00000000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000dc283ff2eccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000dc283ff2eccc0000000000000000000000000000000000000000000000000000000000000387804000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000015af000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000039178200000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000d8e29cde8f5cdf379f297787","sellAmount":"1000000000000000000","sellAmountMinusFees":"991500000000000000","sellAmountDisplay":"1000000000000000000","sellAmountInEth":"999930885385852942","buyAmount":"3732571","buyAmountMinusFees":"3732571","buyAmountDisplay":"3732571","buyAmountDisplayMinimum":"3695246","buyAmountInEth":"985492657723520833","tradeAmountUSD":3616.93,"tradeFeeAmountUSD":30.743904999999998,"value":"1000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V3","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":30.743904999999998,"available":true}},"fee":"8500000000000000","feeInEth":"8499412525779750","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json index 5e25b7bea5..9af9dce209 100644 --- a/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json +++ b/e2e/mocks/swap_quotes/0xb50778b83a1ad1b5a80711ba26a5422ae090cc62e31e0dfec8c4d0fd94fbba74.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049193.34672499,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251106.06047457,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f6621880c90000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd2f6609f1ecdb700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b193b30000000000000000000000000000000000000000000000036496c1cae6345283b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c7a4e2afeb3a92ca0d5a12cdc4a17b69ad52014639b02882119542bc527ec8662644a2951639c81416cb3624e4529e43abf3e4b856884c28033546d35eff9550a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc0853c800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf842589b59454100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7190eead71430000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c79fe600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000079ca8a69f5c0c0b9f61d725a","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384020480","buyAmount":"35228071111722","buyAmountMinusFees":"35228071111722","buyAmountDisplay":"35228071111722","buyAmountDisplayMinimum":"34523509689488","buyAmountInEth":"9778609805619698767872","tradeAmountUSD":36049193.34672499,"tradeFeeAmountUSD":306418.1434471624,"value":"9999998154390384020000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.1434471624,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36166093.325149804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35322578.31521987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f79d5284257000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004600000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000284fde38c87756c16c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000288508f8f87000000000000000000000000000000000000000000000029c73166c6c6fdd1cb000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f857b0000000000000000000000000000000000000000674f85210000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c01c8316b9ab904306539b7541d3a196218dd56c7cd96ccb24fc1f87fe149856a4a127fc85479120876b0b90cdae4a2b8267d46cd355c2c2947a980ee21e5a47700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3554b2cc08888400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf842589b594744a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbc7190eead82d70000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4bd9827c7a2d4000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4bd9827c7a2d400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000052e98a923a4d4e931be822f5","sellAmount":"9999998154390384020000","sellAmountMinusFees":"9914998170078065755830","sellAmountDisplay":"9999998154390384020000","sellAmountInEth":"9999998154390384019456","buyAmount":"35314416009493","buyAmountMinusFees":"35314416009493","buyAmountDisplay":"35314416009493","buyAmountDisplayMinimum":"34608127689304","buyAmountInEth":"9766764543376219539456","tradeAmountUSD":36166093.325149804,"tradeFeeAmountUSD":307411.7932637734,"value":"9999998154390384020000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":7.5},{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307411.7932637734,"available":true}},"fee":"84999984312318264170","feeInEth":"84999984312318264168","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json index ebfdcd894e..2b221540fe 100644 --- a/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json +++ b/e2e/mocks/swap_quotes/0xc2bdea36e31060bf18bff6d259402386980a8460ac11d3a0b87b2679bce1909e.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058300.00000001,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251112.48985987,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb8277a2bc1000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd39ccecfce697800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b235d70000000000000000000000000000000000000000000000036496cc4c6a3cd800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b30180c51e845dd03851280281c6222e612937e81676ecbdb605a5e7c7e37c8f875ac41b05a3142c85fc9622775641615fb398887ea43b592c1d2cf816d275e7200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3841a2a723248c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf85ef38bb736fd30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbd6b3637b354450000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4e733b3f3ade600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000de65bd3eaa1746dd7e7942d8","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"35228077536906","buyAmountMinusFees":"35228077536906","buyAmountDisplay":"35228077536906","buyAmountDisplayMinimum":"34875796761537","buyAmountInEth":"9776143769911467937792","tradeAmountUSD":36058300.00000001,"tradeFeeAmountUSD":306495.55000000005,"value":"10000000000000000000000","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.55000000005,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169300,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192014.05709995,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e4420141e0c000000000000000000000000000000000000000000000000000000001fadd85e0b0600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2d28d65b14934100000000000000000000000000000000000000000000000000000f11851b911e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f7ad66c6f676020000000000000000000000000000000000000000000000000000009874c63a6cf000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb25269eba89f410000000000000000000000000000000000000000000000000000058c22c1fbd0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3b6b1000000000000000000000000000000000000000000000000000000c8c9a8f5ec000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f3b6b1000000000000000000000000000000000000000000000000000000cc494fbe3f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbdce4000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c11d5517900000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000f321efdc88f6ae9250e7f5da","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"9999308853858529421312","buyAmount":"35183881922030","buyAmountMinusFees":"35183881922030","buyAmountDisplay":"35183881922030","buyAmountDisplayMinimum":"34832043102810","buyAmountInEth":"9729129890439500007424","tradeAmountUSD":36169300,"tradeFeeAmountUSD":307439.05,"value":"10000000000000000000000","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307439.05,"available":true}},"fee":"85000000000000000000","feeInEth":"84994125257797500088","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json index a13000ba9b..60b124f523 100644 --- a/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json +++ b/e2e/mocks/swap_quotes/0xda0be29c7d07bc28f56e866117f0d9c5112abbd6507a1c8635e4c7ed4c06bac6.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051049.758052304,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35244107.9777759,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb68a6bbec4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0f5721c156191300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f0030e0b00000000000000000000000000000000000000000000003646a169ec553018ba00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001bb56f6cd1fdb78ca5fab9a49a34016346065f388372f0dafcac4939db27cfd89f6211b71697c9699152a5a6f39cf78bd7922da150415c6874b60f8b1e6ca521f800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c50817e5ffa04600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7ea2f9cd3aead3d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b9702b2a1fedbad0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5c87055249d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007e770bb426d74dab45b7ec3b","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9997989300120165687296","buyAmount":"35221077601943","buyAmountMinusFees":"35221077601943","buyAmountDisplay":"35221077601943","buyAmountDisplayMinimum":"34868866825924","buyAmountInEth":"9774201217965321398272","tradeAmountUSD":36051049.758052304,"tradeFeeAmountUSD":306433.9229434446,"value":"9997989300120165687090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.9229434446,"available":true}},"fee":"84982909051021408340","feeInEth":"84982909051021408336","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36158828.08270759,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35185038.83819741,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219629967518d5866de00000000000000000000000000000000000000000000000000001fac3cdeea0900000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219629967518d5866de000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219629967518d5866de000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4208dde056562e3700000000000000000000000000000000000000000000000000000f10c1258562000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a1372e056544009d8900000000000000000000000000000000000000000000000000000986d0e07b5a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0adad87b1257174e0000000000000000000000000000000000000000000000000000058bdaa3e6a6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f43d5c8705541e9000000000000000000000000000000000000000000000000000000c8bf941751000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f43d5c8705541e9000000000000000000000000000000000000000000000000000000cc3ede87b0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e3d9c5c000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200a718e444d00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000a75b654233d0f7f72af14083","sellAmount":"9997989300120165687090","sellAmountMinusFees":"9913006391069144278750","sellAmountDisplay":"9997989300120165687090","sellAmountInEth":"9997989300120165687296","buyAmount":"35176908314954","buyAmountMinusFees":"35176908314954","buyAmountDisplay":"35176908314954","buyAmountDisplayMinimum":"34825139231805","buyAmountInEth":"9728734599029868328960","tradeAmountUSD":36158828.08270759,"tradeFeeAmountUSD":307350.03870301455,"value":"9997989300120165687090","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V3","part":97.5},{"name":"Uniswap_V2","part":2.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307350.03870301455,"available":true}},"fee":"84982909051021408340","feeInEth":"84982909051021408336","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json index 3d4aecb453..109400533a 100644 --- a/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json +++ b/e2e/mocks/swap_quotes/0xdad901d67906c1a3fff6bc14e9be3131b1b8338eaba32ce8eb90a6592914c24d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051045.08401804,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35315631.498208605,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fc7042a6922000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000007200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0ee23dc3e2bf1600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346effbeffe00000000000000000000000000000000000000000000003646a0f3dd1a52a1ad00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3d155bccc767482222da6c888eb614fae295b30ba5458a2fa274e1b17eb3340717819a3aab8664218a6e23ac6a8e70e2e516c21d00719fed14777fcc075e197700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000284dcb29ae52ea0f5100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000027a4f6227050000000000000000000000000000000000000000000000290355510b62fa9e98000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f723d0000000000000000000000000000000000000000674f71e50000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001b71f16f2cace55f3d6ceca9f227b6d1dca338de1c2a93b73c42ce5151ccef17174466124d61fa321f20f0111ac82c57a4b5470c28a40604dd5e3c7f76bf72fea300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000d6f43b88f70f8afc5800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008658a5359a69b249d80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b96535ca5d41ea10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43b88f70f8afc600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000af1d18b0882e52ebf4d14610","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997988003876508666880","buyAmount":"35292554385101","buyAmountMinusFees":"35292554385101","buyAmountDisplay":"35292554385101","buyAmountDisplayMinimum":"34939628841250","buyAmountInEth":"9794036740003994807296","tradeAmountUSD":36051045.08401804,"tradeFeeAmountUSD":306433.8832141533,"value":"9997988003876508667090","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":17.5},{"name":"Uniswap_V3","part":82.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.8832141533,"available":true}},"fee":"84982898032950323670","feeInEth":"84982898032950323672","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36162022.750861056,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35185034.34144931,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002196294d669a6d6e2fc00000000000000000000000000000000000000000000000000001fac3c9b008c00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002196294d669a6d6e2fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4206b2a5626edda100000000000000000000000000000000000000000000000000000f10c1052e26000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a1372ca6b94ba927a200000000000000000000000000000000000000000000000000000986d0cc1906000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0ada0bec16cd571f0000000000000000000000000000000000000000000000000000058bda97ffb9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f43b88f70f8c34e000000000000000000000000000000000000000000000000000000c8bf926d61000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f43b88f70f8c34e000000000000000000000000000000000000000000000000000000cc3edcce81000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e3d823e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200a714990d200000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000023b8bc586b546291a9aff7a","sellAmount":"9997988003876508667090","sellAmountMinusFees":"9913005105843558343420","sellAmountDisplay":"9997988003876508667090","sellAmountInEth":"9997296996793373829120","buyAmount":"35176903819245","buyAmountMinusFees":"35176903819245","buyAmountDisplay":"35176903819245","buyAmountDisplayMinimum":"34825134781053","buyAmountInEth":"9727200289023301712896","tradeAmountUSD":36162022.750861056,"tradeFeeAmountUSD":307377.193382319,"value":"9997988003876508667090","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307377.193382319,"available":true}},"fee":"84982898032950323670","feeInEth":"84977024472743677552","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json index 7388707c0a..d8e78db981 100644 --- a/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json +++ b/e2e/mocks/swap_quotes/0xdb6e9153f17e5efe1eefa0c6adb063d811f17eadf2e86ab426641124c7ffd68b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36051049.74818839,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35244107.96825068,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb68a6b99f4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bd0f56e29acf3b6000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000346f0030a3200000000000000000000000000000000000000000000003646a169ac8cffd8ba00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b3050b1e54d2aa78f078c3d88d6e064a8d3e8bf81b80e274db6689941e54de7f0226e4152e7ceb2b4b8dee90225e2014dbf026c09353d94eab52725f0188cb11a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d2c506fbb8a48b2f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093c7ea2eef29be77270000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509b970253e836d9100000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f43d5b8a6b3ced800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c247d8521c29e81a02153c10","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9997989297384621033472","buyAmount":"35221077592424","buyAmountMinusFees":"35221077592424","buyAmountDisplay":"35221077592424","buyAmountDisplayMinimum":"34868866816500","buyAmountInEth":"9774201215323703714816","tradeAmountUSD":36051049.74818839,"tradeFeeAmountUSD":306433.9228596013,"value":"9997989297384621033178","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306433.9228596013,"available":true}},"fee":"84982909027769278782","feeInEth":"84982909027769278784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36162027.42938936,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35185038.82870422,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219629964da0c1ce59c00000000000000000000000000000000000000000000000000001fac3cdec55500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219629964da0c1ce59c000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219629964da0c1ce59c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4208dcb45f5c74cf00000000000000000000000000000000000000000000000000000f10c12573e7000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a1372e04a7d06de0ff00000000000000000000000000000000000000000000000000000986d0e07056000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0adad80c8eeb86900000000000000000000000000000000000000000000000000000058bdaa3e038000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f43d5b8a6b384a0000000000000000000000000000000000000000000000000000000c8bf94166b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f43d5b8a6b384a0000000000000000000000000000000000000000000000000000000cc3ede86c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2e3d9c4e000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200a718e1f2c00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000724e787d2f05b33040e43010","sellAmount":"9997989297384621033178","sellAmountMinusFees":"9913006388356851754396","sellAmountDisplay":"9997989297384621033178","sellAmountInEth":"9997989297384621033472","buyAmount":"35176908305463","buyAmountMinusFees":"35176908305463","buyAmountDisplay":"35176908305463","buyAmountDisplayMinimum":"34825139222409","buyAmountInEth":"9727873867811713593344","tradeAmountUSD":36162027.42938936,"tradeFeeAmountUSD":307377.23314980953,"value":"9997989297384621033178","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307377.23314980953,"available":true}},"fee":"84982909027769278782","feeInEth":"84982909027769278784","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json index 16a52e9f45..ff2df64e4a 100644 --- a/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json +++ b/e2e/mocks/swap_quotes/0xdbe659d5e5fa1b95e820d5f7ee5bec7cd2ec4652165f045847bd6591dfa470e7.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36058300.00000001,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95218.47780615,"available":true},"totalPrice":{"value":34457264.765722245,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000085758ae9b00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e4420141e0c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f367960000000000000000000000000000000000000000000000000000000035a82a9b3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000865f9108050786d0910000000000000000000000000000000000000000000000000000000215dd151e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e6973776170563300000000000000000000000000000000000000000000000000000000000093cf85ef38bb7497b8000000000000000000000000000000000000000000000000000000024b26951b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000025375736869537761700000000000000000000000000000000000000000000000000000000000000d6ff4e733b3f36c78000000000000000000000000000000000000000000000000000000003431a83d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000001adfe9ce6767e6b1e0000000000000000000000000000000000000000000000000000000006ad5e6e0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000335346f000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000087027f41a00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000007ccbbfd764a0a253233d9108","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"36187582032","buyAmountMinusFees":"36187582032","buyAmountDisplay":"36187582032","buyAmountDisplayMinimum":"35825706212","buyAmountInEth":"9555987044791973072896","tradeAmountUSD":36058300.00000001,"tradeFeeAmountUSD":306495.55000000005,"value":"10000000000000000000000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306495.55000000005,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169300,"available":true}},"buyTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","buyTokenAsset":{"assetCode":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1693266228/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png","name":"Wrapped Bitcoin","network":"mainnet","symbol":"WBTC","networks":{"1":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","decimals":8},"10":{"address":"0x68f180fcce6836688e9084f035309e29bf0a2095","decimals":8},"137":{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","decimals":8},"42161":{"address":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","decimals":8},"43114":{"address":"0x50b7545627a5162f82a992c33b87adc75187b218","decimals":8},"81457":{"address":"0xf7bc58b8d8f97adc129cfc4c9f45ce3c0e1d2692","decimals":8}},"chainId":1,"price":{"value":95502.65304168,"available":true},"totalPrice":{"value":34635935.43466484,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b47330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000085c106982000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000d6ff4e733b3f35bde000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000004506e017000000000000000000000000000000000000000000000010a98bd702abf0800000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c07867eff08bdf4739c5b94780740089457560b23a2e0f3d30c1b3e95bf10c8f030dfd80ac9aba3d94f6f9bc2314deb651836ac49eb03cea4d27c04277506f88800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000c98f598c078b44abf30000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf85ef38bb73e11a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb82260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000865f91080507862a8d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000d6ff4e733b3f35bde000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000001adfe9ce6767e690ac00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb82260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000869584cd000000000000000000000000100000000000000000000000000000000000001100000000000000000000000000000000000000008c6f31e950ed3f516630e2e3","sellAmount":"10000000000000000000000","sellAmountMinusFees":"9915000000000000000000","sellAmountDisplay":"10000000000000000000000","sellAmountInEth":"10000000000000000000000","buyAmount":"36266987703","buyAmountMinusFees":"36266987703","buyAmountDisplay":"36266987703","buyAmountDisplayMinimum":"35904317826","buyAmountInEth":"9576059098369291230208","tradeAmountUSD":36169300,"tradeFeeAmountUSD":307439.05,"value":"10000000000000000000000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"0x","part":2.5},{"name":"SushiSwap","part":2.5},{"name":"Uniswap_V3","part":95}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307439.05,"available":true}},"fee":"85000000000000000000","feeInEth":"85000000000000000000","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json b/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json index e07ac722fc..22a135ba1f 100644 --- a/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json +++ b/e2e/mocks/swap_quotes/0xe1a1cb8f0c4bf8028c0330d096feb5e727d4c91a6a12cf2f6494cda55145e9df.json @@ -1 +1 @@ -{"error":true,"message":"Fetch timed out"} \ No newline at end of file +{"error":true,"message":"Failed to fetch: Bad Request"} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json index 69fd89fe64..a858025a0f 100644 --- a/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json +++ b/e2e/mocks/swap_quotes/0xea4dce2efa7c0f64e149c095cd8fa665f0db839e9a1930cac23b2083c7bd4a60.json @@ -1 +1 @@ -{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":50.032694025,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":45.48475979356309,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002d32ed086e958c0000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c9e9577e0f682cfb180b1c25ad932efb80250f73675a398d1248056c69b34c9eb1103a7509d6086ed2a479d8db29e1c9c6a021e6bc449d2835caec29da19273170000000000000000000000000000000000000000000000000000000002faf080869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000038f284d427a55f0aca3f7fe3","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13875499961173986","buyAmount":"12722367582082444","buyAmountMinusFees":"12614227457634744","buyAmountDisplay":"12614227457634744","buyAmountDisplayMinimum":"126142274576348","buyAmountInEth":"12614227457634744","tradeAmountUSD":50.032694025,"tradeFeeAmountUSD":0.38993490493725014,"value":"0","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.38993490493725014,"available":true}},"fee":"108140124447700","feeInEth":"108140124447700","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","sellTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":50.01155661999999,"available":true}},"buyTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","buyTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":46.463014761333284,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":true,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xa578efaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000002e0782fdc437340000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f855c0000000000000000000000000000000000000000674f85200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001c33ca888c4076d19bb89a4c0070efec5eacb593d7effa757b9a6df0ca94df78612fb426653e680bba7d95facb178ee96cd66d43b6f2f122115b1b458553df58470000000000000000000000000000000000000000000000000000000002faf080869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000ea3c5923d2f8af8b3be02c70","sellAmount":"50000000","sellAmountMinusFees":"50000000","sellAmountDisplay":"50000000","sellAmountInEth":"13827073407558343","buyAmount":"12956108113327924","buyAmountMinusFees":"12845981194364637","buyAmountDisplay":"12845981194364637","buyAmountDisplayMinimum":"128459811943648","buyAmountInEth":"12845981194364637","tradeAmountUSD":50.01155661999999,"tradeFeeAmountUSD":0.3983213570058816,"value":"0","gasPrice":"29491178486","source":"0x","protocols":[{"name":"0x","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":0.3983213570058816,"available":true}},"fee":"110126918963287","feeInEth":"110126918963287","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json index 496c991b6a..3187eeffff 100644 --- a/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json +++ b/e2e/mocks/swap_quotes/0xf075f29f99b1782647f2311d60eed3ad92a4feb1d68f3770a3a6e1495ef29a3d.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":2.2065072391046265,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538804999991,"available":true},"totalPrice":{"value":2.1757867748733806,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020d88d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000253757368695377617000000000000000000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020e52e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000ca1000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000061e7e100000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000969eaf9cac0e56f2803c8a50","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2174365","buyAmountMinusFees":"2174365","buyAmountDisplay":"2174365","buyAmountDisplayMinimum":"2152622","buyAmountInEth":"603408029461561","tradeAmountUSD":2.2065072391046265,"tradeFeeAmountUSD":0.018755311532387072,"value":"611927694623603","gasPrice":"39189637037","source":"0x","protocols":[{"name":"SushiSwap","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":0.018755311532387072,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":2.2132996365149484,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311323999984,"available":true},"totalPrice":{"value":2.1831184728120903,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000020f87300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000227d07a230be700000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000227d07a230be7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002556e6973776170563200000000000000000000000000000000000000000000000000000000000000000227d07a230be70000000000000000000000000000000000000000000000000000000000210521000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000cae000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000052292b00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000041b8f3f3f33901b59971bdb9","sellAmount":"611927694623603","sellAmountMinusFees":"606726309219303","sellAmountDisplay":"611927694623603","sellAmountInEth":"611927694623603","buyAmount":"2182614","buyAmountMinusFees":"2182614","buyAmountDisplay":"2182614","buyAmountDisplayMinimum":"2160788","buyAmountInEth":"603583279967290","tradeAmountUSD":2.2132996365149484,"tradeFeeAmountUSD":0.0188130469103748,"value":"611927694623603","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":100}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":0.0188130469103748,"available":true}},"fee":"5201385404300","feeInEth":"5201385404300","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json index bf6506d51b..396d6e1d6a 100644 --- a/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json +++ b/e2e/mocks/swap_quotes/0xf302f0fc445fe6fc335342a9017b02921f8d08704f5122d11f75281fd9e5a700.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":36049195.80694607,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35251108.437899105,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001fb8273d004d000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035bfd333eb5dad86b500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000003471b1cfa7b000000000000000000000000000000000000000000000036496c5ad6adf9787b00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f721f0000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001b91bb75224a1310451cb17080c62e2aa33d6161d8e00ea0e1d86335ff0506adf02ff979a67cd572c337e2ad9ec5a2204508d5c9afe7a0dcbd58ae0c3a0dd2a3a400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1df3669a3258f281c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cf84cec7419cd0c80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509fbccde10c82001f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6ff4ccfad76b753600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000055492deab629e2e875bf6789","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"35228073487593","buyAmountMinusFees":"35228073487593","buyAmountDisplay":"35228073487593","buyAmountDisplayMinimum":"34875792752718","buyAmountInEth":"9778610465114094127104","tradeAmountUSD":36049195.80694607,"tradeFeeAmountUSD":306418.16435904155,"value":"9999998836852429675000","gasPrice":"39188637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3604.9200000000005,"available":true},"totalPrice":{"value":306418.16435904155,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":36169295.792976655,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35192010.02209655,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000002197e400731a8c6f4eb00000000000000000000000000000000000000000000000000001fadd8211ac000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000002197e400731a8c6f4eb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff4f2b369dfcfdc7dd00000000000000000000000000000000000000000000000000000f1184fe8c02000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13f799bc219033ced000000000000000000000000000000000000000000000000000009874c515c54000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0fb19adbe3ee55f00000000000000000000000000000000000000000000000000000058c22b74dc4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6ff4ccfad76bcd1a000000000000000000000000000000000000000000000000000000c8c9a777b9000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6ff4ccfad76bcd1a000000000000000000000000000000000000000000000000000000cc494e325f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c2edbc574000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200c1199573b00000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000b5a9e74a6bb4a8e379e34216","sellAmount":"9999998836852429675000","sellAmountMinusFees":"9914998846739184022763","sellAmountDisplay":"9999998836852429675000","sellAmountInEth":"9999998836852429674496","buyAmount":"35183877887959","buyAmountMinusFees":"35183877887959","buyAmountDisplay":"35183877887959","buyAmountDisplayMinimum":"34832039109080","buyAmountInEth":"9729801246387558107136","tradeAmountUSD":36169295.792976655,"tradeFeeAmountUSD":307439.01424030156,"value":"9999998836852429675000","gasPrice":"30499701647","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.93,"available":true},"totalPrice":{"value":307439.01424030156,"available":true}},"fee":"84999990113245652237","feeInEth":"84999990113245652240","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json index 17dc41ec0a..fa59d085cf 100644 --- a/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json +++ b/e2e/mocks/swap_quotes/0xfb8fe25007068484ee1faecbe7fb84e5fec2803bcd5a3bf831d3d3d4a9072c2b.json @@ -1 +1 @@ -{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":36054722.99883784,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0006538805,"available":true},"totalPrice":{"value":35247638.05325408,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0xf35b4733000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000001f655716b2a4000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000035be762d5fc994e0bb00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000034704bce13d000000000000000000000000000000000000000000000036480bd6c9b48e550800000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0ee7a142d267c1f36714e4a8f75612f20a7972000000000674f72200000000000000000000000000000000000000000674f71e30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001ceed2617a1b55817b90a846d11ec514ab7ec64e001e31477d0d362109aa5999b46596b66eb541755a513998b8621bfa8fc55c0078a13b2e092760c5eceba6f1a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000f1d913cc2f0b1a22b700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000093cbc4fcc76a5908590000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000509db1440fae6014680000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000d6f9d8b57f26524a700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000869584cd00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000c84d981ecda5b5f385c8ef98","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057984","buyAmount":"35224605370682","buyAmountMinusFees":"35224605370682","buyAmountDisplay":"35224605370682","buyAmountDisplayMinimum":"34520113263269","buyAmountInEth":"9775180209065341904896","tradeAmountUSD":36054722.99883784,"tradeFeeAmountUSD":306465.1454901216,"value":"9999007995062950057592","gasPrice":"39189637037","source":"0x","protocols":[{"name":"0x","part":10},{"name":"Uniswap_V3","part":90}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3605.8300000000004,"available":true},"totalPrice":{"value":306465.1454901216,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file +{"sellTokenAddress":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","sellTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":36162512.30502462,"available":true}},"buyTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","buyTokenAsset":{"assetCode":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668633498/assets/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png","name":"USD Coin","network":"mainnet","symbol":"USDC","networks":{"1":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","decimals":6},"10":{"address":"0x0b2c639c533813f4aa9d7837caf62653d097ff85","decimals":6},"137":{"address":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","decimals":6},"42161":{"address":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","decimals":6},"43114":{"address":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","decimals":6},"56":{"address":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d","decimals":18},"8453":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}},"chainId":1,"price":{"value":1.0002311324,"available":true},"totalPrice":{"value":35189101.361297145,"available":true}},"allowanceTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","allowanceNeeded":false,"to":"0xdef1c0ded9bec7f1a1670819833240f027b25eff","data":"0x415565b0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000219709dc5bddfcd44d700000000000000000000000000000000000000000000000000001f5b247d053400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000d60000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000219709dc5bddfcd44d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000ff48b15786fd8007bf00000000000000000000000000000000000000000000000000000eea2e67403c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8dac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000a13b62881f5cc0e8370000000000000000000000000000000000000000000000000000096e6c634564000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000005e0d4ecf67a0c22cc90000000000000000000000000000000000000000000000000000057da7444cfe000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000000000000002556e697377617056320000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000c6bd871897000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f164fc0ec4e93095b804a4795bbe1e041497b92a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000012556e697377617056330000000000000000000000000000000000000000000000000000000000000d6f9d8b57f265140d000000000000000000000000000000000000000000000000000000ca33f4bfe0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000c0f0da5e3000000000000000000000000ad01c20d5886137e056775af56915de824c8fce5000000000000000000000000000000000000000000000000000000000000001d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000200b447529a400000000000000000000000069d6d375de8c7ade7e44446df97f49e661fdad7d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000001000000000000000000000000000000000000011000000000000000000000000000000000000000048f3b99aeabcccf5bd8aa63a","sellAmount":"9999007995062950057592","sellAmountMinusFees":"9914016427104914982103","sellAmountDisplay":"9999007995062950057592","sellAmountInEth":"9999007995062950057984","buyAmount":"35180969899290","buyAmountMinusFees":"35180969899290","buyAmountDisplay":"35180969899290","buyAmountDisplayMinimum":"34477350501305","buyAmountInEth":"9729857894906320414720","tradeAmountUSD":36162512.30502462,"tradeFeeAmountUSD":307381.3545927092,"value":"9999007995062950057592","gasPrice":"29491178486","source":"0x","protocols":[{"name":"Uniswap_V2","part":2.5},{"name":"Uniswap_V3","part":97.5}],"feeTokenAsset":{"assetCode":"eth","decimals":18,"iconUrl":"https://rainbowme-res.cloudinary.com/image/upload/v1668565116/assets/ethereum/eth.png","name":"Ethereum","network":"mainnet","symbol":"ETH","networks":{"1":{"address":"eth","decimals":18},"10":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"42161":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"56":{"address":"0x2170ed0880ac9a755fd29b2688956bd959f933f8","decimals":18},"7777777":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"81457":{"address":"0x0000000000000000000000000000000000000000","decimals":18},"8453":{"address":"0x0000000000000000000000000000000000000000","decimals":18}},"chainId":1,"price":{"value":3616.61,"available":true},"totalPrice":{"value":307381.3545927092,"available":true}},"fee":"84991567958035075489","feeInEth":"84991567958035075488","feePercentageBasisPoints":"8500000000000000","tradeType":"exact_input","from":"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720","defaultGasLimit":"350000","swapType":"normal","txTarget":"0x00000000009726632680fb29d3f7a9734e3010e2","chainId":1} \ No newline at end of file diff --git a/package.json b/package.json index 1ab3b0c7a2..1f193e154d 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "// Build and zip": "", "bundle": "yarn build && yarn zip", "// Runs tests": "", - "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21324533", + "anvil": "ETH_MAINNET_RPC=$(grep ETH_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $ETH_MAINNET_RPC --fork-block-number 21065950", "anvil:optimism": "OPTIMISM_MAINNET_RPC=$(grep OPTIMISM_MAINNET_RPC .env | cut -d '=' -f2) && anvil --fork-url $OPTIMISM_MAINNET_RPC", "anvil:kill": "lsof -i :8545|tail -n +2|awk '{print $2}'|xargs -r kill -s SIGINT", "test": "./scripts/unit-tests.sh", From aff68a223b7e97f39c8f94476c9772c2a0b5cee8 Mon Sep 17 00:00:00 2001 From: brdy <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:36:00 -0600 Subject: [PATCH 22/24] undo the removal of chainIds from testIds (#1779) Added back the chainIds to the testIds, and also removed the reliance on chainId `1337` (hardhat) from unit tests. this was a step back to the larger goal of e2e L2 support --- e2e/serial/swap/1_swapFlow1.test.ts | 75 ++++++++----------- e2e/serial/swap/2_swapFlow2.test.ts | 8 +- e2e/serial/swap/3_shortcuts-swapFlow.test.ts | 14 ++-- scripts/e2e-serial-tests.sh | 2 +- scripts/unit-tests.sh | 2 +- src/core/raps/actions/crosschainSwap.test.ts | 9 ++- src/core/raps/actions/swap.test.ts | 10 +-- src/core/raps/actions/swap.ts | 7 +- src/core/raps/actions/unlock.test.ts | 20 ++--- src/core/raps/actions/unlock.ts | 16 +--- src/core/raps/unlockAndSwap.test.ts | 14 ++-- .../swap/SwapTokenInput/TokenToBuyInput.tsx | 2 +- .../swap/SwapTokenInput/TokenToSellInput.tsx | 2 +- 13 files changed, 79 insertions(+), 102 deletions(-) diff --git a/e2e/serial/swap/1_swapFlow1.test.ts b/e2e/serial/swap/1_swapFlow1.test.ts index d79105d074..709f3a26ce 100644 --- a/e2e/serial/swap/1_swapFlow1.test.ts +++ b/e2e/serial/swap/1_swapFlow1.test.ts @@ -269,7 +269,7 @@ it.skip('should be able to set default values for settings and go back to swap', it('should be able to open token to sell input and select assets', async () => { await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -291,7 +291,7 @@ it('should be able to open token to sell input and select assets', async () => { driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); @@ -305,7 +305,7 @@ it('should be able to open token to sell input and select assets', async () => { driver, }); const toBuyInputEthSelected = await findElementByTestId({ - id: `token-to-buy-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputEthSelected).toBeTruthy(); @@ -335,7 +335,7 @@ it('should be able to select same asset than asset to buy as asset to sell and r driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); @@ -358,7 +358,7 @@ it('should be able to open press max on token to sell input', async () => { driver, }); const ethValueBeforeGas = await getTextFromTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(ethValueBeforeGas).toEqual('10000'); @@ -371,7 +371,7 @@ it('should be able to open press max on token to sell input', async () => { it('should be able to remove token to sell and select it again', async () => { await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -379,13 +379,13 @@ it('should be able to remove token to sell and select it again', async () => { driver, }); const toSellInputEthSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); // should clear input value const ethValueAfterSelection = await getTextFromTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(ethValueAfterSelection).not.toEqual(''); @@ -407,7 +407,7 @@ it('should be able to open token to buy input and select assets', async () => { }); expect(elementFound).toBeFalsy(); const toBuyInputDaiSelected = await findElementByTestId({ - id: `token-to-buy-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(toBuyInputDaiSelected).toBeTruthy(); @@ -431,6 +431,7 @@ it('should be able to type native amount on sell input', async () => { text: 1, driver, }); + await delay(10_000); const fiatValueText = await getTextFromTextInput({ id: 'token-to-sell-info-fiat-value-input', driver, @@ -438,13 +439,13 @@ it('should be able to type native amount on sell input', async () => { expect(fiatValueText).toBe('1'); const assetToSellInputText = await getTextFromTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputText).not.toBe(''); const assetToBuyInputText = await getTextFromTextInput({ - id: `token-to-buy-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputText).not.toBe(''); @@ -452,7 +453,7 @@ it('should be able to type native amount on sell input', async () => { it('should be able to open remove token to buy and check favorites and verified lists are visible', async () => { await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-buy-token-input-remove`, driver, }); const favoritesSection = await findElementByTestId({ @@ -500,24 +501,24 @@ it('should be able to check price and balance of token to buy', async () => { it('should be able to flip correctly', async () => { await findElementByTestIdAndDoubleClick({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); await typeOnTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, text: 1, driver, }); const assetToSellInputText = await getTextFromTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputText).toBe('1'); const assetToBuyInputText = await getTextFromTextInput({ - id: `token-to-buy-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputText).not.toBe(''); @@ -528,14 +529,14 @@ it('should be able to flip correctly', async () => { }); const assetToSellInputTextAfterFlip = await getTextFromTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(assetToSellInputTextAfterFlip).not.toEqual(''); const assetToBuyInputTextAfterFlip = await getTextFromTextInput({ - id: `token-to-buy-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-swap-token-input-swap-input-mask`, driver, }); expect(assetToBuyInputTextAfterFlip).toEqual('1'); @@ -556,7 +557,7 @@ it('should be able to check insufficient native asset for gas', async () => { }); await typeOnTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, text: `\b10000`, driver, }); @@ -578,7 +579,7 @@ it.skip('should be able to see small market warning', async () => { it('should be able to filter assets to buy by network', async () => { // OP await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -601,7 +602,7 @@ it('should be able to filter assets to buy by network', async () => { }); // POLYGON await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -624,7 +625,7 @@ it('should be able to filter assets to buy by network', async () => { }); // ARBITRUM await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.POL_POLYGON_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -659,7 +660,7 @@ it('should be able to filter assets to buy by network', async () => { // BNB await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.GMX_ARBITRUM_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -675,8 +676,6 @@ it('should be able to filter assets to buy by network', async () => { driver, text: 'uni', }); - await delayTime('medium'); - // this token is occassionally included in 'popular in rainbow.' // tokens are only set to appear in one section at a time, so if // it is in that section, the test will fail without this try / catch. @@ -692,7 +691,7 @@ it('should be able to filter assets to buy by network', async () => { }); } await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.UNI_BNB_ID}-token-to-buy-token-input-remove`, driver, }); }); @@ -723,7 +722,7 @@ it.skip('should be able to see no route explainer', async () => { }); await delayTime('long'); await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -784,7 +783,7 @@ it.skip('should be able to see no route explainer', async () => { // same asset on other networks does not show in testnet mode (makes sense we won't crosschain sepolia -> mainnet) it.skip('should be able to find exact match on other networks', async () => { await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, + id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -796,7 +795,7 @@ it.skip('should be able to find exact match on other networks', async () => { driver, }); await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.GMX_ARBITRUM_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -823,25 +822,21 @@ it.skip('should be able to find exact match on other networks', async () => { driver, }); await findElementByTestIdAndClick({ - id: `token-to-buy-token-input-remove`, + id: `${SWAP_VARIABLES.OP_OPTIMISM_ID}-token-to-buy-token-input-remove`, driver, }); await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, + id: 'token-to-buy-search-token-input', driver, }); }); it('should be able to go to review a swap', async () => { const toSellInputEthSelected = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); expect(toSellInputEthSelected).toBeTruthy(); - await findElementByTestIdAndClick({ - id: 'token-to-buy-search-token-input', - driver, - }); await findElementByTestIdAndClick({ id: 'token-to-buy-networks-trigger', @@ -851,7 +846,6 @@ it('should be able to go to review a swap', async () => { id: `switch-network-item-${ChainId.mainnet}`, driver, }); - await typeOnTextInput({ id: 'token-to-buy-search-token-input', driver, @@ -861,13 +855,8 @@ it('should be able to go to review a swap', async () => { id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-favorites-token-to-buy-row`, driver, }); - const toBuyInputUSDCSelected = await findElementByTestId({ - id: `token-to-buy-swap-token-input-swap-input-mask`, - driver, - }); - expect(toBuyInputUSDCSelected).toBeTruthy(); - await delay(2000); + await delay(5_000); toSellInputEthSelected.clear(); toSellInputEthSelected.sendKeys('1'); diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index 530c7127b2..719cd337e8 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -128,7 +128,7 @@ describe('Swap Flow 2', () => { it('should be able to go to review a unlock and swap', async () => { await findElementByTestIdAndClick({ - id: `token-to-sell-token-input-remove`, + id: `${SWAP_VARIABLES.ETH_MAINNET_ID}-token-to-sell-token-input-remove`, driver, }); await findElementByTestIdAndClick({ @@ -136,16 +136,16 @@ describe('Swap Flow 2', () => { driver, }); await findElementByTestIdAndClick({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); await delayTime('very-long'); await clearInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); await typeOnTextInput({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${SWAP_VARIABLES.USDC_MAINNET_ID}-token-to-sell-swap-token-input-swap-input-mask`, text: `\b50`, driver, }); diff --git a/e2e/serial/swap/3_shortcuts-swapFlow.test.ts b/e2e/serial/swap/3_shortcuts-swapFlow.test.ts index 60939ff200..63562874b7 100644 --- a/e2e/serial/swap/3_shortcuts-swapFlow.test.ts +++ b/e2e/serial/swap/3_shortcuts-swapFlow.test.ts @@ -128,7 +128,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const inputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-token-to-sell-token-input`, + id: `input-wrapper-dropdown-${ethId}-token-to-sell-token-input`, driver, }); expect(inputCurrency).toBeTruthy(); @@ -147,7 +147,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const outputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-token-to-buy-token-input`, + id: `input-wrapper-dropdown-${usdcId}-token-to-buy-token-input`, driver, }); expect(outputCurrency).toBeTruthy(); @@ -156,7 +156,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { it('should be able to set max amount with shortcut', async () => { await executePerformShortcut({ driver, key: 'm' }); const inputItem = await findElementByTestId({ - id: `token-to-sell-swap-token-input-swap-input-mask`, + id: `${ethId}-token-to-sell-swap-token-input-swap-input-mask`, driver, }); const inputAmount = await inputItem.getAttribute('value'); @@ -169,10 +169,10 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { driver, }); expect(switchNetworkLabel).toBe(false); - // open swap field by removing usdc output + // open swap field by removing dai output await navigateToElementWithTestId({ driver, - testId: `token-to-buy-token-input-remove`, + testId: `${usdcId}-token-to-buy-token-input-remove`, }); // input is focussed, so have to tab out to use shortcut 'n' await executePerformShortcut({ driver, key: 'TAB' }); @@ -208,7 +208,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { await executePerformShortcut({ driver, key: 'x' }); await checkExtensionURL(driver, 'swap'); const inputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-token-to-sell-token-input`, + id: `input-wrapper-dropdown-${ethId}-token-to-sell-token-input`, driver, }); expect(inputCurrency).toBeTruthy(); @@ -246,7 +246,7 @@ describe('Complete swap flow via shortcuts and keyboard navigation', () => { }); const outputCurrency = await findElementByTestId({ - id: `input-wrapper-dropdown-token-to-buy-token-input`, + id: `input-wrapper-dropdown-${usdcId}-token-to-buy-token-input`, driver, }); expect(outputCurrency).toBeTruthy(); diff --git a/scripts/e2e-serial-tests.sh b/scripts/e2e-serial-tests.sh index 2dc6deba83..fdbf5ab96e 100755 --- a/scripts/e2e-serial-tests.sh +++ b/scripts/e2e-serial-tests.sh @@ -7,7 +7,7 @@ RETRY_COUNT=0 launch_anvil() { # Launch anvil in the bg yarn anvil:kill - yarn anvil --chain-id 1337 & + yarn anvil --chain-id 1337 & echo "Launching Anvil..." # Give it some time to boot diff --git a/scripts/unit-tests.sh b/scripts/unit-tests.sh index cfd8fa4368..87d76e548e 100755 --- a/scripts/unit-tests.sh +++ b/scripts/unit-tests.sh @@ -7,7 +7,7 @@ source .env set +a yarn anvil:kill -yarn anvil --chain-id 1337 > anvil-unit.log 2>&1 & +yarn anvil > anvil-unit.log 2>&1 & echo "Launching Anvil..." # Give it some time to boot diff --git a/src/core/raps/actions/crosschainSwap.test.ts b/src/core/raps/actions/crosschainSwap.test.ts index 1c4565d0b6..df227b3a9a 100644 --- a/src/core/raps/actions/crosschainSwap.test.ts +++ b/src/core/raps/actions/crosschainSwap.test.ts @@ -5,10 +5,11 @@ import { QuoteError, getCrosschainQuote, } from '@rainbow-me/swaps'; +import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; -import { ChainId, chainHardhat } from '~/core/types/chains'; +import { ChainId } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { @@ -27,7 +28,7 @@ let crosschainQuote: CrosschainQuote | QuoteError | null; beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([chainHardhat]); + updateWagmiConfig([mainnet]); await delay(3000); crosschainQuote = await getCrosschainQuote({ chainId: 1, @@ -44,7 +45,7 @@ beforeAll(async () => { test('[rap/crosschainSwap] :: should estimate crosschain swap gas limit', async () => { const swapGasLimit = await estimateCrosschainSwapGasLimit({ - chainId: chainHardhat.id, + chainId: mainnet.id, requiresApprove: false, quote: { ...crosschainQuote, @@ -54,7 +55,7 @@ test('[rap/crosschainSwap] :: should estimate crosschain swap gas limit', async }); test('[rap/crosschainSwap] :: should execute crosschain swap', async () => { - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_3, provider); const swapTx = await executeCrosschainSwap({ diff --git a/src/core/raps/actions/swap.test.ts b/src/core/raps/actions/swap.test.ts index 80241d51d9..b6b312e205 100644 --- a/src/core/raps/actions/swap.test.ts +++ b/src/core/raps/actions/swap.test.ts @@ -5,10 +5,10 @@ import { QuoteError, getQuote, } from '@rainbow-me/swaps'; +import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; -import { chainHardhat } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { TEST_ADDRESS_2, TEST_PK_2, delay } from '~/test/utils'; @@ -19,7 +19,7 @@ let quote: Quote | QuoteError | null; beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([chainHardhat]); + updateWagmiConfig([mainnet]); await delay(3000); quote = await getQuote({ chainId: 1, @@ -36,7 +36,7 @@ beforeAll(async () => { test('[rap/swap] :: should estimate swap gas limit', async () => { const swapGasLimit = await estimateSwapGasLimit({ - chainId: chainHardhat.id, + chainId: mainnet.id, requiresApprove: false, quote: quote as Quote, }); @@ -45,10 +45,10 @@ test('[rap/swap] :: should estimate swap gas limit', async () => { }); test('[rap/swap] :: should execute swap', async () => { - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_2, provider); const swapTx = await executeSwap({ - chainId: chainHardhat.id, + chainId: mainnet.id, gasLimit: '600000', gasParams: { maxFeePerGas: '800000000000', diff --git a/src/core/raps/actions/swap.ts b/src/core/raps/actions/swap.ts index d533c63ab2..c9b510c453 100644 --- a/src/core/raps/actions/swap.ts +++ b/src/core/raps/actions/swap.ts @@ -19,7 +19,6 @@ import { Address } from 'viem'; import { metadataPostClient } from '~/core/graphql'; import { getChainGasUnits } from '~/core/references/chains'; -import { useConnectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; import { ChainId } from '~/core/types/chains'; import { NewTransaction, TxHash } from '~/core/types/transactions'; import { add } from '~/core/utils/numbers'; @@ -60,10 +59,8 @@ export const estimateSwapGasLimit = async ({ requiresApprove?: boolean; quote: Quote; }): Promise => { - const { connectedToHardhat } = useConnectedToHardhatStore.getState(); - const provider = getProvider({ - chainId: connectedToHardhat ? ChainId.hardhat : chainId, - }); + const provider = getProvider({ chainId }); + if (!provider || !quote) { return getChainGasUnits(chainId).basic.swap; } diff --git a/src/core/raps/actions/unlock.test.ts b/src/core/raps/actions/unlock.test.ts index 2441fa3e5d..e057904653 100644 --- a/src/core/raps/actions/unlock.test.ts +++ b/src/core/raps/actions/unlock.test.ts @@ -1,10 +1,10 @@ import { Wallet } from '@ethersproject/wallet'; import { getRainbowRouterContractAddress } from '@rainbow-me/swaps'; import { Address } from 'viem'; +import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { connectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; -import { chainHardhat } from '~/core/types/chains'; import { updateWagmiConfig } from '~/core/wagmi'; import { getProvider } from '~/core/wagmi/clientToProvider'; import { @@ -23,7 +23,7 @@ import { beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([chainHardhat]); + updateWagmiConfig([mainnet]); await delay(3000); }); @@ -31,8 +31,8 @@ test('[rap/unlock] :: get raw allowance', async () => { const params = { owner: RAINBOW_WALLET_ADDRESS as `0x${string}`, assetAddress: USDC_MAINNET_ASSET.address as `0x${string}`, - spender: getRainbowRouterContractAddress(chainHardhat.id), - chainId: chainHardhat.id, + spender: getRainbowRouterContractAddress(mainnet.id), + chainId: mainnet.id, }; const rawAllowance = await getAssetRawAllowance(params); @@ -44,8 +44,8 @@ test('[rap/unlock] :: asset needs unlocking', async () => { amount: '1000', owner: RAINBOW_WALLET_ADDRESS, assetToUnlock: USDC_MAINNET_ASSET, - spender: getRainbowRouterContractAddress(chainHardhat.id), - chainId: chainHardhat.id, + spender: getRainbowRouterContractAddress(mainnet.id), + chainId: mainnet.id, }); expect(needsUnlocking).toBe(true); }); @@ -54,14 +54,14 @@ test('[rap/unlock] :: estimate approve', async () => { const approveGasLimit = await estimateApprove({ owner: RAINBOW_WALLET_ADDRESS, tokenAddress: USDC_MAINNET_ASSET.address as Address, - spender: getRainbowRouterContractAddress(chainHardhat.id), - chainId: chainHardhat.id, + spender: getRainbowRouterContractAddress(mainnet.id), + chainId: mainnet.id, }); expect(Number(approveGasLimit)).toBeGreaterThan(0); }); test('[rap/unlock] :: should execute approve', async () => { - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const approvalTx = await executeApprove({ gasLimit: '60000', @@ -69,7 +69,7 @@ test('[rap/unlock] :: should execute approve', async () => { maxFeePerGas: '800000000000', maxPriorityFeePerGas: '2000000000', }, - spender: getRainbowRouterContractAddress(chainHardhat.id), + spender: getRainbowRouterContractAddress(mainnet.id), tokenAddress: USDC_MAINNET_ASSET.address as Address, wallet, }); diff --git a/src/core/raps/actions/unlock.ts b/src/core/raps/actions/unlock.ts index 954acebd5e..8000a01362 100644 --- a/src/core/raps/actions/unlock.ts +++ b/src/core/raps/actions/unlock.ts @@ -6,7 +6,6 @@ import { Address, Hash, erc20Abi, erc721Abi } from 'viem'; import { getChainGasUnits } from '~/core/references/chains'; import { gasStore } from '~/core/state'; -import { useConnectedToHardhatStore } from '~/core/state/currentSettings/connectedToHardhat'; import { ChainId } from '~/core/types/chains'; import { TransactionGasParams, @@ -39,10 +38,7 @@ export const getAssetRawAllowance = async ({ chainId: ChainId; }) => { try { - const { connectedToHardhat } = useConnectedToHardhatStore.getState(); - const provider = await getProvider({ - chainId: connectedToHardhat ? ChainId.hardhat : chainId, - }); + const provider = getProvider({ chainId }); const tokenContract = new Contract(assetAddress, erc20Abi, provider); const allowance = await tokenContract.allowance(owner, spender); return allowance.toString(); @@ -94,10 +90,7 @@ export const estimateApprove = async ({ chainId: ChainId; }): Promise => { try { - const { connectedToHardhat } = useConnectedToHardhatStore.getState(); - const provider = getProvider({ - chainId: connectedToHardhat ? ChainId.hardhat : chainId, - }); + const provider = getProvider({ chainId }); const tokenContract = new Contract(tokenAddress, erc20Abi, provider); const gasLimit = await tokenContract.estimateGas.approve( spender, @@ -129,10 +122,7 @@ export const populateApprove = async ({ chainId: ChainId; }): Promise => { try { - const { connectedToHardhat } = useConnectedToHardhatStore.getState(); - const provider = getProvider({ - chainId: connectedToHardhat ? ChainId.hardhat : chainId, - }); + const provider = getProvider({ chainId }); const tokenContract = new Contract(tokenAddress, erc20Abi, provider); const approveTransaction = await tokenContract.populateTransaction.approve( spender, diff --git a/src/core/raps/unlockAndSwap.test.ts b/src/core/raps/unlockAndSwap.test.ts index 673e6707de..8be7c80b8b 100644 --- a/src/core/raps/unlockAndSwap.test.ts +++ b/src/core/raps/unlockAndSwap.test.ts @@ -5,6 +5,7 @@ import { QuoteError, getQuote, } from '@rainbow-me/swaps'; +import { mainnet } from 'viem/chains'; import { beforeAll, expect, test } from 'vitest'; import { @@ -19,7 +20,6 @@ import { import { gasStore } from '../state'; import { connectedToHardhatStore } from '../state/currentSettings/connectedToHardhat'; -import { chainHardhat } from '../types/chains'; import { GasSpeed } from '../types/gas'; import { updateWagmiConfig } from '../wagmi'; import { getProvider } from '../wagmi/clientToProvider'; @@ -58,7 +58,7 @@ const SELECTED_GAS = { beforeAll(async () => { connectedToHardhatStore.setState({ connectedToHardhat: true }); - updateWagmiConfig([chainHardhat]); + updateWagmiConfig([mainnet]); await delay(3000); doesntNeedUnlockQuote = await getQuote({ chainId: 1, @@ -153,7 +153,7 @@ test('[rap/unlockAndSwap] :: create unlock and swap rap without unlock', async ( }); test('[rap/unlockAndSwap] :: create unlock and swap rap without unlock and execute it', async () => { - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: doesntNeedUnlockQuote as Quote, @@ -181,7 +181,7 @@ test('[rap/unlockAndSwap] :: create swap rap and execute it', async () => { setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: ethToEnsQuote as Quote, @@ -198,7 +198,7 @@ test('[rap/unlockAndSwap] :: create unlock and swap rap with unlock and execute setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: needsUnlockQuote as Quote, @@ -215,7 +215,7 @@ test('[rap/unlockAndSwap] :: create unlock and wrap eth rap with unlock and exec setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: wrapEthQuote as Quote, @@ -243,7 +243,7 @@ test('[rap/unlockAndSwap] :: create unwrap weth rap and execute it', async () => setSelectedGas({ selectedGas: SELECTED_GAS, }); - const provider = getProvider({ chainId: chainHardhat.id }); + const provider = getProvider({ chainId: mainnet.id }); const wallet = new Wallet(TEST_PK_1, provider); const swap = await walletExecuteRap(wallet, 'swap', { quote: unwrapEthQuote as Quote, diff --git a/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx b/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx index cf17feeb8c..e1a04d0b7c 100644 --- a/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx +++ b/src/entries/popup/pages/swap/SwapTokenInput/TokenToBuyInput.tsx @@ -112,7 +112,7 @@ export const TokenToBuyInput = forwardRef(function TokenToBuyInput( return ( Date: Thu, 12 Dec 2024 10:41:30 -0600 Subject: [PATCH 23/24] bad merge oops --- e2e/serial/swap/2_swapFlow2.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/serial/swap/2_swapFlow2.test.ts b/e2e/serial/swap/2_swapFlow2.test.ts index af46964e3c..5b0d164630 100644 --- a/e2e/serial/swap/2_swapFlow2.test.ts +++ b/e2e/serial/swap/2_swapFlow2.test.ts @@ -2,6 +2,7 @@ import 'chromedriver'; import 'geckodriver'; import { Contract } from '@ethersproject/contracts'; import { StaticJsonRpcProvider } from '@ethersproject/providers'; +import { ChainId } from '@rainbow-me/swaps'; import { Key, WebDriver } from 'selenium-webdriver'; import { erc20Abi } from 'viem'; import { @@ -18,11 +19,14 @@ import { clearInput, delay, delayTime, + doNotFindElementByTestId, fillPrivateKey, + findElementByTestId, findElementByTestIdAndClick, findElementByText, getExtensionIdByName, getRootUrl, + getTextFromText, goToPopup, goToWelcome, initDriverWithOptions, From 60196a99198901384e3adfc12946a4179d93158d Mon Sep 17 00:00:00 2001 From: BrodyHughes <41711440+BrodyHughes@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:54:00 -0600 Subject: [PATCH 24/24] failOnError: false --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a29bd07192..51398f3987 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -460,6 +460,8 @@ jobs: - uses: geekyeggo/delete-artifact@v5 with: name: node_modules.tar.gz + failOnError: false - uses: geekyeggo/delete-artifact@v5 with: name: screenshots + failOnError: false