You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error msg
error Error: Returned error: execution reverted
at Object.ErrorResponse (C:\not\node_modules\web3-core-helpers\lib\errors.js:28:19)
at Object.callback (C:\not\node_modules\web3-core-requestmanager\lib\index.js:303:36)
at C:\not\node_modules\web3-providers-ws\lib\index.js:114:45
at Array.forEach ()
at WebsocketProvider._onMessage (C:\not\node_modules\web3-providers-ws\lib\index.js:102:69)
at W3CWebSocket._dispatchEvent [as dispatchEvent] (C:\not\node_modules\yaeti\lib\EventTarget.js:115:12)
at W3CWebSocket.onMessage (C:\not\node_modules\websocket\lib\W3CWebSocket.js:234:14)
at WebSocketConnection. (C:\not\node_modules\websocket\lib\W3CWebSocket.js:205:19)
at WebSocketConnection.emit (events.js:376:20)
at WebSocketConnection.processFrame (C:\not\node_modules\websocket\lib\WebSocketConnection.js:554:26)
at C:\not\node_modules\websocket\lib\WebSocketConnection.js:323:40
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
data: null
The text was updated successfully, but these errors were encountered:
const BNB_MAINNET = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c';
const BUSD_MAINNET = '0x3710cd84e0e331c99c70a34b8c6c136c2cdf91c4';
const prices = {};
const flashswap = new web3.eth.Contract(FlashswapApi, FLASHSWAP_CONTRACT);
const pairs = [
{
name: 'BUSD/BNB pancake>panther',
tokenBorrow: BUSD_MAINNET,
amountTokenPay: 10,
Error msg
error Error: Returned error: execution reverted
at Object.ErrorResponse (C:\not\node_modules\web3-core-helpers\lib\errors.js:28:19)
at Object.callback (C:\not\node_modules\web3-core-requestmanager\lib\index.js:303:36)
at C:\not\node_modules\web3-providers-ws\lib\index.js:114:45
at Array.forEach ()
at WebsocketProvider._onMessage (C:\not\node_modules\web3-providers-ws\lib\index.js:102:69)
at W3CWebSocket._dispatchEvent [as dispatchEvent] (C:\not\node_modules\yaeti\lib\EventTarget.js:115:12)
at W3CWebSocket.onMessage (C:\not\node_modules\websocket\lib\W3CWebSocket.js:234:14)
at WebSocketConnection. (C:\not\node_modules\websocket\lib\W3CWebSocket.js:205:19)
at WebSocketConnection.emit (events.js:376:20)
at WebSocketConnection.processFrame (C:\not\node_modules\websocket\lib\WebSocketConnection.js:554:26)
at C:\not\node_modules\websocket\lib\WebSocketConnection.js:323:40
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
data: null
The text was updated successfully, but these errors were encountered: