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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

memba_market_config state

Back to all declarations

SetFeeBPS

func(lane string, bps int64)

SetFeeBPS sets a lane's protocol fee in basis points, clamped to \[0, MaxFeeBPS]. A value above the 5% ceiling is rejected so a misconfiguration can never overcharge.

Open
OID
0d5833…c170:6
SetFeeBPS details

Inspect func

SetTreasury

func(addr .uverse.address)

SetTreasury repoints where every lane's protocol fee flows.

Open
OID
0d5833…c170:7
SetTreasury details

Inspect func

TransferAdmin

func(newAdmin .uverse.address)

TransferAdmin proposes a new admin (the memba\_dao executor). The 2-step handoff requires the new admin to AcceptAdmin, so a transfer to a wrong or uncontrolled address cannot lock the realm.

Open
OID
0d5833…c170:8
TransferAdmin details

Inspect func

CancelAdminTransfer

func()

CancelAdminTransfer withdraws a staged handoff. Admin only.

Open
OID
0d5833…c170:9
CancelAdminTransfer details

Inspect func

AcceptAdmin

func()

AcceptAdmin completes the handoff. Only the pending admin can call it.

Open
OID
0d5833…c170:10
AcceptAdmin details

Inspect func

GetPendingAdmin

func() .uverse.address
Open
OID
0d5833…c170:11
GetPendingAdmin details

Inspect func

MaxFeeBPS

int64

Value

500

DefaultFeeBPS

int64

Value

200

admin

.uverse.address

Value

<gnolang.StringValue>

pendingAdmin

.uverse.address

Value

<gnolang.StringValue>

treasury

.uverse.address

Value

<gnolang.StringValue>

unseededAuthority

.uverse.address

unseededAuthority is the test-VM stand-in for a publisher; see the note above.

Value

<gnolang.StringValue>

seedAuthority

func(publisher .uverse.address)

seedAuthority makes the publisher admin and treasury. It runs once at load.

Open
OID
0d5833…c170:19
seedAuthority details

Inspect func

GetFeeBPS

func(lane string) int

GetFeeBPS returns the protocol fee in basis points for a lane. An unset or unknown lane returns DefaultFeeBPS. The result is always within \[0, MaxFeeBPS] (enforced on write). Never panics — an engine must always be able to settle.

Open
OID
0d5833…c170:23
GetFeeBPS details

Inspect func

GetTreasury

func() .uverse.address
Open
OID
0d5833…c170:24
GetTreasury details

Inspect func

GetLaneConfig

func(lane string) (int, .uverse.address)
Open
OID
0d5833…c170:25
GetLaneConfig details

Inspect func
itoa : func(n int64) string Inspect
assertAdmin : func() Inspect
SetFeeBPS : func(lane string, bps int64) Inspect
SetTreasury : func(addr .uverse.address) Inspect
TransferAdmin : func(newAdmin .uverse.address) Inspect
CancelAdminTransfer : func() Inspect
AcceptAdmin : func() Inspect
GetPendingAdmin : func() .uverse.address Inspect
MaxFeeBPS : int64 =500
DefaultFeeBPS : int64 =200
admin : .uverse.address =<gnolang.StringValue>
pendingAdmin : .uverse.address =<gnolang.StringValue>
treasury : .uverse.address =<gnolang.StringValue>
feeByLane : *avl.Tree Inspect
unseededAuthority : .uverse.address =<gnolang.StringValue>
seedAuthority : func(publisher .uverse.address) Inspect
init.16 : func() Inspect
caller : func() .uverse.address Inspect
GetFeeBPS : func(lane string) int Inspect
GetTreasury : func() .uverse.address Inspect
GetLaneConfig : func(lane string) (int, .uverse.address) Inspect
GetAdmin : func() .uverse.address Inspect
Render : func(path string) string Inspect