Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

enckeys_v1 state

Back to all declarations

SuiteXWingV1

untyped string

Value

"xwing-v1"

PublicKeyBytes

untyped bigint

Value

(1216 <untyped> bigint)

keyRecord

type

Value

enckeys_v1.keyRecord

RegisterKey

func(suite string, expectedGeneration uint64, publicKey []uint8, opID [16]uint8) uint64

RegisterKey replaces the caller's announcement using an optimistic lock. expectedGeneration is zero only for first registration. A revoked generation is retained forever; re-registering cannot reuse an old identity generation.

Open
OID
0fd8c3…ad3d:6
RegisterKey details

Inspect func

RevokeKey

func(suite string, expectedGeneration uint64, opID [16]uint8) uint64

RevokeKey removes the active key but retains the generation and receipt. Historical announcements and wraps remain public chain history.

Open
OID
0fd8c3…ad3d:8
RevokeKey details

Inspect func

GetKey

func(addr .uverse.address, suite string) (publicKey []uint8, generation uint64, active bool)

GetKey returns a defensive copy; generation is still returned after revoke.

Open
OID
0fd8c3…ad3d:9
GetKey details

Inspect func

KeyJSON

func(addr .uverse.address, suite string) string

KeyJSON serializes all chain integers as decimal strings. op\_id and height identify the last successful mutation for recovery from an unknown outcome.

Open
OID
0fd8c3…ad3d:10
KeyJSON details

Inspect func

CanonicalAddress

func(addr .uverse.address) .uverse.address
Open
OID
0fd8c3…ad3d:12
CanonicalAddress details

Inspect func

current

func(addr .uverse.address) *enckeys_v1.keyRecord
Open
OID
0fd8c3…ad3d:15
current details

Inspect func

checkUpdate

func(old *enckeys_v1.keyRecord, expected uint64, op [16]uint8)
Open
OID
0fd8c3…ad3d:16
checkUpdate details

Inspect func

emit

func(addr .uverse.address, rec *enckeys_v1.keyRecord, action string)
Open
OID
0fd8c3…ad3d:18
emit details

Inspect func

assertNoCoins

func()

Only reached after the direct, frame-checked caller guard. Kept separate from crossing entrypoints so payment-envelope use is easy to audit.

Open
OID
0fd8c3…ad3d:19
assertNoCoins details

Inspect func
SuiteXWingV1 : untyped string ="xwing-v1"
PublicKeyBytes : untyped bigint =(1216 <untyped> bigint)
keyRecord : type =enckeys_v1.keyRecord
keys : *avl.Tree Inspect
RegisterKey : func(suite string, expectedGeneration uint64, publicKey []uint8, opID [16]uint8) uint64 Inspect
RevokeKey : func(suite string, expectedGeneration uint64, opID [16]uint8) uint64 Inspect
GetKey : func(addr .uverse.address, suite string) (publicKey []uint8, generation uint64, active bool) Inspect
KeyJSON : func(addr .uverse.address, suite string) string Inspect
Render : func(path string) string Inspect
CanonicalAddress : func(addr .uverse.address) .uverse.address Inspect
user : func() .uverse.address Inspect
checkSuite : func(suite string) Inspect
current : func(addr .uverse.address) *enckeys_v1.keyRecord Inspect
checkUpdate : func(old *enckeys_v1.keyRecord, expected uint64, op [16]uint8) Inspect
clone : func(b []uint8) []uint8 Inspect
emit : func(addr .uverse.address, rec *enckeys_v1.keyRecord, action string) Inspect
assertNoCoins : func() Inspect