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

ghverify state

Back to all declarations

verifiedResult

untyped string

Value

"OK"

ownerAddress

.uverse.address

Value

<gnolang.StringValue>

postHandler

ghverify.postGnorkleMessageHandler
Open
OID
0a04b8…2e0b:6
postHandler details

Inspect ref

postGnorkleMessageHandler

type

Value

ghverify.postGnorkleMessageHandler

RequestVerification

func(githubHandle string)

RequestVerification creates a new static feed with a single task that will instruct an agent to verify the github handle / gno address pair.

Open
OID
0a04b8…2e0b:15
RequestVerification details

Inspect func

GnorkleEntrypoint

func(message string) string

GnorkleEntrypoint is the entrypoint to the gnorkle oracle handler.

Open
OID
0a04b8…2e0b:16
GnorkleEntrypoint details

Inspect func

SetOwner

func(owner .uverse.address)

SetOwner transfers ownership of the contract to the given address.

Open
OID
0a04b8…2e0b:17
SetOwner details

Inspect func

GetHandleByAddress

func(address_XXX string) string

GetHandleByAddress returns the github handle associated with the given gno address.

Open
OID
0a04b8…2e0b:18
GetHandleByAddress details

Inspect func

GetAddressByHandle

func(handle string) string

GetAddressByHandle returns the gno address associated with the given github handle.

Open
OID
0a04b8…2e0b:19
GetAddressByHandle details

Inspect func

Render

func(string) string

Render returns a json object string will all verified handle -> address mappings.

Open
OID
0a04b8…2e0b:20
Render details

Inspect func

verificationTask

type

Value

ghverify.verificationTask
verifiedResult : untyped string ="OK"
ownerAddress : .uverse.address =<gnolang.StringValue>
oracle : *gnorkle.Instance Inspect
postHandler : ghverify.postGnorkleMessageHandler Inspect
handleToAddressMap : *v0.BPTree Inspect
addressToHandleMap : *v0.BPTree Inspect
init.6 : func() Inspect
postGnorkleMessageHandler : type =ghverify.postGnorkleMessageHandler
RequestVerification : func(githubHandle string) Inspect
GnorkleEntrypoint : func(message string) string Inspect
SetOwner : func(owner .uverse.address) Inspect
GetHandleByAddress : func(address_XXX string) string Inspect
GetAddressByHandle : func(handle string) string Inspect
Render : func(string) string Inspect
verificationTask : type =ghverify.verificationTask