MinDeposit
int64// 10 GNOT in ugnot
Value
10000000
DepositMultiply
int64// 10x on re-application
Value
10
MaxApplyCount
untyped bigint// Maximum re-applications (prevents int64 overflow at 10^17)
Value
(10 <untyped> bigint)
MaxBioLen
untyped bigintValue
(5000 <untyped> bigint)
MaxSkillsLen
untyped bigintValue
(5000 <untyped> bigint)
MaxAdmins
untyped bigint// Maximum number of admin addresses
Value
(20 <untyped> bigint)
MaxApplications
untyped bigint// Global cap to prevent unbounded state growth
Value
(1000 <untyped> bigint)
Application
typeValue
memba_dao_candidature_v3.Application
applications
*avl.Tree// address -> \*Application
- OID
- 065b80…c03b:34
applications details
applyCount
*avl.Tree// address -> int (total apply count, persists across withdrawals)
- OID
- 065b80…c03b:36
applyCount details
admins
*avl.Tree// address -> bool (authorized callers for MarkApproved/MarkRejected)
- OID
- 065b80…c03b:38
admins details
paused
boolValue
false
owner
.uverse.addressValue
<gnolang.StringValue>
init.13
func()- OID
- 065b80…c03b:8
init.13 details
assertNotPaused
func()- OID
- 065b80…c03b:10
assertNotPaused details
Pause
func()- OID
- 065b80…c03b:11
Pause details
Unpause
func()- OID
- 065b80…c03b:12
Unpause details
IsPaused
func() bool- OID
- 065b80…c03b:13
IsPaused details
Apply
func(bio string, skills string)Apply submits a membership application with a deposit. The caller must send at least MinDeposit \* (10 ^ previousAttempts) ugnot.
- OID
- 065b80…c03b:14
Apply details
Withdraw
func()Withdraw allows an applicant to withdraw their pending application and reclaim deposit.
- OID
- 065b80…c03b:15
Withdraw details
MarkApproved
func(applicant .uverse.address)MarkApproved is called by authorized admins to mark an application as approved. Only addresses in the admin allowlist can call this function.
- OID
- 065b80…c03b:16
MarkApproved details
MarkRejected
func(applicant .uverse.address)MarkRejected is called by authorized admins to mark an application as rejected. Only addresses in the admin allowlist can call this function.
- OID
- 065b80…c03b:17
MarkRejected details
AddAdmin
func(addr .uverse.address)AddAdmin adds an address to the admin allowlist. Only the owner can call this.
- OID
- 065b80…c03b:18
AddAdmin details
RemoveAdmin
func(addr .uverse.address)RemoveAdmin removes an address from the admin allowlist. Only the owner can call this.
- OID
- 065b80…c03b:19
RemoveAdmin details
TransferOwnership
func(newOwner .uverse.address)TransferOwnership transfers realm ownership to a new address. The new owner is also added as admin. The old owner remains as admin (the new owner can remove them via RemoveAdmin if desired). Only the current owner can call this.
- OID
- 065b80…c03b:20
TransferOwnership details
IsAdmin
func(addr .uverse.address) boolIsAdmin returns whether an address is in the admin allowlist.
- OID
- 065b80…c03b:21
IsAdmin details
GetOwner
func() .uverse.address- OID
- 065b80…c03b:22
GetOwner details
ListAdmins
func() stringListAdmins returns all admin addresses as a comma-separated string.
- OID
- 065b80…c03b:23
ListAdmins details
GetApplication
func(addr string) stringGetApplication returns the application for a given address (or empty if none).
- OID
- 065b80…c03b:24
GetApplication details
Render
func(path string) string- OID
- 065b80…c03b:25
Render details
renderHome
func() string- OID
- 065b80…c03b:26
renderHome details
renderApplication
func(addr string) string- OID
- 065b80…c03b:27
renderApplication details
sanitizeForRender
func(s string) stringsanitizeForRender strips markdown-sensitive characters to prevent injection.
- OID
- 065b80…c03b:28
sanitizeForRender details
assertCallerIsAdmin
func()- OID
- 065b80…c03b:29
assertCallerIsAdmin details
assertCallerIsOwner
func()- OID
- 065b80…c03b:30
assertCallerIsOwner details
assertValidAddress
func(addr .uverse.address)- OID
- 065b80…c03b:31
assertValidAddress details
getApplyCount
func(addr .uverse.address) int- OID
- 065b80…c03b:32
getApplyCount details
formatGNOT
func(ugnot int64) string- OID
- 065b80…c03b:33