namespace
untyped stringValue
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/"
pkgPath
untyped string// must match gnomod.toml
Value
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlbubble"
mailboxPath
untyped stringValue
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlmailbox"
feesPath
untyped stringValue
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlfees"
bubblePath
untyped string// the live token realm, never redeployed
Value
"gno.land/r/g1leu8d2vsplhehcfkjg50mwgdpxdkt8tztu95wr/bubble"
hlgnotPath
untyped stringValue
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlgnot"
hlgovPath
untyped stringValue
"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlgov"
one
int64// one BUBBLE in base units
Value
1000000
launchFee
int64Value
100000000
launchMinimum
int64Value
200000000
launchFeeFloor
int64Value
40000000
launchCapFloor
int64Value
10000000000
launchMaximum
int64Value
25000000000
launchRouter
untyped string// the BUBBLE token program ETqUXu1uJPj8qgmw8AJMqhgWuL5QW5ymgUMiCARbXYPA
Value
"c807d773013b14cee2855ca9efafeac0b3bbc3a42fd397c2fbffda6417d290f1"
maxI64
uint64Value
9223372036854775807
launchGovernor
.uverse.addresslaunchGovernor is the governor (M1k): the mailbox's, compiled here too so a member reads it in this realm's served source; init refuses a deploy with another. bridge/local/e2e.sh swaps it for gnodev's test1.
Value
<gnolang.StringValue>
st
*v0.State- OID
- 013123…a1f4:4
st details
realms
[].uverse.address- OID
- 013123…a1f4:19
realms details
init.18
func()- OID
- 013123…a1f4:20
init.18 details
mustKey
func(s string) [32]uint8- OID
- 013123…a1f4:22
mustKey details
now
func() int64- OID
- 013123…a1f4:23
now details
u32
func(n uint32) string- OID
- 013123…a1f4:24
u32 details
itoa
func(n int64) string- OID
- 013123…a1f4:25
itoa details
caller
func() .uverse.address- OID
- 013123…a1f4:26
caller details
mustHex
func(s string, what string) []uint8- OID
- 013123…a1f4:27
mustHex details
isRealm
func(a .uverse.address) boolisRealm is whether an address is a realm of the bridge: the six compiled here, every route realm the mailbox registers (R39: a successor's address is refused as a recipient at send and swept at a credit, to be credited to its owner by id, never paid into a realm's account outside every counter) and every one it dropped (AT6: a re-pointed-away successor, a route no more that nothing of the line can move BUBBLE out of). A handful of reads.
- OID
- 013123…a1f4:28
isRealm details
mustBeLive
func()- OID
- 013123…a1f4:29
mustBeLive details
mustNotBePaused
func(fn string)- OID
- 013123…a1f4:30
mustNotBePaused details
mustNotBeDropped
func()mustNotBeDropped refuses a realm the mailbox dropped from its line (R35): its predecessor re-pointed the migration to another successor while this realm had pulled nothing, so it is a route no more — Solana's token may still name it the router until the next kind 6, and a send or a credit here would be against a lock no realm of the line holds. The mailbox refuses its Dispatch and its Process too; the line's last realm takes every message addressed to it once its import has ended.
- OID
- 013123…a1f4:31
mustNotBeDropped details
syncLaunch
func()- OID
- 013123…a1f4:32
syncLaunch details
Address
func() .uverse.address- OID
- 013123…a1f4:33
Address details
Locked
func() int64Locked is the lock: what backs synthetic BUBBLE on Solana, by the counters (sent − paid).
- OID
- 013123…a1f4:34
Locked details
Balance
func() int64Balance is the BUBBLE this realm holds; it is the lock unless someone sent BUBBLE here outside a transfer.
- OID
- 013123…a1f4:35
Balance details
Router
func() stringRouter is the enrolled router on Solana, in hex.
- OID
- 013123…a1f4:36
Router details
Domain
func() uint32Domain is the Solana domain this route sends to and takes from.
- OID
- 013123…a1f4:37
Domain details
Fee
func() int64- OID
- 013123…a1f4:38
Fee details
Minimum
func() int64- OID
- 013123…a1f4:39
Minimum details
FeeFloor
func() int64- OID
- 013123…a1f4:40
FeeFloor details
CapFloor
func() int64- OID
- 013123…a1f4:41
CapFloor details
Maximum
func() int64- OID
- 013123…a1f4:42
Maximum details
Cap
func() int64- OID
- 013123…a1f4:43
Cap details
Counters
func() (sentTotal int64, paidTotal int64, owed int64, voided int64, lost int64)Counters is the identity's five counters (§5.9): sentTotal, paidTotal, owed, voided, lost.
- OID
- 013123…a1f4:44
Counters details
Migrated
func() stringMigrated is the successor's pkgpath once a migration applied, "" before.
- OID
- 013123…a1f4:45
Migrated details
TransferRemote
func(destination uint32, recipient string, amount int64) stringTransferRemote sends amount of the caller's BUBBLE to recipient on destination (a Solana address in base58, or 32 bytes in hex) and returns the message id in hex. First, on the bubble realm, the caller approves THIS realm (bubble.Approve, spender Address()) for at least amount + fee: the amount is locked here, the fee goes to r/hlfees. The amount is between the minimum and the per-message maximum.
- OID
- 013123…a1f4:46
TransferRemote details
Process
func(metadata string, message string)Process takes a token message from Solana and credits a claim to its recipient. Anyone may call it with the verifier's metadata and the message, both in hex. A refused message stays undelivered. A realm registered as a successor credits nothing — its own messages included (R32) — before the last page of its predecessor's migration is in (AQ1); a migrated realm refuses before the mailbox is asked (see hlgnot's).
- OID
- 013123…a1f4:47
Process details
Claim
func(n int) intClaim pays up to n claims (n ≤ 20) taking recipients in turns under the meters, the fee as each claim's first installment. Anyone may call it; the relayers do. It returns how many claims it paid something on.
- OID
- 013123…a1f4:48
Claim details
pay
func(to .uverse.address, amount int64)- OID
- 013123…a1f4:49
pay details
env
func() v0.Env- OID
- 013123…a1f4:50
env details
Request
typeRequest is what a builder returns (M1k): the proposal GovDAO's proxy executes after the yield (Proposal), and the same decision the governor runs directly before it (Govern); see hlgnot's.
Value
hlbubble.Request
who
func(path string, a .uverse.address) stringwho names a previous realm in a refusal: its pkgpath, or a user's address.
- OID
- 013123…a1f4:51
who details
mustBeGovernor
func()mustBeGovernor is a decision's identity check (M1k), read from the closure's own live cur: the governor's own call until it yields on r/hlmailbox, gno.land/r/gov/dao's proxy exactly after (or from the first block, when no governor was compiled); see hlgnot's.
- OID
- 013123…a1f4:52
mustBeGovernor details
propose
func(d v0.Draft) hlbubble.Request- OID
- 013123…a1f4:53
propose details
Govern
func(r hlbubble.Request)Govern is the governor's way in before the yield (M1k): the same closure GovDAO's proxy runs after it, called non-crossing in this frame so it reads the governor from cur.Previous(); refused for anyone else and for everyone once the governor yielded on r/hlmailbox (or when none was compiled); see hlgnot's.
- OID
- 013123…a1f4:54
Govern details
NewSetCapFloorRequest
func(n int64) hlbubble.Request- OID
- 013123…a1f4:55
NewSetCapFloorRequest details
NewSetMaximumRequest
func(n int64) hlbubble.Request- OID
- 013123…a1f4:56
NewSetMaximumRequest details
NewSetFeeRequest
func(fee int64, minimum int64) hlbubble.Request- OID
- 013123…a1f4:57
NewSetFeeRequest details
NewSetFeeFloorRequest
func(n int64) hlbubble.Request- OID
- 013123…a1f4:58
NewSetFeeFloorRequest details
NewSetRouterRequest
func(router string) hlbubble.Request- OID
- 013123…a1f4:59
NewSetRouterRequest details
NewVoidRequest
func(ids string, forged bool, unpauseFns string, removeSeats string) hlbubble.RequestNewVoidRequest voids credits by message id (a claim, or a sweep entry as forged) or by a range of credits ("heights:\<from>-\<to>" or "since:\<from>", closed at the height the proposal is made, at most 1,000 credits), as withheld or forged, with the unpause option (the seats' holders recorded; a seat whose occupant changed by execution is skipped): see hlgnot's.
- OID
- 013123…a1f4:60
NewVoidRequest details
NewRestoreRequest
func(ids string) hlbubble.Request- OID
- 013123…a1f4:61
NewRestoreRequest details
NewCreditRequest
func(id string, to .uverse.address, amount int64) hlbubble.Request- OID
- 013123…a1f4:62
NewCreditRequest details
NewSweepRequest
func(ids string, to .uverse.address) hlbubble.RequestNewSweepRequest pays sweep entries, named by message id, to an address after 7 days — their sum, at most the lock — and drops them (R19): see hlgnot's.
- OID
- 013123…a1f4:63
NewSweepRequest details
NewRefundRequest
func(ids string) hlbubble.RequestNewRefundRequest queues a refund of imported sends by id, 7 days, once kind 6 has enrolled this realm on Solana for 14 days (AR1, R37); applied then by NewApplyRefundRequest, never by Execute (AT2); see hlgnot's.
- OID
- 013123…a1f4:64
NewRefundRequest details
NewApplyRefundRequest
func(id int64) hlbubble.RequestNewApplyRefundRequest applies a queued refund decision whose 7 days have passed, at once (AT2): GovDAO's own act after hlwatch's check that the token's router on Solana is this realm; under a standing payouts flag it waits like a claim; see hlgnot's.
- OID
- 013123…a1f4:65
NewApplyRefundRequest details
NewWriteOffRequest
func(ids string) hlbubble.RequestNewWriteOffRequest books refunded sends delivered on Solana after their refund as lost, after 7 days (AR1); see hlgnot's.
- OID
- 013123…a1f4:66
NewWriteOffRequest details
NewMigrateRequest
func(to string) hlbubble.RequestNewMigrateRequest: a successor that announced itself to the mailbox for the BUBBLE route (R25, AQ5) and is no route already (R31), after 7 days; a realm that succeeds another migrates on only once its own import has ended (R31); see hlgnot's.
- OID
- 013123…a1f4:67
NewMigrateRequest details
NewCancelRequest
func(id int64) hlbubble.Request- OID
- 013123…a1f4:68
NewCancelRequest details
Execute
func(id int64)Execute applies a queued decision whose 7 days have passed. Anyone may call it. A sweep payment moves BUBBLE out of the lock, so under a standing payouts flag it waits for the unpause like a claim (§5.9). A refund is never Execute's (AT2): the state refuses the kind, and GovDAO applies it by NewApplyRefundRequest.
- OID
- 013123…a1f4:69
Execute details
Pull
func(page int) *v0.SnapshotPull is the successor's: once a migrate decision names it, the realm at that pkgpath calls Pull from its own code, page by page from 0, and receives the lock (transferred to its address, with page 0) and the records to import, up to 500 a page (the snapshot's More says whether a page follows); a page pulled already hands over nothing. Page 0 moves the lock, so under a standing payouts flag it waits for the unpause like a sweep payment (R27, R16); the flag follows the claims to the successor (hlmailbox.AddRoute).
- OID
- 013123…a1f4:70
Pull details
pausedText
func() string- OID
- 013123…a1f4:71
pausedText details
Render
func(path string) stringRender: "" the route's page; "decisions"; "json"; "decisions.json"; "claim/\<id>"; "send/\<id>"; "claims/\<from>", "sweeps/\<from>" and "refunds/\<from>", up to 100 entries a page (hlgnot's Render says more).
- OID
- 013123…a1f4:72
Render details
parseFrom
func(s string) intparseFrom reads a page's offset; -1 (an empty page) for anything but a number.
- OID
- 013123…a1f4:73