File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
modules/sdk-coin-polyx/src/lib Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { Transaction as BaseTransaction } from '@bitgo/abstract-substrate';
1515import { Transaction as PolyxTransaction } from './transaction' ;
1616import { PreApproveAssetBuilder } from './preApproveAssetBuilder' ;
1717import { TokenTransferBuilder } from './tokenTransferBuilder' ;
18+ import { RejectInstructionBuilder } from './rejectInstructionBuilder' ;
1819
1920export type SupportedTransaction = BaseTransaction | PolyxTransaction ;
2021
@@ -42,6 +43,10 @@ export class TransactionBuilderFactory extends BaseTransactionBuilderFactory {
4243 return new TokenTransferBuilder ( this . _coinConfig ) . material ( this . _material ) ;
4344 }
4445
46+ getRejectInstructionBuilder ( ) : RejectInstructionBuilder {
47+ return new RejectInstructionBuilder ( this . _coinConfig ) . material ( this . _material ) ;
48+ }
49+
4550 getBondExtraBuilder ( ) : BondExtraBuilder {
4651 return new BondExtraBuilder ( this . _coinConfig ) . material ( this . _material ) ;
4752 }
@@ -93,6 +98,8 @@ export class TransactionBuilderFactory extends BaseTransactionBuilderFactory {
9398 return this . getPreApproveAssetBuilder ( ) ;
9499 } else if ( methodName === MethodNames . AddAndAffirmWithMediators ) {
95100 return this . getTokenTransferBuilder ( ) ;
101+ } else if ( methodName === MethodNames . RejectInstruction ) {
102+ return this . getRejectInstructionBuilder ( ) ;
96103 } else if ( methodName === 'bondExtra' ) {
97104 return this . getBondExtraBuilder ( ) ;
98105 } else if ( methodName === 'batchAll' ) {
You can’t perform that action at this time.
0 commit comments