Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

cla state

Back to all declarations

RequiredHashChangedEvent

untyped string

Value

"CLARequiredHashChanged"

ProposeNewCLA

func(newHash string, newURL string) dao.ProposalRequest

ProposeNewCLA creates a govdao proposal to update the CLA document hash and URL. When executed, it resets all existing signatures. Propose an empty hash to disable CLA enforcement.

Open
OID
0d705b…afed:3
ProposeNewCLA details

Inspect func

setRequiredHash

func(newHash string)
Open
OID
0d705b…afed:5
setRequiredHash details

Inspect func

SignedEvent

untyped string

Value

"CLASigned"

requiredHash

string

// SHA256 hash of the CLA document; empty = enforcement disabled

Value

""

claURL

string

// URL where the CLA document can be found

Value

""

Sign

func(hash string)

Sign records a CLA signature for the caller. The hash must match the current required hash.

Open
OID
0d705b…afed:11
Sign details

Inspect func

HasValidSignature

func(addr .uverse.address) bool

HasValidSignature checks if an address has signed the current required CLA. Returns true if CLA enforcement is disabled (requiredHash == ""), or if the address has signed.

Open
OID
0d705b…afed:13
HasValidSignature details

Inspect func
RequiredHashChangedEvent : untyped string ="CLARequiredHashChanged"
ProposeNewCLA : func(newHash string, newURL string) dao.ProposalRequest Inspect
setRequiredHash : func(newHash string) Inspect
SignedEvent : untyped string ="CLASigned"
requiredHash : string =""
claURL : string =""
signatures : addrset.Set Inspect
Sign : func(hash string) Inspect
HasValidSignature : func(addr .uverse.address) bool Inspect
Render : func(path string) string Inspect