All Smart Contract Management Interface Actions [TokenGen Tutorial]

All Smart Contract Management interface actions [TokenGen tutorial]

Currently, there are a total of 15 different actions that can be performed on your deployed smart contracts via the TokenGen contract management interface. Of course, that is in the case where all features are included in your project. In this article, we will list all of these actions and shortly explain what each of them can be used for.

The TokenGen Smart Contract Management Interface Actions

Since the interface is split into two contracts at the moment – token and fundraiser – we will separate the actions by the same logic. However, there are actions that are available for both the token and fundraiser contracts and so, we will list them first.

  • Transfer Ownership – allows you to initiate a transfer of ownership to the provided address. Keep in mind that the ownership will not be transferred until the new owner address accepts the ownership by performing the Accept Ownership action.
  • Accept Ownership – allows the proposed new owner address to accept the ownership of the contract. Once this action is called, the owner transfer process will be completed.

Token Contract Actions

  • Mint Tokens – if the Mintable Token feature is active, then you can use this action to create tokens for certain addresses.
  • Disable Minting – similar to the above action, this action is also available only when the Mintable Token feature is active. You can use it to disable the minting process, thus finalizing the total supply of the token. Keep in mind that you can disable minting while the fundraiser is active which will cause it to end since no more tokens can be created.
  • Pause Transfers – allows you to pause transfers on your token for whatever reason. This is useful if, for example, your crowdsale is ongoing, or if you want to migrate your token to another blockchain. You can use this action to freeze all transfers on the token and make a snapshot of all balances and then migrate the token to another blockchain with the same balances as before.
  • Unpause Transfers – this action is the counterpart of the above one as it allows all token transfers. For instance, after your token crowdsale has ended and you have landed a decent exchange listing, you can unpause token transfers and let the market run its course.
  • Check Address Balance – allows you to check the token balance of a specific address.

Fundraiser Contract Actions

  • Change Beneficiary – allows you to change the Beneficiary address of the fundraiser i.e. the address where all funds gathered will be sent once the crowdsale ends.
  • Change Fundraiser Conversion Rate – allows you to change the fundraiser conversion rate i.e. the amount of tokens purchased by 1 ETH.
  • Change Gas Price Limit – allows you to change the gas price limit for the fundraiser. The gas price limit is the maximum amount of gwei allowed to be used by transactions during the fundraiser. For example, if we set this to 50, and someone tries to participate in the fundraiser but uses 51 gwei for their transaction, it will be reverted.
  • Change Individual Max Cap – allows you to change the maximum amount of ETH a single fundraiser participant is allowed to invest. For example, if you set this to 10, then investors can buy no more than 10 ETH worth of tokens. Keep in mind that you can increase this later on and people who have already hit the previous cap will be allowed to purchase more tokens.
  • Change Individual Min Cap – same action as above however, this one deals with the minimum cap i.e. the minimum amount of ETH allowed to be invested in the fundraiser. Transactions with lower ETH investment than the individual min cap will be reverted.
  • Finalize The Fundraiser – if the fundraiser has reached its end date, or if it has hit the hard cap, you can call use this action to finalize it. This will close the fundraiser and will send all gathered funds to the Beneficiary address.
  • Release Tokens – if your project is using the Token Safe feature, then you can use the Release Tokens action to release tokens from the token safe. More details on this can be found in the Token Safe feature tutorial.
  • Check Address Whitelisted Status – allows you to check whether or not a certain address is whitelisted and thus allowed to participate in the fundraiser.
  • Whitelist Addresses – allows you to whitelist one or more addresses in order to allow them to participate in the fundraiser. More details on the matter can be found in the Whitelist feature tutorial.
  • Blacklist Addresses – allows you to blacklist addresses in order to remove their access from participating in the fundraiser. This is the counterpart action to the above whitelist function.


If you are also looking for a quick guide on using the TokenGen smart contract management interface, then I suggest you refer to this article. That being said, we covered all of the 15 actions that are currently available on that same interface and you now know what each of them does and when you can use it.