@thesingularitynetwork/darkswap-sdk 0.2.7-beta6 → 0.2.7-beta7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5017,7 +5017,7 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5017
5017
  }();
5018
5018
  _proto.execute = /*#__PURE__*/function () {
5019
5019
  var _execute = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(context) {
5020
- var signer, contract, _contract$deposit, depositArgs, estimatedGas, gasLimit, tx, _contract$proDeposit, _depositArgs, _estimatedGas, _tx;
5020
+ var signer, contract, _contract$proDeposit, depositArgs, estimatedGas, gasLimit, tx, _contract$proDeposit2, _depositArgs, _estimatedGas, _tx;
5021
5021
  return _regenerator().w(function (_context3) {
5022
5022
  while (1) switch (_context3.n) {
5023
5023
  case 0:
@@ -5041,14 +5041,14 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5041
5041
  case 3:
5042
5042
  depositArgs = [context.merkleRoot, context.newBalance.asset, hexlify32(context.depositAmount), context.proof.oldBalanceNullifier, hexlify32(context.newBalance.note), context.proof.newBalanceFooter, context.proof.proof];
5043
5043
  _context3.n = 4;
5044
- return (_contract$deposit = contract.deposit).estimateGas.apply(_contract$deposit, depositArgs.concat([{
5044
+ return (_contract$proDeposit = contract.proDeposit).estimateGas.apply(_contract$proDeposit, depositArgs.concat([{
5045
5045
  value: 0n
5046
5046
  }]));
5047
5047
  case 4:
5048
5048
  estimatedGas = _context3.v;
5049
5049
  gasLimit = refineGasLimit(estimatedGas);
5050
5050
  _context3.n = 5;
5051
- return contract.deposit.apply(contract, depositArgs.concat([{
5051
+ return contract.proDeposit.apply(contract, depositArgs.concat([{
5052
5052
  value: 0n,
5053
5053
  gasLimit: gasLimit
5054
5054
  }]));
@@ -5061,7 +5061,7 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5061
5061
  case 7:
5062
5062
  _depositArgs = [context.merkleRoot, context.newBalance.asset, hexlify32(context.depositAmount), context.proof.oldBalanceNullifier, hexlify32(context.newBalance.note), context.proof.newBalanceFooter, context.proof.proof];
5063
5063
  _context3.n = 8;
5064
- return (_contract$proDeposit = contract.proDeposit).estimateGas.apply(_contract$proDeposit, _depositArgs.concat([{
5064
+ return (_contract$proDeposit2 = contract.proDeposit).estimateGas.apply(_contract$proDeposit2, _depositArgs.concat([{
5065
5065
  value: context.depositAmount
5066
5066
  }]));
5067
5067
  case 8: