File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ type BlockInfo struct {
2222}
2323
2424type ContractInfo struct {
25- // binary encoding of sdk.AccAddress of the contract, to be used when sending messages
25+ // Bech32 encoded sdk.AccAddress of the contract, to be used when sending messages
2626 Address HumanAddress `json:"address"`
2727}
2828
@@ -36,8 +36,8 @@ type TransactionInfo struct {
3636}
3737
3838type MessageInfo struct {
39- // binary encoding of sdk.AccAddress executing the contract
39+ // Bech32 encoded sdk.AccAddress executing the contract
4040 Sender HumanAddress `json:"sender"`
41- // amount of funds send to the contract along with this message
41+ // Amount of funds send to the contract along with this message
4242 Funds Coins `json:"funds"`
4343}
Original file line number Diff line number Diff line change @@ -351,17 +351,20 @@ type WasmQuery struct {
351351
352352// SmartQuery respone is raw bytes ([]byte)
353353type SmartQuery struct {
354+ // Bech32 encoded sdk.AccAddress of the contract
354355 ContractAddr string `json:"contract_addr"`
355356 Msg []byte `json:"msg"`
356357}
357358
358359// RawQuery response is raw bytes ([]byte)
359360type RawQuery struct {
361+ // Bech32 encoded sdk.AccAddress of the contract
360362 ContractAddr string `json:"contract_addr"`
361363 Key []byte `json:"key"`
362364}
363365
364366type ContractInfoQuery struct {
367+ // Bech32 encoded sdk.AccAddress of the contract
365368 ContractAddr string `json:"contract_addr"`
366369}
367370
You can’t perform that action at this time.
0 commit comments