@aurigami/sdk 1.6.5 → 1.6.6

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.
package/dist/sdk.esm.js CHANGED
@@ -2057,7 +2057,7 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead) {
2057
2057
  var _this;
2058
2058
 
2059
2059
  _this = _BlockchainEntityRead.call(this, networkConnection) || this;
2060
- _this._airDrop = new Contract(networkAddresses.misc.AURI_AIRDROP, AuriAirdropABI.abi, networkConnection.provider);
2060
+ _this.airDrop = new Contract(networkAddresses.misc.AURI_AIRDROP, AuriAirdropABI.abi, networkConnection.provider);
2061
2061
  return _this;
2062
2062
  }
2063
2063
  /**
@@ -2078,7 +2078,7 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead) {
2078
2078
  case 0:
2079
2079
  tokenInstance = new Token(token, getDecimal(token));
2080
2080
  _context.next = 3;
2081
- return this._airDrop.getRedeemableReward(utils.formatBytes32String(campaign), token, user);
2081
+ return this.airDrop.getRedeemableReward(utils.formatBytes32String(campaign), token, user);
2082
2082
 
2083
2083
  case 3:
2084
2084
  rewards = _context.sent;
@@ -2122,7 +2122,7 @@ var AirdropReadWrite = /*#__PURE__*/function (_AirdropRead) {
2122
2122
  switch (_context2.prev = _context2.next) {
2123
2123
  case 0:
2124
2124
  assert(campaigns.length == tokens.length, 'campaigns and tokens must have the same length');
2125
- _context2.t0 = this._airDrop.connect(this._networkConnection.signer);
2125
+ _context2.t0 = this.airDrop.connect(this._networkConnection.signer);
2126
2126
  _context2.t1 = campaigns.map(function (e) {
2127
2127
  return utils.formatBytes32String(e);
2128
2128
  });
@@ -2207,7 +2207,7 @@ var MulticallRead = /*#__PURE__*/function (_BlockchainEntityRead) {
2207
2207
  var _this;
2208
2208
 
2209
2209
  _this = _BlockchainEntityRead.call(this, networkConnection) || this;
2210
- _this._multicall = new Contract(networkAddresses.misc.MULTICALL, abis$5.abi, networkConnection.provider);
2210
+ _this.multicall = new Contract(networkAddresses.misc.MULTICALL, abis$5.abi, networkConnection.provider);
2211
2211
  return _this;
2212
2212
  }
2213
2213
  /**
@@ -2255,7 +2255,7 @@ var MulticallRead = /*#__PURE__*/function (_BlockchainEntityRead) {
2255
2255
 
2256
2256
  case 11:
2257
2257
  _context.next = 13;
2258
- return this._multicall.callStatic.aggregate(txns);
2258
+ return this.multicall.callStatic.aggregate(txns);
2259
2259
 
2260
2260
  case 13:
2261
2261
  response = _context.sent;
@@ -2311,7 +2311,7 @@ var MiscRead = /*#__PURE__*/function (_BlockchainEntityRead) {
2311
2311
  var _this;
2312
2312
 
2313
2313
  _this = _BlockchainEntityRead.call(this, networkConnection) || this;
2314
- _this._stakingRead = new StakingRead(networkConnection);
2314
+ _this.stakingRead = new StakingRead(networkConnection);
2315
2315
  _this.env = new AuriEnv(networkConnection);
2316
2316
  return _this;
2317
2317
  }
@@ -3661,7 +3661,7 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
3661
3661
  var _this;
3662
3662
 
3663
3663
  _this = _BlockchainEntityRead.call(this, networkConnection) || this;
3664
- _this._referral = new Contract(networkAddresses.misc.REFERRAL, abis$9.abi, networkConnection.provider);
3664
+ _this.referral = new Contract(networkAddresses.misc.REFERRAL, abis$9.abi, networkConnection.provider);
3665
3665
  return _this;
3666
3666
  }
3667
3667
  /**
@@ -3701,7 +3701,7 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
3701
3701
  switch (_context.prev = _context.next) {
3702
3702
  case 0:
3703
3703
  _context.next = 2;
3704
- return this._referral.userReferralCode(userAddr);
3704
+ return this.referral.userReferralCode(userAddr);
3705
3705
 
3706
3706
  case 2:
3707
3707
  result = _context.sent;
@@ -3736,7 +3736,7 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
3736
3736
  switch (_context2.prev = _context2.next) {
3737
3737
  case 0:
3738
3738
  _context2.next = 2;
3739
- return this._referral.referralCodeUsed(userAddr);
3739
+ return this.referral.referralCodeUsed(userAddr);
3740
3740
 
3741
3741
  case 2:
3742
3742
  result = _context2.sent;
@@ -3771,7 +3771,7 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
3771
3771
  switch (_context3.prev = _context3.next) {
3772
3772
  case 0:
3773
3773
  referralCode = ethers.utils.formatBytes32String(code);
3774
- return _context3.abrupt("return", this._referral.referralCodeOwner(referralCode));
3774
+ return _context3.abrupt("return", this.referral.referralCodeOwner(referralCode));
3775
3775
 
3776
3776
  case 2:
3777
3777
  case "end":
@@ -3814,7 +3814,7 @@ var ReferralReadWrite = /*#__PURE__*/function (_ReferralRead) {
3814
3814
  switch (_context4.prev = _context4.next) {
3815
3815
  case 0:
3816
3816
  referralCode = ethers.utils.formatBytes32String(this.generateReferralCode());
3817
- return _context4.abrupt("return", this._referral.connect(this._networkConnection.signer).registerNewUserReferralCode(referralCode));
3817
+ return _context4.abrupt("return", this.referral.connect(this._networkConnection.signer).registerNewUserReferralCode(referralCode));
3818
3818
 
3819
3819
  case 2:
3820
3820
  case "end":
@@ -3845,7 +3845,7 @@ var ReferralReadWrite = /*#__PURE__*/function (_ReferralRead) {
3845
3845
  switch (_context5.prev = _context5.next) {
3846
3846
  case 0:
3847
3847
  referralCode = ethers.utils.formatBytes32String(code);
3848
- return _context5.abrupt("return", this._referral.connect(this._networkConnection.signer).registerReferralCodeUsed(referralCode));
3848
+ return _context5.abrupt("return", this.referral.connect(this._networkConnection.signer).registerReferralCodeUsed(referralCode));
3849
3849
 
3850
3850
  case 2:
3851
3851
  case "end":