MCPcopy Create free account
hub / github.com/circlefin/arc-node / clients

Function clients

tests/simulation/NativeFiatToken.test.ts:165–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 const getCallIndexOffset = () => maybeUpgrade().length
164
165 const clients = async () => {
166 const client = await hre.viem.getPublicClient({
167 chain: getChain(hre),
168 })
169 const usdc = USDC.attach(client)
170 const randomWallet = privateKeyToAccount(generatePrivateKey())
171 const extraAbi = parseAbi([
172 'function upgradeTo(address newImplementation)',
173 'function initializeV2(string calldata newName)',
174 'function initializeV2_1(address lostAndFound)',
175 'function initializeV2_2(address[] accountsToBlacklist, string calldata newSymbol)',
176 ])
177
178 return { client, usdc, newAddress: randomWallet.address, extraAbi }
179 }
180
181 describe('mint', () => {
182 it('add minter by masterMinter', async () => {

Callers 1

Calls 2

getChainFunction · 0.90
attachMethod · 0.45

Tested by

no test coverage detected