/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:225
const error: any = new Error(message);
^
Error: invalid BigNumber value (argument="value", value=[500], code=INVALID_ARGUMENT, version=bignumber/5.5.0)
at Logger.makeError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:225:28)
at Logger.throwError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:237:20)
at Logger.throwArgumentError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:241:21)
at Function.BigNumber.from (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts:291:23)
at NumberCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/number.ts:25:27)
at /home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/array.ts:71:19
at Array.forEach ()
at pack (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/array.ts:54:12)
at TupleCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/tuple.ts:54:20)
at AbiCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/abi-coder.ts:112:15) {
reason: 'invalid BigNumber value',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: [ 500 ]
}
Waiting for the debugger to disconnect...
[nodemon] app crashed - waiting for file changes before starting...
/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:225 const error: any = new Error(message); ^ Error: invalid BigNumber value (argument="value", value=[500], code=INVALID_ARGUMENT, version=bignumber/5.5.0) at Logger.makeError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:225:28) at Logger.throwError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:237:20) at Logger.throwArgumentError (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/logger/src.ts/index.ts:241:21) at Function.BigNumber.from (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts:291:23) at NumberCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/number.ts:25:27) at /home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/array.ts:71:19 at Array.forEach ()
at pack (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/array.ts:54:12)
at TupleCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/coders/tuple.ts:54:20)
at AbiCoder.encode (/home/h4ckm1n/Documents/GitHub/poly-flashloan-bot/node_modules/@ethersproject/abi/src.ts/abi-coder.ts:112:15) {
reason: 'invalid BigNumber value',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: [ 500 ]
}
Waiting for the debugger to disconnect...
[nodemon] app crashed - waiting for file changes before starting...