setPendingAdmin function #404
Answered
by
solimander
cdt-eth
asked this question in
Solidity / smart contracts
-
In the NounsDAOExecutor there is the setPendingAdmin function. How is this function called since it requires the msg sender to be the contract itself? There is no other place in the smart contact that calls setPendingAdmin, does this mean in the current contract state that a new admin can't be set? |
Beta Was this translation helpful? Give feedback.
Answered by
solimander
Mar 30, 2022
Replies: 1 comment
-
It can only be called by the Nouns DAO as the result of a successful proposal. In that case, the executor would call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
solimander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It can only be called by the Nouns DAO as the result of a successful proposal. In that case, the executor would call
setPendingAdmin
insideexecuteTransaction
.