I tried to interact with this contract : https://polygonscan.com/address/0x86935f11c86623dec8a25696e1c19a8659cbf95d#code.
with ABI seems weird to me :
const abi = [
{
inputs: [
{
internalType: 'address',
name: '_contractOwner',
type: 'address',
},
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
stateMutability: 'payable',
type: 'fallback',
},
];
Here is my code :
const walletMnemonic = Wallet.fromMnemonic(
'aaa bbb ccc'
);
const provider = new ethers.providers.Web3Provider(window.ethereum);
const wallet = walletMnemonic.connect(provider);
const erc20_rw = new ethers.Contract(address, abi, wallet);
const contract = erc20_rw.connect(wallet);
const name = await contract.name();
console.log('name', name);
When I run this code, I got this error:

Do I miss something ?