tso-data-models
Advanced tools
Comparing version 1.0.139 to 1.0.140
@@ -27,3 +27,3 @@ "use strict"; | ||
AssetSubmission.prototype.getSubmitPriceHash = function (tsoAddress) { | ||
return ethers_1.ethers.utils.keccak256(ethers_1.ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price, this.random, tsoAddress])); | ||
return ethers_1.ethers.utils.keccak256(ethers_1.ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price.toString(), this.random.toString(), tsoAddress])); | ||
}; | ||
@@ -30,0 +30,0 @@ return AssetSubmission; |
{ | ||
"name": "tso-data-models", | ||
"version": "1.0.139", | ||
"version": "1.0.140", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -39,3 +39,3 @@ import { BigNumber, ethers } from "ethers"; | ||
getSubmitPriceHash(tsoAddress: string) { | ||
return ethers.utils.keccak256(ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price, this.random, tsoAddress])); | ||
return ethers.utils.keccak256(ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price.toString(), this.random.toString(), tsoAddress])); | ||
} | ||
@@ -42,0 +42,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148365