Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Rejection on web interface. #5

Open
Cyprella opened this issue Jun 9, 2021 · 0 comments
Open

Unhandled Rejection on web interface. #5

Cyprella opened this issue Jun 9, 2021 · 0 comments

Comments

@Cyprella
Copy link

Cyprella commented Jun 9, 2021

After opening the farm web interface I received this issue. Cannot seem to trace what the problem is.

Unhandled Rejection (Error): call revert exception (method="balanceOf(address)", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.0.9)


makeError
/mnt/c/build/src.ts/index.ts:205
throwError
/mnt/c/build/src.ts/index.ts:217
decodeFunctionResult
/mnt/c/build/src.ts/interface.ts:326

323 | eventFragment = this.getEvent(eventFragment);
324 | }
325 | const topics = [];

326 | const dataTypes = [];
| ^ 327 | const dataValues = [];
328 | if (!eventFragment.anonymous) {
329 | topics.push(this.getEventTopic(eventFragment));

multicall/res<
src/utils/multicall.ts:20

17 |
18 | const calldata = calls.map((call) => [call.address.toLowerCase(), itf.encodeFunctionData(call.name, call.params)])
19 | const { returnData } = await multi.methods.aggregate(calldata).call()

20 | const res = returnData.map((call, i) => itf.decodeFunctionResult(calls[i].name, call))
21 |
22 | return res
23 | }

multicall
src/utils/multicall.ts:20

17 |
18 | const calldata = calls.map((call) => [call.address.toLowerCase(), itf.encodeFunctionData(call.name, call.params)])
19 | const { returnData } = await multi.methods.aggregate(calldata).call()

20 | const res = returnData.map((call, i) => itf.decodeFunctionResult(calls[i].name, call))
21 |
22 | return res
23 | }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant