This version of the Forta token is living on the root (or parent) chain. That would be: - Mainnet for production - Goerli for testing
In addition to all the common forta features, the version is mintable by a specific role.
function initialize(address admin) public
Initializer method, access point to initialize inheritance tree.
|admin||address||address for the ADMIN_ROLE of the token.|
function mint(address to, uint256 amount) public
Allow MINTER_ROLE to mint new tokens
function version() external pure virtual returns (string)
Since FortaCommon is IVersioned, Forta is deployed in L1 and FortaBridgedPolygon in L2, we need to implement the interface with a method instead of immutable variable.
|||string||version of FORT deployed in L1|