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

moloch.approvedToken is not a function #114

Open
xxbtc opened this issue Oct 2, 2021 · 0 comments
Open

moloch.approvedToken is not a function #114

xxbtc opened this issue Oct 2, 2021 · 0 comments

Comments

@xxbtc
Copy link

xxbtc commented Oct 2, 2021

Getting an error when trying to deploy a pool, any ideas anyone?

npx hardhat pool-deploy --network develop --shares 100 --tokens 100

An unexpected error occurred:
TypeError: moloch.approvedToken is not a function
at getApprovedToken (/dao/moloch/scripts/utils.js:47:37)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

I did set the correct address in hardhat.config.js after the dao was deployed

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