diff --git a/modules/bitgo/test/v2/unit/coins/ofcToken.ts b/modules/bitgo/test/v2/unit/coins/ofcToken.ts index b1fa258424..bff9c3946a 100644 --- a/modules/bitgo/test/v2/unit/coins/ofcToken.ts +++ b/modules/bitgo/test/v2/unit/coins/ofcToken.ts @@ -293,7 +293,6 @@ describe('OFC:', function () { ofcCoin.getChain().should.equal(tokenMain); ofcCoin.getFullName().should.equal('Chainlink Token'); ofcCoin.getBaseFactor().should.equal(PRECISION_18); - ofcCoin.addressCoin.should.equal('arbeth'); }); }); describe('for test network', function () { @@ -302,7 +301,6 @@ describe('OFC:', function () { ofcCoin.getChain().should.equal(tokenTest); ofcCoin.getFullName().should.equal('Arbitrum Test LINK'); ofcCoin.getBaseFactor().should.equal(PRECISION_18); - ofcCoin.addressCoin.should.equal('tarbeth'); }); }); }); diff --git a/modules/sdk-core/src/coins/ofcToken.ts b/modules/sdk-core/src/coins/ofcToken.ts index df984af0df..84ffbb4406 100644 --- a/modules/sdk-core/src/coins/ofcToken.ts +++ b/modules/sdk-core/src/coins/ofcToken.ts @@ -24,12 +24,9 @@ const publicIdRegex = /^[a-f\d]{32}$/i; export class OfcToken extends Ofc { public readonly tokenConfig: OfcTokenConfig; - public readonly addressCoin?: string; - constructor(bitgo: BitGoBase, tokenConfig: OfcTokenConfig) { super(bitgo); this.tokenConfig = tokenConfig; - this.addressCoin = tokenConfig.addressCoin; } get coin() { diff --git a/modules/statics/src/tokenConfig.ts b/modules/statics/src/tokenConfig.ts index 6069b23909..19143cdb07 100644 --- a/modules/statics/src/tokenConfig.ts +++ b/modules/statics/src/tokenConfig.ts @@ -62,7 +62,6 @@ export type AlgoTokenConfig = BaseNetworkConfig & { export type OfcTokenConfig = BaseTokenConfig & { backingCoin: string; isFiat: boolean; - addressCoin?: string; }; export type HbarTokenConfig = BaseNetworkConfig; @@ -250,7 +249,6 @@ const formattedOfcCoins = coins.reduce((acc: OfcTokenConfig[], coin) => { name: coin.fullName, decimalPlaces: coin.decimalPlaces, isFiat: coin.kind === CoinKind.FIAT, - addressCoin: coin.addressCoin, }); } return acc;