Skip to content

Commit

Permalink
Merge pull request #105 from thepower/feat/new_abi_coder
Browse files Browse the repository at this point in the history
removed unused code
  • Loading branch information
jackkru69 authored Nov 28, 2023
2 parents e39a728 + d038f11 commit 90e11d9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/tssdk/src/contracts/evm721Contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,23 +105,10 @@ export class Evm721Contract {
);
}

// public async safeTransferFromWithData(from: string, to: string, tokenID: bigint, data: any, key: AccountKey) {
// return this.evmContract.scSet(
// key,
// 'safeTransferFrom',
// [AddressApi.textAddressToEvmAddress(from), AddressApi.textAddressToEvmAddress(to), tokenID, data],
// );
// }

public async setApprovalForAll(operator: string, approved: boolean, key: AccountKey) {
return this.evmContract.scSet(key, 'setApprovalForAll', [AddressApi.textAddressToEvmAddress(operator), approved]);
}

// public async getSupportsInterface(interfaceId: number) {
// const approved = await this.evmContract.scGet('supportsInterface', [ethers.utils.toHex('DA')]);
// return approved;
// }

public async transferFrom(from: string, to: string, tokenID: bigint, key: AccountKey) {
return this.evmContract.scSet(
key,
Expand Down

0 comments on commit 90e11d9

Please sign in to comment.