Skip to content

Commit e711153

Browse files
authored
Merge pull request #7989 from BitGo/WIN-8210-1
chore(sdk-coin-tempo): add missing config to constructor
2 parents d0581f1 + fe05975 commit e711153

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/sdk-coin-tempo/src/tip20Token.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ export { Tip20TokenConfig };
1919
*/
2020
export class Tip20Token extends Tempo {
2121
public readonly tokenConfig: Tip20TokenConfig;
22+
public readonly contractAddress: string;
2223

2324
constructor(bitgo: BitGoBase, tokenConfig: Tip20TokenConfig) {
2425
const staticsCoin = tokenConfig.network === 'Mainnet' ? coins.get('tempo') : coins.get('ttempo');
2526
super(bitgo, staticsCoin);
2627
this.tokenConfig = tokenConfig;
28+
this.contractAddress = tokenConfig.tokenContractAddress;
2729
}
2830

2931
/**

0 commit comments

Comments
 (0)