Skip to content

Commit 11309a6

Browse files
authored
Merge pull request #6373 from BitGo/COIN-4676
feat(sdk-coin-near): added getTokenEnablementConfig for near
2 parents e4ffda5 + aba8a99 commit 11309a6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/sdk-coin-near/src/near.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
MultisigType,
3636
multisigTypes,
3737
AuditDecryptedKeyParams,
38+
TokenEnablementConfig,
3839
} from '@bitgo/sdk-core';
3940
import * as nearAPI from 'near-api-js';
4041
import * as request from 'superagent';
@@ -159,6 +160,16 @@ export class Near extends BaseCoin {
159160
return multisigTypes.tss;
160161
}
161162

163+
/**
164+
* @inheritDoc
165+
*/
166+
getTokenEnablementConfig(): TokenEnablementConfig {
167+
return {
168+
requiresTokenEnablement: true,
169+
supportsMultipleTokenEnablements: false,
170+
};
171+
}
172+
162173
getMPCAlgorithm(): MPCAlgorithm {
163174
return 'eddsa';
164175
}

0 commit comments

Comments
 (0)