deploy_fiat_token

Documentation for eth_defi.usdc.deployment.deploy_fiat_token function.

deploy_fiat_token(web3, deployer, mint_amount=1000000, contract='centre/FiatTokenV2_1.json', token_name='USD Coin', token_symbol='USDC', token_currency='USD', decimals=6)[source]

Deploy USDC fiat token to be used in testing.

Parameters
  • mint_amount – Number of tokens to mint.

  • web3 (web3.main.Web3) –

  • deployer (Union[eth_typing.evm.ChecksumAddress, str]) –

Return type

eth_defi.token.TokenDetails