git.delta.rocks / unique-network / refs/commits / 2667119a94c0

difftreelog

Fix eslint errors

Max Andreev2023-01-11parent: #9fca092.patch.diff
in: master

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 let abi = mergeDeprecated ? [...refungibleTokenAbi, ...refungibleTokenDeprecatedAbi] : refungibleTokenAbi;193 const 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, true);202 return this.rftToken(this.helper.ethAddress.fromTokenId(collectionId, tokenId), caller, mergeDeprecated);
203 }203 }
204}204}
205205