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: Invalid number of parameters for "getExpectedRate". Got 3 expected 4!
at Object.InvalidNumberOfParams (/home/skygate/Dokumenty/blockchain/price-bot/node_modules/web3-core-helpers/src/errors.js:32:16)
at Object._createTxObject (/home/skygate/Dokumenty/blockchain/price-bot/node_modules/web3-eth-contract/src/index.js:699:22)
at checkPair (/home/skygate/Dokumenty/blockchain/price-bot/index.js:69:6)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at monitorPrice (/home/skygate/Dokumenty/blockchain/price-bot/index.js:102:5)
at Timeout._onTimeout (/home/skygate/Dokumenty/blockchain/price-bot/index.js:146:3)
The text was updated successfully, but these errors were encountered:
You should find and delete "{"name":"usePermissionless","type":"bool"}" in the KYBER_RATE_ABI. It is a description of that parameter which you removed. And also you don't need to change name of the function "slippageRate" or you will need to change the name of it also in the descritprion in the KYBER_RATE_ABI. Idk why he didn't mentioned it. I took for me about 5 hours to figure it out.
When I pulled changes from PR#13 i go this error:
Error: Invalid number of parameters for "getExpectedRate". Got 3 expected 4!
at Object.InvalidNumberOfParams (/home/skygate/Dokumenty/blockchain/price-bot/node_modules/web3-core-helpers/src/errors.js:32:16)
at Object._createTxObject (/home/skygate/Dokumenty/blockchain/price-bot/node_modules/web3-eth-contract/src/index.js:699:22)
at checkPair (/home/skygate/Dokumenty/blockchain/price-bot/index.js:69:6)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at monitorPrice (/home/skygate/Dokumenty/blockchain/price-bot/index.js:102:5)
at Timeout._onTimeout (/home/skygate/Dokumenty/blockchain/price-bot/index.js:146:3)
The text was updated successfully, but these errors were encountered: