Create Proposal
Creating Proposal
On creating proposal, client need to direct the execution call to "Vote contract" as the target contract address.
Proposal Payload
The proposal payload will have "propose" as Json key and the json child will have 4 keys which are:
title (required)
description (required)
msgs (required): array of CosmosMsg json object
latest <optional>: to set expiration
The WasmMsg::Execute json payload above will be executed by controllerAddress and the message inside it should have "send_cosmos_msgs" json key like below:
type_url
value
Last updated