tso-data-models
Advanced tools
Comparing version 1.0.131 to 1.0.132
@@ -19,2 +19,3 @@ "use strict"; | ||
AssetSubmission.prototype.getSubmitPriceHash = function (tsoAddress) { | ||
this.formatPrice(); | ||
return ethers_1.ethers.utils.keccak256(ethers_1.ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price, this.random, tsoAddress])); | ||
@@ -21,0 +22,0 @@ }; |
{ | ||
"name": "tso-data-models", | ||
"version": "1.0.131", | ||
"version": "1.0.132", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -28,2 +28,3 @@ import { BigNumber, ethers } from "ethers"; | ||
getSubmitPriceHash(tsoAddress: string) { | ||
this.formatPrice(); | ||
return ethers.utils.keccak256(ethers.utils.defaultAbiCoder.encode(["uint256", "uint256", "address"], [this.price, this.random, tsoAddress])); | ||
@@ -30,0 +31,0 @@ } |
Sorry, the diff of this file is not supported yet
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
149005
2203