Function mint_tokens

Source
pub async fn mint_tokens<P, N>(
    hopr_token: HoprTokenInstance<P, N>,
    amount: U256,
) -> Result<Option<u64>>
where P: Provider<N>, N: Network,
Expand description

Mints specified amount of HOPR tokens to the contract deployer wallet. Assumes that the hopr_token contract is associated with a RPC client that also deployed the contract. Returns the block number at which the minting transaction was confirmed.