Replies: 1 comment
-
the We then, pull out You can think of it like module.exports = async(hre) => { And module.exports = async ({getNamedAccounts, deployments}) => { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apparently lines (10 + 11) and 12 are the same in the below.
I understand the more verbose syntax. getNamesAccounts() and deployments() are coming from the hre. However, in line 12, how does JS know where to get the getNamedAccounts() and deploymenys() functions from?
Beta Was this translation helpful? Give feedback.
All reactions