Investment Clubs
Contract interactions for manually managing Investment Clubs without Syndicate's front-end interface.
Last updated
Contract interactions for manually managing Investment Clubs without Syndicate's front-end interface.
Last updated
Note: You may want to consider doing a test mint with one address and a small number of tokens to make sure it works as expected before doing your real mint.
Navigate to a tool that allows you to execute direct smart contract interactions from the owner wallet, such as Gnosis or MyEtherWallet (both are compatible with MetaMask). If you didn't set up the club with Gnosis, you should use MyEtherWallet. For these instructions, we'll use MyEtherWallet.
Press "Access my wallet" -> "Browser extension" to connect with MetaMask.
Press "Contract" -> "Interact with Contract."
Input the following information. This will allow the bulk mint module to mint tokens for your club:
Contract Type: *Blank*
Contract Address: 0xc92836BC3201F2784fae26875Ac1C1d5acA0aef2
ABI/JSON Interface: updateModule.json
attached below.
Press "Interact."
Input the following information:
Function: UpdateModule
Token: The value from your Syndicate's URL. For example, if your URL is https://app.syndicate.io/clubs/0x4a2c85076ac921518b3af37095c49091713d6192/, you should paste in 0x4a2c85076ac921518b3af37095c49091713d6192
.
Module: 0xf5BA6f1Eb6eEA9A31726f8906280ef199F59bc11
, which is the address of the bulk mint module that you are adding to your club.
Allowed: *Checked*
Press "Write" -> "Confirm & Send."
For the next interaction, input the following information. This will call the bulk mint function on the recently added bulk mint module:
Contract Type: *Blank*
Contract Address: 0xf5BA6f1Eb6eEA9A31726f8906280ef199F59bc11
ABI/JSON Interface: batchMint.json
attached below
Press "Interact."
Input the following information:
Function: BatchMint
Token: The value from your Syndicate's URL. For example, if your URL is https://app.syndicate.io/clubs/0x4a2c85076ac921518b3af37095c49091713d6192/, you should paste in 0x4a2c85076ac921518b3af37095c49091713d6192
.
Addresses: The wallet addresses receiving tokens. For example, if you want to mint 100 tokens to 0xALICE and 200 tokens to 0xBOB, you should paste in["0xALICE", "0xBOB"]
.
Values: The token amounts for each receiving address. For example, if you want to mint 100 tokens to 0xALICE and 200 tokens to 0xBOB, you should paste in [100000000000000000000, 200000000000000000000]
. Since our club token has 18 decimals places, we need to append 18 decimals to it.
Press "Write" -> "Confirm & Send."
Navigate to a tool that allows you to execute direct smart contract interactions from the owner wallet, such as Gnosis or MyEtherWallet (both are compatible with MetaMask). If you didn't set up the club with Gnosis, you should use MyEtherWallet. For these instructions, we'll use MyEtherWallet.
Press "Access my wallet" -> "Browser extension" to connect with MetaMask.
Press "Contract" -> "Interact with Contract."
Input the following information. This will call the controller redeem function:
Contract Type: *Blank*
Contract Address: The value from your Syndicate's URL. For example, if your URL is app.syndicate.io/clubs/0x4a2c85076ac921518b3af37095c49091713d619, you should paste in 0x4a2c85076ac921518b3af37095c49091713d619
.
ABI/JSON Interface: burn.json
attached below
Press "Interact."
Input the following information:
Function:ControllerRedeem
Account: The wallet address of the member you want to burn tokens from. For example, if you want to burn 100 tokens from 0xba0B7614166fcBbF58d393aeF734331756504Bte
, you should paste in "0xba0B7614166fcBbF58d393aeF734331756504Bte"
.
Amount: The amount of tokens you want to burn from the member. For example, if you want to burn 100 tokens from the member, you should paste in 100000000000000000000
. Since our club token has 18 decimals places, we need to append 18 decimals to it.
Press "Write" -> "Confirm & Send."