You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UI currently doesn't handle deposits when creating a proposal. If the DAO contract has proposal deposits enabled the front end needs to call a multi msg transaction. The first message is to the CW20-Gov token and sets an allowance for the contract to transfer the deposit amount. The second is the create proposal message to the DAO contract.
The UI currently doesn't handle deposits when creating a proposal. If the DAO contract has proposal deposits enabled the front end needs to call a multi msg transaction. The first message is to the CW20-Gov token and sets an allowance for the contract to transfer the deposit amount. The second is the create proposal message to the DAO contract.
An example of a similar multi-msg transaction can be seen in the wasmswap repo. https://github.com/Wasmswap/wasmswap-interface/blob/042ce341e8c832f0ce3279b0f973e5dc0846f720/services/swap.ts#L56
The text was updated successfully, but these errors were encountered: