admin
.uverse.addressValue
<gnolang.StringValue>
relayers
*v0.BPTree- OID
- 097668…1e98:5
relayers details
init.2
func()- OID
- 097668…1e98:7
init.2 details
SetAdmin
func(newAdmin .uverse.address)SetAdmin sets or transfers the admin role. If no admin is currently set (admin was not initialized in init, e.g. in tests), the first caller becomes admin. Once set, only the current admin can change it.
- OID
- 097668…1e98:9
SetAdmin details
AddRelayer
func(addr .uverse.address)AddRelayer adds an address to the authorized relayer whitelist. Can only be called by the admin.
- OID
- 097668…1e98:10
AddRelayer details
RemoveRelayer
func(addr .uverse.address)RemoveRelayer removes an address from the authorized relayer whitelist. Can only be called by the admin.
- OID
- 097668…1e98:11
RemoveRelayer details
ensureAdminCaller
func()ensureAdminCaller panics if the EOA that signed the tx is not the admin. Uses unsafe.OriginCaller for tx-level EOA identity — admin authority is intentionally bound to the EOA that submitted the tx, which has no cur equivalent (cur.Previous() identifies the immediate frame, not the signer). Mirrors the v2 admin pattern in r/gnoland/blog/admin.gno. Trade-off: this allows the admin EOA to authorize admin ops through any intermediate realm (e.g. via maketx run, or a wrapper realm). That is the same tx.origin risk class as \`runtime.OriginCaller\` in v1; callers who set admin to an EOA must ensure that EOA does not call into untrusted code in the same tx.
- OID
- 097668…1e98:12
ensureAdminCaller details
ensureAuthorizedRelayer
func() .uverse.address- OID
- 097668…1e98:13
ensureAuthorizedRelayer details
RegisterApp
func(portID string, app app.IBCApp)RegisterApp registers an IBCApp, the portID is determined using the package path of the caller, hence it must an other realm.
- OID
- 097668…1e98:14
RegisterApp details
CreateClient
func(clientState lightclient.ClientState, consensusState lightclient.ConsensusState) stringCreateClient generates a new client identifier and invokes the associated light client module in order to initialize the client.
- OID
- 097668…1e98:16
CreateClient details
ClientIDs
func() []stringClientIDs returns the list of known client identifiers, sorted lexically by id (the underlying b+tree order). Intended for read-only callers (UIs, other realms building txlinks).
- OID
- 097668…1e98:18
ClientIDs details
ClientLatestHeight
func(clientID string) stringClientLatestHeight returns the latest (highest) consensus height the given client has been updated to, formatted as "\<revision>/\<height>". This is the client's latest trusted height. Returns "" if the client is unknown. Intended for read-only callers (UIs) that want to surface how up-to-date a client is.
- OID
- 097668…1e98:19
ClientLatestHeight details
ClientStatus
func(clientID string) stringClientStatus returns the status of the given client (Active, Expired, Frozen, ...). Returns "" if the client is unknown. Intended for read-only callers (UIs) that want to surface whether a client is usable.
- OID
- 097668…1e98:20
ClientStatus details
RegisterCounterparty
func(clientID string, counterpartyMerklePrefix [][]uint8, counterpartyClientID string)RegisterCounterparty will register the IBC v2 counterparty info for the given clientID. It must be called by the same relayer that called CreateClient.
- OID
- 097668…1e98:21
RegisterCounterparty details
UpdateClient
func(clientID string, clientMessage lightclient.ClientMessage)UpdateClient will update the given IBC v2 light client with a new header. Can also be used to submit a misbehavior (clientMessage can be a header or a misbehavior, maybe split into 2 functions would make more sense here).
- OID
- 097668…1e98:22
UpdateClient details
UpgradeClient
func(clientID string, clientState interface{...}, consensusState interface{...}, proofUpgradeClient interface{...}, proofUpgradeConsensusState interface{...})UpgradeClient upgrades the client to a new client and consensus state, verified by proofs that the counterparty chain committed to those states at its UpgradePath under the current client's latest consensus root.
- OID
- 097668…1e98:23
UpgradeClient details
RecoverClient
func(subjectClientID string, substituteClientID string)RecoverClient recovers a frozen or expired subject client using a healthy substitute client that tracks the same counterparty chain.
- OID
- 097668…1e98:24
RecoverClient details
maxTimeoutDelta
time.DurationValue
<zero>
SendPacket
func(msg types.MsgSendPacket) sequence uint64- OID
- 097668…1e98:25
SendPacket details
RecvPacket
func(msg types.MsgRecvPacket) types.ResponseResultType- OID
- 097668…1e98:27
RecvPacket details
WriteAcknowledgement
func(clientID string, sequence uint64, ack types.Acknowledgement)- OID
- 097668…1e98:28
WriteAcknowledgement details
emitWriteAcknowledgement
func(packet types.Packet, ack types.Acknowledgement)- OID
- 097668…1e98:29
emitWriteAcknowledgement details
Acknowledgement
func(msg types.MsgAcknowledgement) types.ResponseResultType- OID
- 097668…1e98:30
Acknowledgement details
Timeout
func(msg types.MsgTimeout) types.ResponseResultType- OID
- 097668…1e98:31
Timeout details
Render
func(path string) string- OID
- 097668…1e98:32
Render details
renderHome
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:34
renderHome details
renderApps
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:35
renderApps details
renderClients
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:36
renderClients details
renderClient
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:37
renderClient details
renderClientStatus
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:38
renderClientStatus details
renderClientConsensusStates
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:39
renderClientConsensusStates details
renderClientConsensusState
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:40
renderClientConsensusState details
renderClientNextSequenceSend
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:41
renderClientNextSequenceSend details
renderClientPacketCommitments
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:42
renderClientPacketCommitments details
renderClientPacketCommitment
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:43
renderClientPacketCommitment details
renderClientPacketReceipts
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:44
renderClientPacketReceipts details
renderClientPacketReceipt
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:45
renderClientPacketReceipt details
renderClientPacketAcknowledgements
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:46
renderClientPacketAcknowledgements details
renderClientPacketAcknowledgement
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:47
renderClientPacketAcknowledgement details
renderCommitment
func(w *v0.ResponseWriter, r *v0.Request, tree *v0.BPTree)- OID
- 097668…1e98:48
renderCommitment details
renderCommitments
func(w *v0.ResponseWriter, r *v0.Request, tree *v0.BPTree)- OID
- 097668…1e98:49
renderCommitments details
commitmentNode
func(sequence uint64, data []uint8) *json.Node- OID
- 097668…1e98:50
commitmentNode details
renderClientUnreceivedPackets
func(w *v0.ResponseWriter, r *v0.Request)renderClientUnreceivedPackets returns, given a list of sequences, the sequences for which no counterparty packet commitments have been received. This is done by checking if a receipt exists on this chain for the packet sequence.
- OID
- 097668…1e98:51
renderClientUnreceivedPackets details
renderConsensusState
func(height types.Height, cs *tendermint.ConsensusState) *json.Node- OID
- 097668…1e98:52
renderConsensusState details
renderPkgPath
func(path string) string- OID
- 097668…1e98:53
renderPkgPath details
renderAddr
func(addr .uverse.address) string- OID
- 097668…1e98:54
renderAddr details
renderHeight
func(h types.Height) *json.Node- OID
- 097668…1e98:55
renderHeight details
renderFraction
func(f tendermint.Fraction) *json.Node- OID
- 097668…1e98:56
renderFraction details
renderDuration
func(d time.Duration) *json.Node- OID
- 097668…1e98:57
renderDuration details
renderStrings
func(s []string) *json.Node- OID
- 097668…1e98:58
renderStrings details
renderNode
func(w *v0.ResponseWriter, n *json.Node)- OID
- 097668…1e98:59
renderNode details
nodeErrorClientNotFound
func(id string) *json.Node- OID
- 097668…1e98:60
nodeErrorClientNotFound details
nodeError
func(msg string, args []interface{...}) *json.Node- OID
- 097668…1e98:61
nodeError details
renderAdmin
func(w *v0.ResponseWriter, r *v0.Request)- OID
- 097668…1e98:62
renderAdmin details
store
*core.Store- OID
- 097668…1e98:68
store details
init.55
func()- OID
- 097668…1e98:64
init.55 details
Store
typeValue
core.Store
newStore
func() *core.Store- OID
- 097668…1e98:66
newStore details
client
typeValue
core.client
ibcApp
typeValue
core.ibcApp
pendingAsyncAck
typeValue
core.pendingAsyncAck
setChainParam
func(key []uint8, value []uint8)- OID
- 097668…1e98:67