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
This error is thrown out after successfully mined transaction, in my case it is minting new tokens. Minting works fine, but this error is thrown out after every successful mint or any other transactions like transfer etc.
This is my code but simplified:
import { utils } from 'ethers';
import { Contract } from '@ethersproject/contracts'
import { useContractFunction } from '@usedapp/core';
function Mint() {
const citInterface = new utils.Interface(['function mint(uint amount) external']);
const citContractAddress = '0xd2539E040A79D9597310D96aD17C96518168A63F';
const contract = new Contract(citContractAddress, citInterface);
const { send } = useContractFunction(contract, 'mint');
const callMint = (mintAmount) => {
send(mintAmount*10**8);
}
// method callMint is called when I input some number and click on button
}
I have googled this error and stumbled across this ethers-io/ethers.js#733 . I am not quite experienced so I don't know how to fix this.
The text was updated successfully, but these errors were encountered:
Still happening to me: code=INVALID_ARGUMENT, version=abi/5.2.0
mirkopezo
changed the title
Error: no matching event (argument="topichash", value="0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", code=INVALID_ARGUMENT, version=abi/5.4.0)
Error: no matching event (argument="topichash", value="...", code=INVALID_ARGUMENT, version=abi/5.4.0)
Aug 30, 2021
mirkopezo
changed the title
Error: no matching event (argument="topichash", value="...", code=INVALID_ARGUMENT, version=abi/5.4.0)
Error: no matching event (argument="topichash", value="0xddf25...", code=INVALID_ARGUMENT, version=abi/5.4.0)
Aug 30, 2021
This error is thrown out after successfully mined transaction, in my case it is minting new tokens. Minting works fine, but this error is thrown out after every successful mint or any other transactions like transfer etc.
This is my code but simplified:
I have googled this error and stumbled across this ethers-io/ethers.js#733 . I am not quite experienced so I don't know how to fix this.
The text was updated successfully, but these errors were encountered: