Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal Template Publishing #3

Open
Stuyk opened this issue Jun 16, 2023 · 0 comments
Open

Proposal Template Publishing #3

Stuyk opened this issue Jun 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Stuyk
Copy link
Owner

Stuyk commented Jun 16, 2023

Want to add the following functionality:

  • Ability to create a proposal template.
  • Works with extension context: name.proposal.json
  • File name determines the proposal name. Such as fixsomething.proposal.json which should be limited to 12 letters
  • We could also just trim off excess after splitting the file name into parts.

Proposed Format:

{
    "proposer": "myaccount",
    "approvals": [
        "uada1@active",
        "uada2@active",
        "uada3@active",
        "uada4@active",
        "uada5@active",
    ],
    "transactions": [
        {
            "contract": "eosio.token",
            "action": "transer",
            "data": {
                "from": "whatever",
                "to": "whomever",
                "quantity": "5.00000000 UOS",
                "memo": ""
            },
            "authorization": [
                {
                    "actor": "propacc",
                    "permission": "whatever"
                }
            ]
        }
    ]
}
@Stuyk Stuyk converted this from a draft issue Jun 16, 2023
@Stuyk Stuyk added the enhancement New feature or request label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant