@exodus/ethereum-lib 2.13.6 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/abi/index.js CHANGED
@@ -9,6 +9,7 @@ import repv2 from './repv2'
9
9
  import scdMcdMigration from './scd-mcd-migration'
10
10
  import maticValidatorShare from './matic-validator-share'
11
11
  import maticStakingManager from './matic-staking-manager'
12
+ import fantomSfc from './fantom-sfc'
12
13
 
13
14
  export default {
14
15
  ant,
@@ -22,4 +23,5 @@ export default {
22
23
  scdMcdMigration,
23
24
  maticValidatorShare,
24
25
  maticStakingManager,
26
+ fantomSfc,
25
27
  }
@@ -22,6 +22,8 @@ export default function createContract(address, contractName) {
22
22
  return new SolidityContract(ABI.maticValidatorShare, address)
23
23
  case 'maticStakingManager':
24
24
  return new SolidityContract(ABI.maticStakingManager, address)
25
+ case 'fantomSfc':
26
+ return new SolidityContract(ABI.fantomSfc, address)
25
27
  default:
26
28
  return SolidityContract.erc20(address)
27
29
  }