Note
Tokenization is a premium feature that requires an additional purchase. If you don’t have access to this feature, contact your Customer Success Manager to discuss having it enabled in your Fireblocks workspace.
Overview
You can use the Fireblocks Console’s Tokenization page to manage the smart contracts for your deployed EVM tokens. Go to the Tokenization page, then select More Actions (...) > Manage contract to view and interact with the token’s smart contract.
Each token and smart contract consists of a list of functions that dictate how you can use the token. For example, you can call the Read function to view additional details about the token or the Write function to create a transaction involving the token. Some token functions may be called and invoked by any wallet on the network. However, other functions are privileged, and only a specific wallet or set of wallets that belong to the token owners or managers can call them.
You can limit which functions users can call by creating TAP rules with the Contract call methods parameter.
Prerequisites
The smart contract must be whitelisted in your workspace before you can call functions. You can use the following methods to whitelist the contract address in the Fireblocks Console:
- Go to the Whitelisted Addresses page and add the address to a whitelisted wallet.
- Go to the Tokenization page, access the Write functions for the contract, and select Whitelist contract.
Your Admin Quorum or assigned quorum group must approve the whitelist request for the address. You can view the request’s status on the Whitelisted Addresses page or by selecting Show request status when viewing the contract’s Write functions. Once approved, you can call the smart contract’s functions.
Read functions
Read functions let you view details encoded in the smart contract. In more technical terms, this is the state stored on the blockchain. You can query information related to certain functions on the contract. There are several types of inputs or returned values that can be associated with your contract’s functions:
- Addresses
- True/false (booleans)
- Numeric (integers)
- Text (strings)
In the image above, the caller used the balanceOf function to read the balance of a specific wallet. The token's balance returned after the caller entered the wallet address and selected Query.
Write functions
Write functions let you define or edit the information stored in the contract, also known as updating its state. You can create transactions by calling specific functions such as Approve or Mint.
In the example above, the caller used the approve function to let another user spend the token. This function also defines the maximum amount the user can spend.