Skip to content

As a User, I want to generate my custom action for my smart contract #60

@danielvo11

Description

@danielvo11

Configuration:

actions:
  - name: invalidateVote
    fields:
      - name: voteId
        type: uint64_t
     -  name: reason
        type: string

generated action:

EOS:

[[eosio::action]] void invalidvote(uint64_t voteId, string reason) {
}

ICON:

@external
def invalidvote(self, voteId: int, reason: string):
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestepicAn epicinvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions