Closed samuraisam closed 6 years ago
Well, turns out that writing this comment helped me figure it out. The result of the previous call (to get the authorizer address) returns a tuple (as do all function calls on contracts using ethers.js) so all I had to do was unwrap the result and pass the correct data type to the contract constructor and it worked great!
I was almost done my response. Glad you got it. :)
I do need make better error messages...
Thanks! Great work on this library :)
I am receiving the below error when trying to call the
isAuthorizer('0x001702423633bF0Bdba9d357403940A6A2F860f5')
function on the contract. The contract is on the ropsten network, and the address is embedded in the contract debug below. Is there a workaround for this issue, or am I doing something wrong? Strangely, in order to get the address for this contract, I have to call another contract, which works fine.Thank you in advance for any help. This library has been great!
Here is the debug for the contract object:
Here is the contract ABI: