Comparing version 0.40.0 to 0.41.0
@@ -40,3 +40,3 @@ "use strict"; | ||
// Troque na interface para receber tokenToReceive e tokenToUse ao inves de tokenToReceiveScriptHash blablabla | ||
static swapTokenToReceiveForTokenToUseInvocation({ address, amountToReceive, amountToUse, maximumSelling, tokenToReceive, tokenToUse, deadline, network, }) { | ||
static swapTokenToReceiveForTokenToUseInvocation({ address, amountToReceive, maximumSelling, tokenToReceive, tokenToUse, deadline, network, }) { | ||
const invocations = []; | ||
@@ -86,3 +86,3 @@ const allowedContracts = []; | ||
const GAS_PER_NEO = 0.001; | ||
const amountToUseInTransferFormatted = neon_core_1.u.BigInteger.fromNumber(Number(amountToUse) * GAS_PER_NEO).toString(); | ||
const amountToUseInTransferFormatted = neon_core_1.u.BigInteger.fromNumber(Number(amountToReceiveFormatted) * GAS_PER_NEO).toString(); | ||
const transferContractInvocation = this.transferContractInvocation({ | ||
@@ -89,0 +89,0 @@ address, |
{ | ||
"name": "bs-neo3", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |