git.delta.rocks / unique-network / refs/commits / b9dbd2653452

difftreelog

Revert "Fix eslint errors"

Max Andreev2023-01-12parent: #2667119.patch.diff
in: master
This reverts commit 2667119a94c06a44b40a57d31d70c3cfe3f6e6e7.

1 file changed

modifiedtests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth
190190
191 async rftToken(address: string, caller?: string, mergeDeprecated = false) {191 async rftToken(address: string, caller?: string, mergeDeprecated = false) {
192 const web3 = this.helper.getWeb3();192 const web3 = this.helper.getWeb3();
193 const abi = mergeDeprecated ? [...refungibleTokenAbi, ...refungibleTokenDeprecatedAbi] : refungibleTokenAbi;193 let abi = mergeDeprecated ? [...refungibleTokenAbi, ...refungibleTokenDeprecatedAbi] : refungibleTokenAbi;
194 return unlimitedMoneyHack(new web3.eth.Contract(abi as any, address, {194 return unlimitedMoneyHack(new web3.eth.Contract(abi as any, address, {
195 gas: this.helper.eth.DEFAULT_GAS,195 gas: this.helper.eth.DEFAULT_GAS,
196 gasPrice: await this.getGasPrice(),196 gasPrice: await this.getGasPrice(),
199 }199 }
200200
201 rftTokenById(collectionId: number, tokenId: number, caller?: string, mergeDeprecated = false) {201 rftTokenById(collectionId: number, tokenId: number, caller?: string, mergeDeprecated = false) {
202 return this.rftToken(this.helper.ethAddress.fromTokenId(collectionId, tokenId), caller, mergeDeprecated);202 return this.rftToken(this.helper.ethAddress.fromTokenId(collectionId, tokenId), caller, true);
203 }203 }
204}204}
205205