unlock.gno
0.62 Kb ยท 18 lines
1package params
2
3import "gno.land/r/gov/dao"
4
5const (
6 bankModulePrefix = "bank"
7 restrictedDenomsKey = "restricted_denoms"
8 unlockTransferTitle = "Proposal to unlock the transfer of ugnot."
9 lockTransferTitle = "Proposal to lock the transfer of ugnot."
10)
11
12func ProposeUnlockTransferRequest() dao.ProposalRequest {
13 return NewSysParamStringsPropRequestWithTitle(bankModulePrefix, "p", restrictedDenomsKey, unlockTransferTitle, []string{})
14}
15
16func ProposeLockTransferRequest() dao.ProposalRequest {
17 return NewSysParamStringsPropRequestWithTitle(bankModulePrefix, "p", restrictedDenomsKey, lockTransferTitle, []string{"ugnot"})
18}