@heliofi/evm-adapter
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -15,1 +15,2 @@ export declare enum ChainId { | ||
} | ||
export declare const helioEvmFeeWalletKey = "0xa50E658C75dd31C8a1FD29d48F3de26e6d79df5D"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ContractAddress = exports.ChainId = void 0; | ||
exports.helioEvmFeeWalletKey = exports.ContractAddress = exports.ChainId = void 0; | ||
var ChainId; | ||
@@ -20,2 +20,3 @@ (function (ChainId) { | ||
})(ContractAddress = exports.ContractAddress || (exports.ContractAddress = {})); | ||
exports.helioEvmFeeWalletKey = '0xa50E658C75dd31C8a1FD29d48F3de26e6d79df5D'; | ||
//# sourceMappingURL=constants.js.map |
@@ -18,3 +18,3 @@ "use strict"; | ||
})); | ||
const valueOverride = Number(req.tokenAddres) === 0 | ||
const valueOverride = Number(req.tokenAddress) === 0 | ||
? { | ||
@@ -24,3 +24,3 @@ value: recipientsAndAmounts.reduce((acc, r) => acc + r.amount, 0n), | ||
: undefined; | ||
const unsignedTx = await contract.populateTransaction.payment(req.tokenAddres, BNRecipientsAndAmounts, req.transactonDbId, valueOverride); | ||
const unsignedTx = await contract.populateTransaction.payment(req.tokenAddress, BNRecipientsAndAmounts, req.transactonDbId, valueOverride); | ||
unsignedTx.chainId = chainId; | ||
@@ -27,0 +27,0 @@ return unsignedTx; |
@@ -7,3 +7,3 @@ export type RecipientAndAmount = { | ||
transactonDbId: string; | ||
tokenAddres: string; | ||
tokenAddress: string; | ||
}; |
{ | ||
"name": "@heliofi/evm-adapter", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "API to interact with Helio Finances program on EVM chains.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
91852
1908