import { utils , Wallet } from 'ethers' ; import { MAX_BURN_BOUND } from 'utils' ; import { TrueGold__factory } from 'contracts' ; export const initialSupply = utils . parseUnits ( '12441' , 6 ) ; export async function setupTrueGold ( [ deployer , initialHolder , secondAccount , thirdAccount ] ) { const trueGoldFactory = new TrueGold__factory ( deployer ) ; const token = await trueGoldFactory . deploy ( ) ; await token . initialize ( 0 , MAX_BURN_BOUND ) ; await token . mint ( initialHolder . address , initialSupply ) ; return { deployer , initialHolder , secondAccount , thirdAccount , token } ; }