Skip to content

Commit fe05975

Browse files
committed
chore(sdk-coin-tempo): add missing config to constructor
TICKET: WIN-8210
1 parent 2701c9d commit fe05975

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)