Add a new proposal to either be voted on or executed directly.
Requires the sender to be member.
threshold determines whether proposal is executed directly (threshold < 2) or put up for voting.
threshold
proposal
threshold < 2
O(B + M + P1)
O(B + M + P2)
B
M
P1
P2
threshold >= 2
Add a new proposal to either be voted on or executed directly.
Requires the sender to be member.
threshold
determines whetherproposal
is executed directly (threshold < 2
) or put up for voting.Complexity
O(B + M + P1)
orO(B + M + P2)
where:B
isproposal
size in bytes (length-fee-bounded)M
is members-count (code- and governance-bounded)threshold
where:P1
is proposal execution complexity (threshold < 2
)P2
is proposals-count (code-bounded) (threshold >= 2
)