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 source realm

Constants 2

Functions 4

func HasValidSignature

Action
1func HasValidSignature(addr address) bool
source

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.

func ProposeNewCLA

crossing Action
1func ProposeNewCLA(cur realm, newHash, newURL string) dao.ProposalRequest
source

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.

func Sign

crossing Action
1func Sign(cur realm, hash string)
source

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

Imports 7

Source Files 5