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

Function mockBalances

tests/simulation/NativeFiatToken.test.ts:134–135  ·  view source on GitHub ↗
(...addresses: Array<Address>)

Source from the content-addressed store, hash-verified

132 const PROXY_ADDRESS = fiatTokenProxyAddress
133
134 const mockBalances = (...addresses: Array<Address>) =>
135 addresses.filter((x, i) => addresses.indexOf(x) === i).map((address) => ({ address, balance: parseEther('100') }))
136
137 /**
138 * Get new implementation address from environment

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected