Skip to content

feat(blast): Add Multicall2 address (#109) #271

feat(blast): Add Multicall2 address (#109)

feat(blast): Add Multicall2 address (#109) #271

GitHub Actions / Test Report succeeded Feb 29, 2024 in 1s

21 passed, 0 failed and 0 skipped

Tests passed successfully

βœ…Β coverage-tests-report.json

21 tests were completed in 15ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/unit/aave.unit.test.ts 1βœ… 0ms
test/unit/accounts.unit.test.ts 1βœ… 0ms
test/unit/blast.unit.test.ts 1βœ… 0ms
test/unit/erc20.unit.test.ts 1βœ… 0ms
test/unit/multicall.unit.test.ts 1βœ… 0ms
test/unit/uniqueIds.unit.test.ts 1βœ… 1ms
test/unit/utils.unit.test.ts 15βœ… 1ms

βœ…Β test/unit/aave.unit.test.ts

aave.ts getAllAaveV3Addresses
  βœ… should return all addresses

βœ…Β test/unit/accounts.unit.test.ts

accounts.ts getAllAccounts
  βœ… should return all addresses

βœ…Β test/unit/blast.unit.test.ts

blast.ts getAllBlastAddresses
  βœ… should return all addresses

βœ…Β test/unit/erc20.unit.test.ts

erc20.ts getAllErc20s
  βœ… should return all addresses

βœ…Β test/unit/multicall.unit.test.ts

multicall.ts getAllMulticallAddresses
  βœ… should return all addresses

βœ…Β test/unit/uniqueIds.unit.test.ts

Unique IDs
  βœ… Unique IDs should be unique per network across address types

βœ…Β test/unit/utils.unit.test.ts

utils.ts chainIdToNetworkName
  βœ… should return network name for known chain ID
  βœ… should return undefined for unknown chain ID
utils.ts toErc20InstancePerNamedNetwork
  βœ… should man multiple instances of same ERC20 for a network
  βœ… should map default singleton to both instance ID and symbol as ID
  βœ… should map multiple ERC20s for a network
  βœ… should map multiple networks
  βœ… should map non-default singleton to singleton
  βœ… should map undefined-default as non-default
  βœ… should return empty object for empty input
utils.ts toNamedAddressesPerNamedNetwork
  βœ… should map all networks for a role
  βœ… should map all role groups
  βœ… should map all roles in a role group
  βœ… should return empty object for empty input
  βœ… should return empty object for empty role group
  βœ… should use role ID as address name