TENDERLY TESTING: TokenIn: 1 Eth TokenToBuy: USDC percentage: 10000 - 100% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/1ab07e23-e9bd-4a0c-ba6e-4a0da8b4940a TokenIn: 1 Eth TokenToBuy: USDC percentage: 5000 - 50% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/71144c9f-2425-4889-8594-8546116c4031 TokenIn: 1 Eth TokenToBuy: USDT percentage: 5000 - 50% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/71144c9f-2425-4889-8594-8546116c4031 TokenIn: 20 Eth TokenToBuy: USDT percentage: 5000 - 50% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/3dc8151a-d861-470b-8833-dcf58fdfa186 TokenIn: 20 Eth TokenToBuy: USDT percentage: 10000 - 100% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/f22b3f0a-df73-45f8-a828-af4129be5760 TokenIn: 200 Eth TokenToBuy: USDT percentage: 10000 - 100% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/1fc707c2-3714-443e-b0f8-dab9de3e1621 # MAINNET TESTING: ## ERC20 Flow: working -----Approval----- API call: `api.enso.finance/api/v1/wallet/approve?chainId=1&fromAddress=0x826e0BB2276271eFdF2a500597f37b94f6c153bA&tokenAddress=0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84&amount=10000000000000000` Etherscan tx: https://etherscan.io/tx/0xa66b0935170580e59b7ddd9b67a5e957ff1b1d31daecf737dbe912c059018d12 API call: `curl -X 'POST' \ 'https://api.enso.finance/api/v1/shortcuts/static/ipor?chainId=1&fromAddress=0x826e0BB2276271eFdF2a500597f37b94f6c153bA' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "amountIn": "10000000000000000", "tokenIn": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84", "tokenBToBuy": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "percentageForTokenB": "5000", "slippage": "300" }'` Etherscan TX: https://etherscan.io/tx/0xe94813fff640b96b6ed9a9c442562e1edf7b2e9de5ba22c629e7785b78addc92 ## ETH as input flow: working `curl -X 'POST' \ 'https://api.enso.finance/api/v1/shortcuts/static/ipor?chainId=1&fromAddress=0x826e0BB2276271eFdF2a500597f37b94f6c153bA' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "amountIn": "1000000000000000", "tokenIn": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "tokenBToBuy": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "percentageForTokenB": "5000", "slippage": "300" }'` # Fee testing # 0.3% Etherscan TX: https://etherscan.io/tx/0xe94813fff640b96b6ed9a9c442562e1edf7b2e9de5ba22c629e7785b78addc92 # 0.25% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/2d1ad9a9-2e0d-4aa9-9b07-71fe24ebc312 # 0.2% https://dashboard.tenderly.co/public/enso-finance/enso-shortcuts/simulator/c04bcf2b-9ebb-4f22-8e74-6df857dbc109
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up