Skip to content

Commit

Permalink
Update name for input
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Nov 18, 2024
1 parent 4852ab7 commit a344eae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/transfers/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type NativeTokenTransferInput = {
data?: Uint8Array;
};

export type ESDTTokenTransferInput = {
export type CustomTokenTransferInput = {
receiver: Address;
tokenTransfers: TokenTransfer[];
};
Expand Down
2 changes: 1 addition & 1 deletion src/transfers/transferTransactionsFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class TransferTransactionsFactory {
});
}

createTransactionForESDTTokenTransfer(sender: IAddress, options: resources.ESDTTokenTransferInput): Transaction {
createTransactionForESDTTokenTransfer(sender: IAddress, options: resources.CustomTokenTransferInput): Transaction {
this.ensureConfigIsDefined();

const numberOfTransfers = options.tokenTransfers.length;
Expand Down
2 changes: 1 addition & 1 deletion src/transfers/transfersControllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class TransfersController {
async createTransactionForEsdtTokenTransfer(
sender: IAccount,
nonce: bigint,
options: resources.ESDTTokenTransferInput,
options: resources.CustomTokenTransferInput,
): Promise<Transaction> {
const transaction = this.factory.createTransactionForESDTTokenTransfer(sender.address, options);

Expand Down

0 comments on commit a344eae

Please sign in to comment.