-
I'm attempting to do a simple Normally I would just use the following code: let contract = new ethers.Contract(
'0x0e8d5504bf54d9e44260f8d153ecd5412130cabb',
["function balanceOf(address account) external view returns (uint256)"],
provider
);
let balance = await provider.balanceOf(myAddress); But this contract uses a proxy implementation contract (https://bscscan.com/address/0xa126c73d1bdf3a3d5f719a8d38a4692186e7503f#code). I am able to call |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This discussion can be deleted, those code I posted does work on the proxy contract |
Beta Was this translation helpful? Give feedback.
This discussion can be deleted, those code I posted does work on the proxy contract