Hey, @kwaskoff!
First, please have discussions in the ION community to clarify the amounts you will propose.
Telegram: Contact @IONGovernanceWorkingGroup and here.
Maybe some people feel like the minimum 3 ION and, 5 ION for voting could be too high.
Now, let me help you encode it as base64.
If you’re a dev, you can refer to:
(() => {
const base64Str = Buffer.from(
JSON.stringify({
update_config: {
name: "ION DAO",
description: "DAO of the ION holders",
threshold: {
threshold: "0.5",
quorum: "0.3",
veto_threshold: "0.3",
},
voting_period: {
time: 604800,
},
deposit_period: {
time: 604800,
},
proposal_deposit: "500000",
proposal_min_deposit: "50000",
},
}),
).toString("base64");
return [
{
wasm: {
execute: {
contract_addr:
"osmo1k8re7jwz6rnnwrktnejdwkwnncte7ek7gt29gvnl3sdrg9mtnqkse6nmqm",
msg: base64Str,
funds: [],
},
},
},
];
})();
If you’re not a dev, I recommend referring to the below link first to encode it as base64.
json
{
"update_config": {
"name": "ION DAO",
"description": "DAO of the ION holders",
"threshold": {
"threshold": "0.5",
"quorum": "0.3",
"veto_threshold": "0.3"
},
"voting_period": {
"time": 604800
},
"deposit_period": {
"time": 604800
},
"proposal_deposit": "5000000",
"proposal_min_deposit": "1000000"
}
}
Once you encode the json as base64, you will see the value below.
value
ewogICJ1cGRhdGVfY29uZmlnIjogewogICAgIm5hbWUiOiAiSU9OIERBTyIsCiAgICAiZGVzY3JpcHRpb24iOiAiREFPIG9mIHRoZSBJT04gaG9sZGVycyIsCiAgICAidGhyZXNob2xkIjogewogICAgICAidGhyZXNob2xkIjogIjAuNSIsCiAgICAgICJxdW9ydW0iOiAiMC4zIiwKICAgICAgInZldG9fdGhyZXNob2xkIjogIjAuMyIKICAgIH0sCiAgICAidm90aW5nX3BlcmlvZCI6IHsKICAgICAgInRpbWUiOiA2MDQ4MDAKICAgIH0sCiAgICAiZGVwb3NpdF9wZXJpb2QiOiB7CiAgICAgICJ0aW1lIjogNjA0ODAwCiAgICB9LAogICAgInByb3Bvc2FsX2RlcG9zaXQiOiAiMTAwMDAwMCIsCiAgICAicHJvcG9zYWxfbWluX2RlcG9zaXQiOiAiNTAwMDAwMCIKICB9Cn0=
After that, you can put the value to the {paste here} in the below. That’s it.
[
{
"wasm": {
"execute": {
"contract_addr": "osmo1k8re7jwz6rnnwrktnejdwkwnncte7ek7gt29gvnl3sdrg9mtnqkse6nmqm",
"msg": "{paste here}",
"funds": []
}
}
}
]
To see if the outcome is valid: Explorer | Celatone Explorer for Cosmos chain.