Skip to content

Commit

Permalink
add admin param to go-cosmwasm InstantiateMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
luca992 committed Sep 26, 2023
1 parent a7e0901 commit cd35c6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go-cosmwasm/types/v010/msg_v010.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ type ExecuteMsg struct {
}

type InstantiateMsg struct {
// Optional admin address to be set
Admin string `json:"admin,omitempty"`
// CodeID is the reference to the wasm byte code as used by the Cosmos-SDK
CodeID uint64 `json:"code_id"`
// Custom addition to support binding a message to specific code to harden against offline & replay attacks
Expand Down

0 comments on commit cd35c6e

Please sign in to comment.