PrastianHD / plume-testnet

This script is made for Plume Testnet, can be used for multiwallet. Features checkin, claim ETH and GOON faucet, Swap GOON to goonUSD, and stake goonUSD
29 stars 7 forks source link

need help, predict error ! #9

Closed arronf2e closed 1 month ago

arronf2e commented 1 month ago

code: const tx = await contract.predictPriceMovement(pairIndex, isLong)

2024-07-25 20:29:09 [error]: Error calling predictPriceMovement: transaction execution reverted (action="sendTransaction", data=null, reason=null, invocation=null, revert=null, transaction={ "data": "", "from": "0x7202c661acaebC9B0A3B0e4faf1aeDb28dBb78e5", "to": "0x032139f44650481f4d6000c078820B8E734bF253" }, receipt={ "_type": "TransactionReceipt", "blobGasPrice": null, "blobGasUsed": null, "blockHash": "0x5eedfbc2eb0f075285dbe9c7b1761c69bac499cfdeb105c33ea7f4c86324a312", "blockNumber": 5854370, "contractAddress": null, "cumulativeGasUsed": "3532684", "from": "0x7202c661acaebC9B0A3B0e4faf1aeDb28dBb78e5", "gasPrice": "668300000", "gasUsed": "128417", "hash": "0xc2f488464712b5a2588311710a45e367d445ed5fcf2c0370ff540a95cb200c37", "index": 18, "logs": [ ], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "root": null, "status": 0, "to": "0x032139f44650481f4d6000c078820B8E734bF253" }, code=CALL_EXCEPTION, version=6.13.1). Retrying 1/3 in 2 seconds...