QueryMsg
The QueryMsg
is the message that allows you to see the state of the contract. Therefore, it is important to
understand the state of the contract.
GetChannel
loading...
This message is used to query the state of the ICS-27 channel as tracked by the contract. It returns
loading...
GetContractState
loading...
This message is used to query the state of the contract. It returns
loading...
Lets look at the fields of the ContractState
:
ica_info
This field will be empty if the channel handshake has not been completed. Otherwise, it will contain the following information:
loading...
allow_channel_open_init
This field is used internally and should be ignored. It will be removed in a future version.
callback_address
This is the contract address that the cw-ica-controller
contract will send callbacks to. If this field is empty,
then the contract will not send callbacks.
Ownership
loading...
This message type is provided by the cw-ownable crate. It allows to query
the ownership of the contract. It returns Ownership<String>
:
loading...