Panvala
  • Introduction
  • Getting Started
  • Terminology
  • Contract API Reference
    • TokenCapacitor
      • Calls
      • Transactions
    • Gatekeeper
      • Calls
      • Transactions
  • frontend integration
    • Connect to Panvala
    • Proposals
    • Slates
    • Ballot Voting
  • Templates
    • templates
      • guide
      • api
      • faq
      • changelog
Powered by GitBook
On this page

Was this helpful?

  1. Contract API Reference
  2. TokenCapacitor

Transactions

moo la la la la la

Create a Proposal

function createProposal(address to, uint tokens, bytes metadataHash) public;

Creates a proposal to send the given amount of tokens to the given address, with details about the request in the metadataHash.

Emits the following event:

event ProposalCreated(uint proposalID, address proposer, address to, uint tokens, bytes metadataHash);

Return value: the identifier of the request being made, specified by requestID.

PreviousCallsNextGatekeeper

Last updated 6 years ago

Was this helpful?