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

core package

Functions

BatchAcks

func BatchAcks(cur realm, msg types.MsgBatchAcks)

BatchAcks aggregates the acks of received packets into a batch receipt.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "BatchAcks" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "BatchAcks" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

BatchSend

func BatchSend(cur realm, msg types.MsgBatchSend)

BatchSend aggregates already-committed packets into a batch commitment.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "BatchSend" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "BatchSend" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelCloseConfirm

func ChannelCloseConfirm(cur realm, msg types.MsgChannelCloseConfirm)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelCloseConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelCloseConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelCloseInit

func ChannelCloseInit(cur realm, msg types.MsgChannelCloseInit)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelCloseInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelCloseInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelOpenAck

func ChannelOpenAck(cur realm, msg types.MsgChannelOpenAck)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelOpenConfirm

func ChannelOpenConfirm(cur realm, msg types.MsgChannelOpenConfirm)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelOpenInit

func ChannelOpenInit(cur realm, msg types.MsgChannelOpenInit)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelOpenTry

func ChannelOpenTry(cur realm, msg types.MsgChannelOpenTry)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ChannelOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ChannelValue

func ChannelValue(channel types.Channel) types.H256

ChannelValue returns the H256 commitment value of a channel, exposed so the impl can build the expected counterparty value for membership proofs.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.ChannelValue()"

Result

CommitMembershipProof

func CommitMembershipProof(cur realm, msg types.MsgCommitMembershipProof)

CommitMembershipProof verifies and records a membership proof.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CommitMembershipProof" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CommitMembershipProof" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

CommitNonMembershipProof

func CommitNonMembershipProof(cur realm, msg types.MsgCommitNonMembershipProof)

CommitNonMembershipProof verifies and records a non-membership proof.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CommitNonMembershipProof" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CommitNonMembershipProof" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

CommitPacketHash

func CommitPacketHash(packet types.Packet) types.H256

CommitPacketHash returns the union commitment hash of a single packet.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.CommitPacketHash()"

Result

CommitPacketsHash

func CommitPacketsHash(packets []types.Packet) types.H256

CommitPacketsHash returns the union commitment hash of a packet batch.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.CommitPacketsHash()"

Result

ConnectionOpenAck

func ConnectionOpenAck(cur realm, msg types.MsgConnectionOpenAck)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ConnectionOpenConfirm

func ConnectionOpenConfirm(cur realm, msg types.MsgConnectionOpenConfirm)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ConnectionOpenInit

func ConnectionOpenInit(cur realm, msg types.MsgConnectionOpenInit)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenInit" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ConnectionOpenTry

func ConnectionOpenTry(cur realm, msg types.MsgConnectionOpenTry)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ConnectionOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ConnectionValue

func ConnectionValue(connection types.Connection) types.H256

ConnectionValue returns the H256 commitment value of a connection, exposed so the impl can build the expected counterparty value for membership proofs.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.ConnectionValue()"

Result

CreateClient

func CreateClient(cur realm, msg types.MsgCreateClient)

CreateClient assigns a client id, stores the submitted state bytes, then lets the light client verify creation against that freshly stored state.

Union references: https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L867-L903 https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L905-L972

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CreateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "CreateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

EmitAppRegistered

func EmitAppRegistered(_ int, rlm realm, portId []byte, registrarPkgPath string, adminOverride bool)

EmitAppRegistered emits the AppRegistered host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitAppRegistered(,,,,)"

Result

EmitBatchAcks

func EmitBatchAcks(_ int, rlm realm, channelId types.ChannelId, packetHash, batchHash types.H256)

EmitBatchAcks emits the BatchAcks host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitBatchAcks(,,,,)"

Result

EmitBatchSend

func EmitBatchSend(_ int, rlm realm, channelId types.ChannelId, packetHash, batchHash types.H256)

EmitBatchSend emits the BatchSend host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitBatchSend(,,,,)"

Result

EmitChannelCloseConfirm

func EmitChannelCloseConfirm(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, connection types.Connection)

EmitChannelCloseConfirm emits the ChannelCloseConfirm host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelCloseConfirm(,,,,,)"

Result

EmitChannelCloseInit

func EmitChannelCloseInit(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, connection types.Connection)

EmitChannelCloseInit emits the ChannelCloseInit host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelCloseInit(,,,,,)"

Result

EmitChannelOpenAck

func EmitChannelOpenAck(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, connection types.Connection)

EmitChannelOpenAck emits the ChannelOpenAck host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelOpenAck(,,,,,)"

Result

EmitChannelOpenConfirm

func EmitChannelOpenConfirm(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, connection types.Connection)

EmitChannelOpenConfirm emits the ChannelOpenConfirm host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelOpenConfirm(,,,,,)"

Result

EmitChannelOpenInit

func EmitChannelOpenInit(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, connection types.Connection)

EmitChannelOpenInit emits the ChannelOpenInit host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelOpenInit(,,,,,)"

Result

EmitChannelOpenTry

func EmitChannelOpenTry(_ int, rlm realm, portId types.Bytes, channelId types.ChannelId, channel types.Channel, counterpartyVersion string, connection types.Connection)

EmitChannelOpenTry emits the ChannelOpenTry host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitChannelOpenTry(,,,,,,)"

Result

EmitCommitMembershipProof

func EmitCommitMembershipProof(_ int, rlm realm, msg types.MsgCommitMembershipProof)

EmitCommitMembershipProof emits the CommitMembershipProof host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitCommitMembershipProof(,,)"

Result

EmitCommitNonMembershipProof

func EmitCommitNonMembershipProof(_ int, rlm realm, msg types.MsgCommitNonMembershipProof)

EmitCommitNonMembershipProof emits the CommitNonMembershipProof host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitCommitNonMembershipProof(,,)"

Result

EmitConnectionOpenAck

func EmitConnectionOpenAck(_ int, rlm realm, connectionId types.ConnectionId, clientId, counterpartyClientId types.ClientId, counterpartyConnectionId types.ConnectionId)

EmitConnectionOpenAck emits the ConnectionOpenAck host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitConnectionOpenAck(,,,,,)"

Result

EmitConnectionOpenConfirm

func EmitConnectionOpenConfirm(_ int, rlm realm, connectionId types.ConnectionId, clientId, counterpartyClientId types.ClientId, counterpartyConnectionId types.ConnectionId)

EmitConnectionOpenConfirm emits the ConnectionOpenConfirm host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitConnectionOpenConfirm(,,,,,)"

Result

EmitConnectionOpenInit

func EmitConnectionOpenInit(_ int, rlm realm, connectionId types.ConnectionId, clientId, counterpartyClientId types.ClientId)

EmitConnectionOpenInit emits the ConnectionOpenInit host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitConnectionOpenInit(,,,,)"

Result

EmitConnectionOpenTry

func EmitConnectionOpenTry(_ int, rlm realm, connectionId types.ConnectionId, clientId, counterpartyClientId types.ClientId, counterpartyConnectionId types.ConnectionId)

EmitConnectionOpenTry emits the ConnectionOpenTry host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitConnectionOpenTry(,,,,,)"

Result

EmitCreateClient

func EmitCreateClient(_ int, rlm realm, clientId types.ClientId, clientType types.ClientType, counterpartyChainId string)

EmitCreateClient emits the CreateClient host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitCreateClient(,,,,)"

Result

EmitForceUpdateClient

func EmitForceUpdateClient(_ int, rlm realm, clientId types.ClientId, height types.Height)

EmitForceUpdateClient emits the ForceUpdateClient host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitForceUpdateClient(,,,)"

Result

EmitIntentPacketRecv

func EmitIntentPacketRecv(_ int, rlm realm, packet types.Packet, destinationChannel types.Channel, connection types.Connection, marketMakerMsg []byte)

EmitIntentPacketRecv emits the IntentPacketRecv host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitIntentPacketRecv(,,,,,)"

Result

EmitMisbehaviour

func EmitMisbehaviour(_ int, rlm realm, clientId types.ClientId)

EmitMisbehaviour emits the Misbehaviour host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitMisbehaviour(,,)"

Result

EmitPacketAck

func EmitPacketAck(_ int, rlm realm, packet types.Packet, sourceChannel types.Channel, connection types.Connection, acknowledgement []byte)

EmitPacketAck emits the PacketAck host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitPacketAck(,,,,,)"

Result

EmitPacketRecv

func EmitPacketRecv(_ int, rlm realm, packet types.Packet, destinationChannel types.Channel, connection types.Connection, relayerMsg []byte)

EmitPacketRecv emits the PacketRecv host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitPacketRecv(,,,,,)"

Result

EmitPacketSend

func EmitPacketSend(_ int, rlm realm, packet types.Packet, sourceChannel types.Channel, sourceConnection types.Connection)

EmitPacketSend emits the PacketSend host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitPacketSend(,,,,)"

Result

EmitPacketTimeout

func EmitPacketTimeout(_ int, rlm realm, packet types.Packet, sourceChannel types.Channel, connection types.Connection)

EmitPacketTimeout emits the PacketTimeout host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitPacketTimeout(,,,,)"

Result

EmitRegisterClient

func EmitRegisterClient(_ int, rlm realm, clientType types.ClientType)

EmitRegisterClient emits the RegisterClient host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitRegisterClient(,,)"

Result

EmitUpdateClient

func EmitUpdateClient(_ int, rlm realm, clientId types.ClientId, height types.Height)

EmitUpdateClient emits the UpdateClient host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitUpdateClient(,,,)"

Result

EmitWriteAck

func EmitWriteAck(_ int, rlm realm, packet types.Packet, destinationChannel types.Channel, connection types.Connection, acknowledgement []byte)

EmitWriteAck emits the WriteAck host event.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.EmitWriteAck(,,,,,)"

Result

ForceChannelOpenAck

func ForceChannelOpenAck(cur realm, msg types.MsgChannelOpenAck)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceChannelOpenConfirm

func ForceChannelOpenConfirm(cur realm, msg types.MsgChannelOpenConfirm)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceChannelOpenTry

func ForceChannelOpenTry(cur realm, msg types.MsgChannelOpenTry)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceChannelOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceConnectionOpenAck

func ForceConnectionOpenAck(cur realm, msg types.MsgConnectionOpenAck)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenAck" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceConnectionOpenConfirm

func ForceConnectionOpenConfirm(cur realm, msg types.MsgConnectionOpenConfirm)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenConfirm" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceConnectionOpenTry

func ForceConnectionOpenTry(cur realm, msg types.MsgConnectionOpenTry)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceConnectionOpenTry" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

ForceUpdateClient

func ForceUpdateClient(cur realm, msg types.MsgForceUpdateClient)

ForceUpdateClient re-initializes a client from submitted state bytes, bypassing header proof verification.

It is restricted to the admin and recovers expired or otherwise unrecoverable clients. The registered light client type for the existing client is reused.

Union references: https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L146-L166 https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L905-L972

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceUpdateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "ForceUpdateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

GetBatchPackets

func GetBatchPackets(batchHash types.H256) (types.H256, error)

GetBatchPackets returns the batch packet commitment for a batch hash, or an error when no batch packet commitment is stored for that hash.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetBatchPackets()"

Result

GetBatchReceipts

func GetBatchReceipts(batchHash types.H256) (types.H256, error)

GetBatchReceipts returns the batch receipt commitment for a batch hash, or an error when no batch receipt commitment is stored for that hash.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetBatchReceipts()"

Result

GetChannel

func GetChannel(channelId types.ChannelId) (types.Channel, error)

GetChannel returns the stored channel record for channelId. Apps need this to look up the counterparty channel id when constructing packets to send via BatchSend (the core no longer auto-derives it from a sender-side helper).

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetChannel()"

Result

GetChannels

func GetChannels() ([]types.Channel, error)

GetChannels returns all stored channel records.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetChannels()"

Result

GetClientImpl

func GetClientImpl(clientId types.ClientId) (string, error)

GetClientImpl returns the impl identifier for a client (best-effort: type), or an error when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetClientImpl()"

Result

GetClientState

func GetClientState(clientId types.ClientId) ([]byte, error)

GetClientState returns the mirrored client state bytes, or an error when the client state is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetClientState()"

Result

GetClientStatus

func GetClientStatus(clientId types.ClientId) string

GetClientStatus returns the client status as a uint8 string ("1"=Active, "2"=Expired, "3"=Frozen), or "0" when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetClientStatus()"

Result

GetClientType

func GetClientType(clientId types.ClientId) (types.ClientType, error)

GetClientType returns the registered client type for a client, or an error when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetClientType()"

Result

GetCommittedMembershipProof

func GetCommittedMembershipProof(clientId types.ClientId, proofHeight uint64, path []byte) (types.H256, error)

GetCommittedMembershipProof returns the committed membership proof value for the client/height/path key.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetCommittedMembershipProof(,,)"

Result

GetCommittedNonMembershipProof

func GetCommittedNonMembershipProof(clientId types.ClientId, proofHeight uint64, path []byte) bool

GetCommittedNonMembershipProof reports whether a non-membership proof commitment is stored for the key.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetCommittedNonMembershipProof(,,)"

Result

GetConnection

func GetConnection(connectionId types.ConnectionId) (types.Connection, error)

GetConnection returns the typed connection record, or an error when the connection is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetConnection()"

Result

GetConsensusState

func GetConsensusState(clientId types.ClientId, height types.Height) ([]byte, error)

GetConsensusState returns the consensus state bytes at a height, or an error when no consensus state is stored at that height.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetConsensusState(,)"

Result

GetLatestHeight

func GetLatestHeight(clientId types.ClientId) (uint64, error)

GetLatestHeight returns the light client's latest height, or an error when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetLatestHeight()"

Result

GetLightClient

func GetLightClient(clientId types.ClientId) (lightclient.Interface, bool)

GetLightClient returns the live light client instance for a client, or (nil, false) when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetLightClient()"

Result

GetRegisteredClientType

func GetRegisteredClientType(clientType types.ClientType) bool

GetRegisteredClientType reports whether a client type is registered (best-effort).

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetRegisteredClientType()"

Result

GetStatus

func GetStatus(clientId types.ClientId) (types.Status, error)

GetStatus returns the client's status, or an error when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetStatus()"

Result

GetTimestampAtHeight

func GetTimestampAtHeight(clientId types.ClientId, height uint64) (types.Timestamp, error)

GetTimestampAtHeight returns the consensus timestamp recorded at a height, or an error when the client is missing or has no consensus state at that height.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetTimestampAtHeight(,)"

Result

HasApp

func HasApp(portId []byte) bool

HasApp reports whether an app is registered at portId.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.HasApp()"

Result

HasClient

func HasClient(clientType types.ClientType) bool

HasClient reports whether a light client is registered for a client type.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.HasClient()"

Result

IntentPacketRecv

func IntentPacketRecv(cur realm, msg types.MsgIntentPacketRecv)

IntentPacketRecv settles packets on the proofless market-maker fast path.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "IntentPacketRecv" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "IntentPacketRecv" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

IsValidEventSize

func IsValidEventSize(fields ...[]byte) bool

IsValidEventSize reports whether fields, split together into one host event, stay within chain.Emit's 64-attr-pair ceiling. Fields within IsValidPacketDataSize's solo budget individually can still exceed it combined, so MaxEventAttrPairs also serves as the shared pair budget here.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.IsValidEventSize()"

Result

IsValidPacketDataSize

func IsValidPacketDataSize(data []byte) bool

IsValidPacketDataSize reports whether data stays within the configured packet_data event budget after hexAttr encoding.

It returns true when SplitEventAttrs is false because that mode intentionally disables packet_data size checks.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.IsValidPacketDataSize()"

Result

MaxPacketDataEventSize

func MaxPacketDataEventSize() int

MaxPacketDataEventSize returns the configured packet_data event budget after hexAttr encoding.

The budget is MaxEventAttrPairs * MaxEventAttrValueLen and is enforced only when SplitEventAttrs is true.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.MaxPacketDataEventSize()"

Result

Misbehaviour

func Misbehaviour(cur realm, msg types.MsgMisbehaviour)

Misbehaviour freezes a client after a valid misbehaviour proof, delegating to the installed impl.

Union reference: https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L1048-L1093

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "Misbehaviour" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "Misbehaviour" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

NewChannel

func NewChannel( state types.ChannelState, connectionId types.ConnectionId, counterpartyChannelId types.ChannelId, counterpartyPortId types.Bytes, version string, ) types.Channel

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewChannel(,,,,)"

Result

NewConnection

func NewConnection( state types.ConnectionState, clientId, counterpartyClientId types.ClientId, counterpartyConnectionId types.ConnectionId, ) types.Connection

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewConnection(,,,)"

Result

NewMsgChannelOpenAck

func NewMsgChannelOpenAck(channelId types.ChannelId, counterpartyVersion string, counterpartyChannelId types.ChannelId, proofTry []byte, proofHeight uint64, relayer string) types.MsgChannelOpenAck

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgChannelOpenAck(,,,,,)"

Result

NewMsgChannelOpenInit

func NewMsgChannelOpenInit(portId, counterpartyPortId []byte, connectionId types.ConnectionId, version string, relayer string) types.MsgChannelOpenInit

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgChannelOpenInit(,,,,)"

Result

NewMsgChannelOpenTry

func NewMsgChannelOpenTry( portId []byte, channel types.Channel, counterpartyVersion string, proofInit []byte, proofHeight uint64, relayer string, ) types.MsgChannelOpenTry

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgChannelOpenTry(,,,,,)"

Result

NewMsgConnectionOpenAck

func NewMsgConnectionOpenAck(connectionId, counterpartyConnectionId types.ConnectionId, proofTry []byte, proofHeight uint64) types.MsgConnectionOpenAck

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgConnectionOpenAck(,,,)"

Result

NewMsgConnectionOpenInit

func NewMsgConnectionOpenInit(clientId, counterpartyClientId types.ClientId) types.MsgConnectionOpenInit

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgConnectionOpenInit(,)"

Result

NewMsgCreateClient

func NewMsgCreateClient(clientType types.ClientType, clientStateBytes, consensusStateBytes []byte) types.MsgCreateClient

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgCreateClient(,,)"

Result

NewMsgPacketAcknowledgement

func NewMsgPacketAcknowledgement(packets []types.Packet, acknowledgements [][]byte, proof []byte, proofHeight uint64) types.MsgPacketAcknowledgement

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgPacketAcknowledgement(,,,)"

Result

NewMsgPacketRecv

func NewMsgPacketRecv(packets []types.Packet, relayerMsgs [][]byte, proof []byte, proofHeight uint64) types.MsgPacketRecv

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewMsgPacketRecv(,,,)"

Result

NewPacket

func NewPacket( sourceChannelId, destinationChannelId types.ChannelId, data []byte, timeoutTimestamp types.Timestamp, ) types.Packet

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewPacket(,,,)"

Result

NewRecvPacketResult

func NewRecvPacketResult(status types.PacketStatus, acknowledgement []byte) types.RecvPacketResult

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewRecvPacketResult(,)"

Result

PacketAcknowledgement

func PacketAcknowledgement(cur realm, msg types.MsgPacketAcknowledgement)

PacketAcknowledgement proves the counterparty acks and notifies the app.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketAcknowledgement" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketAcknowledgement" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

PacketRecv

func PacketRecv(cur realm, msg types.MsgPacketRecv)

PacketRecv proves and dispatches a batch of received packets.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketRecv" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketRecv" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

PacketTimeout

func PacketTimeout(cur realm, msg types.MsgPacketTimeout)

PacketTimeout proves a packet was never received and notifies the app.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketTimeout" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "PacketTimeout" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

QueryChannel

func QueryChannel(channelId types.ChannelId) string

QueryChannel returns the ABI-encoded channel as a hex string, or an empty string when the channel is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.QueryChannel()"

Result

QueryClientState

func QueryClientState(clientId types.ClientId) string

QueryClientState returns the client state bytes as a hex string, or an empty string when the client is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.QueryClientState()"

Result

QueryConnection

func QueryConnection(connectionId types.ConnectionId) string

QueryConnection returns the ABI-encoded connection as a hex string, or an empty string when the connection is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.QueryConnection()"

Result

QueryConsensusState

func QueryConsensusState(clientId types.ClientId, height uint64) string

QueryConsensusState returns the consensus state bytes at a given height as a hex string, or an empty string when missing.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.QueryConsensusState(,)"

Result

RegisterApp

func RegisterApp(cur realm, app app.IApp)

RegisterApp registers an IBC application at the caller realm's package path, delegating to the installed mustGetImpl().

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterApp" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterApp" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

RegisterClient

func RegisterClient(cur realm, clientType types.ClientType, clientImpl lightclient.ClientImpl)

RegisterClient registers a light client implementation for a client type, delegating to the installed impl.

Union reference: https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L849-L865

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterClient" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterClient" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

RegisterImpl

func RegisterImpl(cur realm, constructor func(store IStore) ICore)

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "RegisterImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

Render

func Render(_ string) string

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.Render()"

Result

SendPacket

func SendPacket(cur realm, sourceChannelId types.ChannelId, timeoutTimestamp types.Timestamp, data []byte) types.Packet

SendPacket commits a packet for the caller's port.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SendPacket" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SendPacket" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

SetEventConfig

func SetEventConfig(cur realm, config EventConfig)

SetEventConfig updates the host event attribute policy. The caller must be authorized for SelectorSetEventConfig.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetEventConfig" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetEventConfig" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

SetMaxEventAttrPairs

func SetMaxEventAttrPairs(cur realm, maxEventAttrPairs uint)

SetMaxEventAttrPairs updates the shared event attr-pair budget. The caller must be authorized for SelectorSetEventConfig.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetMaxEventAttrPairs" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetMaxEventAttrPairs" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

SetMaxEventAttrValueLen

func SetMaxEventAttrValueLen(cur realm, maxEventAttrValueLen uint)

SetMaxEventAttrValueLen updates the maximum value length for each split event attribute column. The caller must be authorized for SelectorSetEventConfig.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetMaxEventAttrValueLen" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetMaxEventAttrValueLen" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

SetSplitEventAttrs

func SetSplitEventAttrs(cur realm, splitEventAttrs bool)

SetSplitEventAttrs updates whether large event attributes are split. The caller must be authorized for SelectorSetEventConfig.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetSplitEventAttrs" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "SetSplitEventAttrs" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

UpdateClient

func UpdateClient(cur realm, msg types.MsgUpdateClient)

UpdateClient verifies a client message against the light client object, which updates its own state, and mirrors the resulting state bytes for queries and counterparty proofs.

Union reference: https://github.com/unionlabs/union/blob/8cff0ff34f6baa4cdb1e4650a08985dd05de0c5a/cosmwasm/core/src/contract.rs#L975-L1046

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "UpdateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "UpdateClient" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

UpdateImpl

func UpdateImpl(cur realm, path string)

UpdateImpl installs or re-points the implementation. It is admin-gated and injects the proxy-owned store into the target, so the store needs no public getter — the only way to obtain it is through this gated install.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "UpdateImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "UpdateImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

WriteAcknowledgement

func WriteAcknowledgement(cur realm, msg types.MsgWriteAcknowledgement)

WriteAcknowledgement commits a deferred acknowledgement for a received packet.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "WriteAcknowledgement" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/core" -func "WriteAcknowledgement" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx
  

DefaultEventConfig

func DefaultEventConfig() EventConfig

DefaultEventConfig returns the default host event attribute policy.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.DefaultEventConfig()"

Result

GetEventConfig

func GetEventConfig() EventConfig

GetEventConfig returns the current host event attribute policy.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetEventConfig()"

Result

NewEventConfig

func NewEventConfig(splitEventAttrs bool, maxEventAttrValueLen uint, maxEventAttrPairs uint) EventConfig

NewEventConfig constructs an EventConfig value. SetEventConfig validates the value before storing it.

Params

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.NewEventConfig(,,)"

Result