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
Currently, the contract function types generated by abitype force you to pass a BigNumber for big int arguments, but the ethers.Contract object actually accepts BigNumberish types like number and string.
It doesn't seem like there is a way to distinguish between the argument type and the return type (the return type should stay the strict BigNumber)
The text was updated successfully, but these errors were encountered:
Currently, the contract function types generated by abitype force you to pass a
BigNumber
for big int arguments, but theethers.Contract
object actually acceptsBigNumber
ish types likenumber
andstring
.It doesn't seem like there is a way to distinguish between the argument type and the return type (the return type should stay the strict
BigNumber
)The text was updated successfully, but these errors were encountered: