5 Step Process — Deploy an Investment Proposal in MoatFund Ecosystem

If a non board member creates a proposal, the Tx will fail.

Samyak Jain
MoatFund
3 min readApr 23, 2018

--

We envision MoatFund as a decenralised fund managing protocol where board members have the rights to create new investment proposals and vote for existing one, assisting to build a decentralized governance. The protocol is not biased towards one group of users to benefit another.

This article demonstrates the step by step procedure on how Board Members can deploy new investment proposal in MoatFund ecosystem in a decentralised manner.

Step #1 — MyEtherWallet.

Visit the contract section at MyEtherWallet website.

Step #2 — Contract Address and ABI.

Fill up the input elements as follows:

Contract Address:

0x6A5fd0F9A80a3Fd1865B375482D790b300378f54 (etherscan)

ABI / JSON Interface:

Copy and paste the following JSON text.

Step #3 — Access and Select New Proposal.

Click Access button and select “newProposal” option from the dropdown menu.

Step #4 — Deploy New Proposal

  • weiAmount — Proposal Investment Amount in Wei (smallest unit of Ethereum). Use ConvertEther to calculate Wei from Ether.
  • proposalDescription — Describe the proposal in few words.

Access the wallet address which is added as a board member at MoatFund. Write / Sign the data and send it to Ethereum tx pool.

Step #5 — Send the Proposal ID to Team

Check your Tx status on etherscan. After your Tx gets confirmed, open the dropdown menu and check the number of proposal in the smart contract.

(Cross check) Again open the dropdown menu and choose the “proposals

Write the (numProposals — 1) number as shown below because an array always starts with 0.

Click read and the details of your deployed proposal will be reflected.

Finally, announce the proposal ID i.e. (numProposals — 1) in the Board Member’s Telegram Group. One of our team member will add the new proposal details on Official website for voting purpose.

Voting can also be done via MyEtherWallet by calling “Vote” function as shown below.

Extra Notes:

  • Deadline is set to 6,000 Ethereum blocks which is approximately equates to 24 hours.
  • More than 50% votes in favour of the Proposal will pass the proposal.
  • Anyone in the universe can execute the proposal by calling “executeProposal” function. The Tx will fail if called before deadline.
  • Minimum votes to execute the proposal is currently set to 0.

Any Questions? Feel free to join our telegram group or discuss with us on our public forum. If have questions specific to this article, do particpiate in the discussion at the forum thread.

Want to Invest in MoatFund? Participate in the MoatUnit Offering at our website — https://moatfund.com

--

--

Samyak Jain
MoatFund

Co-founder InstaDApp, MakerScan Alerts and Buidling Easwap. ETHSF and ETHINDIA finalists