Custom Proposal
Custom Proposal is a proposal with an arbitrary transaction body: instead of a ready-made form, you directly specify the JSON that will be executed on behalf of the DAO. This is the most flexible, but also the riskiest proposal type — use it only if you understand what on-chain call the specified JSON produces.
In the current version of XDAO TON, the Custom Proposal proposal type isn't visible in the Create Proposal type list for every account — availability depends on your account's permissions. If it doesn't appear in your list of proposal types, this operation isn't available to you.
If Custom Proposal is available to your account, to create it:
Open the Proposals section → Create Proposal, select the DAO you need and the proposal type Custom Proposal, then click Create.
Check the Proposal name and Description — by default they are filled in from the DAO's name and description, but can be changed.
Choose the Voting Duration.
In the Custom Body (JSON) field, specify the JSON object that will become the proposal's body, for example: {"op": 123, "queryId": 0, "mode": 1}. The field defaults to the template {"op": 0, "queryId": 0}.
Click Create.
Custom Proposal is executed on behalf of the DAO with exactly the parameters you specified in the JSON. Check the op code and the other fields carefully before creating it — an already-executed proposal cannot be undone.
Once created, the proposal appears on the DAO's Votes tab, where GP token holders vote on it with their weight. As soon as the "for" votes reach the DAO's general consensus, the proposal is executed on the TON network automatically — the specified transaction body is executed on behalf of the DAO with exactly the parameters you set.