Panvala
Search…
Introduction
Getting Started
Terminology
Contract API Reference
TokenCapacitor
Calls
Transactions
Gatekeeper
frontend integration
Connect to Panvala
Proposals
Slates
Ballot Voting
Templates
templates
Powered By
GitBook
Transactions
moo la la la la la
Create a Proposal
1
function
createProposal
(
address to
,
uint tokens
,
bytes metadataHash
)
public
;
Copied!
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:
1
event
ProposalCreated
(
uint proposalID
,
address proposer
,
address to
,
uint tokens
,
bytes metadataHash
);
Copied!
Return value
: the identifier of the request being made, specified by
requestID
.
Previous
Calls
Next - Contract API Reference
Gatekeeper
Last modified
3yr ago
Copy link