Realm

gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm

Render

this realm has no Render() output

Query (read-only)

non-crossing functions · no tx, no wallet needed
GetChannelBalanceV2(channelId uint32, path *gno.land/p/onbloc/math/uint256.Uint, baseToken string, quoteToken []uint8) → *gno.land/p/onbloc/math/uint256.Uint, interface {Error func() string}
GetLockedTokenAmount(denom string) → *gno.land/p/onbloc/math/uint256.Uint, interface {Error func() string}
GetTokenBucket(denom string) → *gno.land/p/onbloc/ibc/union/zkgm/tokenbucket.TokenBucket, interface {Error func() string}
GetVoucherInfo(ibcDenom string) → struct{Denom string; Name string; Symbol string; OriginDecimals uint8; LedgerDecimals uint8; TotalSupply int64}, interface {Error func() string}
GetVoucherList(offset int, count int) → []gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.VoucherInfo, interface {Error func() string}
GetVoucherSize() → int, interface {Error func() string}
NewStore() → *gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.Store
NewVoucher(token *gno.land/p/demo/tokens/grc20.Token, ledger *gno.land/p/demo/tokens/grc20.PrivateLedger, originDecimals uint8) → *gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.Voucher
NewVoucherInfo(denom string, name string, symbol string, originDecimals uint8, ledgerDecimals uint8, totalSupply int64) → struct{Denom string; Name string; Symbol string; OriginDecimals uint8; LedgerDecimals uint8; TotalSupply int64}
ProxyAddress() → string
ProxyPkgPath() → string
VoucherBalanceOf(ibcDenom string, addr string) → int64

Call functions (state-changing)

signs a tx via Adena
Pausable(p bool)
RegisterCoreApp()
RegisterImpl(constructor func(gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.IStore) gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.IApp)
Send(channelId uint32, timeoutTimestamp uint64, salt [32]uint8, instruction struct{Version uint8; Opcode uint8; Operand []uint8})
SendRaw(channelId uint32, timeoutTimestamp uint64, saltHex string, version uint8, opcode uint8, operandHex string)
SetBucketConfig(denom string, capacity *gno.land/p/onbloc/math/uint256.Uint, refillRate *gno.land/p/onbloc/math/uint256.Uint)
SetRateLimitDisabled(disabled bool)
UpdateImpl(path string)
VoucherApprove(ibcDenom string, spender string, amount int64)
VoucherTransfer(ibcDenom string, to string, amount int64)

All exported functions (27)

show raw signatures
NameParamsReturns
SetBucketConfig [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "denom", "Type": "string", "Value": ""}, {"Name": "capacity", "Type": "*gno.land/p/onbloc/math/uint256.Uint", "Value": ""}, {"Name": "refillRate", "Type": "*gno.land/p/onbloc/math/uint256.Uint", "Value": ""}]
SetRateLimitDisabled [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "disabled", "Type": "bool", "Value": ""}]
Pausable [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "p", "Type": "bool", "Value": ""}]
EmitRecvError [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "sourceChannel", "Type": "uint32", "Value": ""}, {"Name": "destinationChannel", "Type": "uint32", "Value": ""}, {"Name": "reason", "Type": "string", "Value": ""}]
EmitNativeReleased [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "denom", "Type": "string", "Value": ""}, {"Name": "recipient", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
EmitForwardInFlightSet [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "packetHash", "Type": "[32]uint8", "Value": ""}, {"Name": "parentPacketHash", "Type": "[32]uint8", "Value": ""}]
EmitForwardInFlightPopped [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "packetHash", "Type": "[32]uint8", "Value": ""}, {"Name": "found", "Type": "bool", "Value": ""}]
GetTokenBucket [{"Name": "denom", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/p/onbloc/ibc/union/zkgm/tokenbucket.TokenBucket", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetChannelBalanceV2 [{"Name": "channelId", "Type": "uint32", "Value": ""}, {"Name": "path", "Type": "*gno.land/p/onbloc/math/uint256.Uint", "Value": ""}, {"Name": "baseToken", "Type": "string", "Value": ""}, {"Name": "quoteToken", "Type": "[]uint8", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/p/onbloc/math/uint256.Uint", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetLockedTokenAmount [{"Name": "denom", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/p/onbloc/math/uint256.Uint", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVoucherList [{"Name": "offset", "Type": "int", "Value": ""}, {"Name": "count", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "[]gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.VoucherInfo", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVoucherInfo [{"Name": "ibcDenom", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{Denom string; Name string; Symbol string; OriginDecimals uint8; LedgerDecimals uint8; TotalSupply int64}", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVoucherSize [{"Name": ".res.0", "Type": "int", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
RegisterCoreApp [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}]
RegisterReceiver [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "receiver", "Type": "interface {OnZkgm func(.uverse.realm, gno.land/p/onbloc/ibc/union/zkgm.CallEnv) .uverse.error; OnIntentZkgm func(.uverse.realm, gno.land/p/onbloc/ibc/union/zkgm.IntentCallEnv) .uverse.error}", "Value": ""}]
NewStore [{"Name": ".res.0", "Type": "*gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.Store", "Value": ""}]
Send [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "channelId", "Type": "uint32", "Value": ""}, {"Name": "timeoutTimestamp", "Type": "uint64", "Value": ""}, {"Name": "salt", "Type": "[32]uint8", "Value": ""}, {"Name": "instruction", "Type": "struct{Version uint8; Opcode uint8; Operand []uint8}", "Value": ""}] [{"Name": ".res.0", "Type": "struct{SourceChannelId gno.land/p/onbloc/ibc/union/types.ChannelId; DestinationChannelId gno.land/p/onbloc/ibc/union/types.ChannelId; Data []uint8; TimeoutHeight gno.land/p/onbloc/ibc/union/types.MustBeZero; TimeoutTimestamp gno.land/p/onbloc/ibc/union/types.Timestamp}", "Value": ""}]
SendRaw [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "channelId", "Type": "uint32", "Value": ""}, {"Name": "timeoutTimestamp", "Type": "uint64", "Value": ""}, {"Name": "saltHex", "Type": "string", "Value": ""}, {"Name": "version", "Type": "uint8", "Value": ""}, {"Name": "opcode", "Type": "uint8", "Value": ""}, {"Name": "operandHex", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{SourceChannelId gno.land/p/onbloc/ibc/union/types.ChannelId; DestinationChannelId gno.land/p/onbloc/ibc/union/types.ChannelId; Data []uint8; TimeoutHeight gno.land/p/onbloc/ibc/union/types.MustBeZero; TimeoutTimestamp gno.land/p/onbloc/ibc/union/types.Timestamp}", "Value": ""}]
ProxyPkgPath [{"Name": ".res.0", "Type": "string", "Value": ""}]
ProxyAddress [{"Name": ".res.0", "Type": "string", "Value": ""}]
RegisterImpl [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "constructor", "Type": "func(gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.IStore) gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.IApp", "Value": ""}]
UpdateImpl [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "path", "Type": "string", "Value": ""}]
NewVoucher [{"Name": "token", "Type": "*gno.land/p/demo/tokens/grc20.Token", "Value": ""}, {"Name": "ledger", "Type": "*gno.land/p/demo/tokens/grc20.PrivateLedger", "Value": ""}, {"Name": "originDecimals", "Type": "uint8", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm.Voucher", "Value": ""}]
NewVoucherInfo [{"Name": "denom", "Type": "string", "Value": ""}, {"Name": "name", "Type": "string", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "originDecimals", "Type": "uint8", "Value": ""}, {"Name": "ledgerDecimals", "Type": "uint8", "Value": ""}, {"Name": "totalSupply", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "struct{Denom string; Name string; Symbol string; OriginDecimals uint8; LedgerDecimals uint8; TotalSupply int64}", "Value": ""}]
VoucherApprove [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "ibcDenom", "Type": "string", "Value": ""}, {"Name": "spender", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
VoucherTransfer [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "ibcDenom", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
VoucherBalanceOf [{"Name": "ibcDenom", "Type": "string", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]

Files

Storage

{
  "raw": "storage: 102345, deposit: 10234500"
}