@@ -165,6 +165,8 @@ type WasmMsg struct {
165165 Execute * ExecuteMsg `json:"execute,omitempty"`
166166 Instantiate * InstantiateMsg `json:"instantiate,omitempty"`
167167 Migrate * MigrateMsg `json:"migrate,omitempty"`
168+ UpdateAdmin * UpdateAdminMsg `json:"update_admin,omitempty"`
169+ ClearAdmin * ClearAdminMsg `json:"clear_admin,omitempty"`
168170}
169171
170172// ExecuteMsg is used to call another defined contract on this chain.
@@ -213,3 +215,19 @@ type MigrateMsg struct {
213215 // as `userMsg` when calling `Migrate` on the above-defined contract
214216 Msg []byte `json:"msg"`
215217}
218+
219+ // UpdateAdminMsg is the Go counterpart of WasmMsg::UpdateAdmin
220+ // (https://github.com/CosmWasm/cosmwasm/blob/v0.14.0-beta5/packages/std/src/results/cosmos_msg.rs#L158-L160).
221+ type UpdateAdminMsg struct {
222+ // ContractAddr is the sdk.AccAddress of the target contract.
223+ ContractAddr string `json:"contract_addr"`
224+ // Admin is the sdk.AccAddress of the new admin.
225+ Admin string `json:"admin"`
226+ }
227+
228+ // ClearAdminMsg is the Go counterpart of WasmMsg::ClearAdmin
229+ // (https://github.com/CosmWasm/cosmwasm/blob/v0.14.0-beta5/packages/std/src/results/cosmos_msg.rs#L158-L160).
230+ type ClearAdminMsg struct {
231+ // ContractAddr is the sdk.AccAddress of the target contract.
232+ ContractAddr string `json:"contract_addr"`
233+ }
0 commit comments