@thesingularitynetwork/darkswap-sdk-synara 1.0.0-beta1 → 1.0.0-beta2

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.
@@ -11187,10 +11187,7 @@ var SynaraDarkSwapOnBridgeAssetManagerAbi = {
11187
11187
  deployedLinkReferences: deployedLinkReferences$5
11188
11188
  };
11189
11189
 
11190
- var _format$6 = "hh-sol-artifact-1";
11191
- var contractName$6 = "CanonicalTokenRegistry";
11192
- var sourceName$6 = "src/CanonicalTokenRegistry.sol";
11193
- var abi$h = [
11190
+ var CanonicalTokenRegistryAbi = [
11194
11191
  {
11195
11192
  inputs: [
11196
11193
  ],
@@ -11237,50 +11234,16 @@ var abi$h = [
11237
11234
  name: "ExpectedPause",
11238
11235
  type: "error"
11239
11236
  },
11240
- {
11241
- inputs: [
11242
- ],
11243
- name: "NotMapped",
11244
- type: "error"
11245
- },
11246
11237
  {
11247
11238
  inputs: [
11248
11239
  ],
11249
11240
  name: "NotRegistered",
11250
11241
  type: "error"
11251
11242
  },
11252
- {
11253
- inputs: [
11254
- {
11255
- internalType: "address",
11256
- name: "owner",
11257
- type: "address"
11258
- }
11259
- ],
11260
- name: "OwnableInvalidOwner",
11261
- type: "error"
11262
- },
11263
- {
11264
- inputs: [
11265
- {
11266
- internalType: "address",
11267
- name: "account",
11268
- type: "address"
11269
- }
11270
- ],
11271
- name: "OwnableUnauthorizedAccount",
11272
- type: "error"
11273
- },
11274
11243
  {
11275
11244
  inputs: [
11276
11245
  ],
11277
- name: "TokenLocked",
11278
- type: "error"
11279
- },
11280
- {
11281
- inputs: [
11282
- ],
11283
- name: "TokenNotActive",
11246
+ name: "TokenAlreadyMapped",
11284
11247
  type: "error"
11285
11248
  },
11286
11249
  {
@@ -11290,73 +11253,10 @@ var abi$h = [
11290
11253
  type: "error"
11291
11254
  },
11292
11255
  {
11293
- anonymous: false,
11294
- inputs: [
11295
- {
11296
- indexed: true,
11297
- internalType: "bytes32",
11298
- name: "canonicalId",
11299
- type: "bytes32"
11300
- },
11301
- {
11302
- indexed: false,
11303
- internalType: "uint256",
11304
- name: "originChainId",
11305
- type: "uint256"
11306
- },
11307
- {
11308
- indexed: false,
11309
- internalType: "address",
11310
- name: "originToken",
11311
- type: "address"
11312
- },
11313
- {
11314
- indexed: false,
11315
- internalType: "uint8",
11316
- name: "decimals",
11317
- type: "uint8"
11318
- }
11319
- ],
11320
- name: "CanonicalRegistered",
11321
- type: "event"
11322
- },
11323
- {
11324
- anonymous: false,
11325
11256
  inputs: [
11326
- {
11327
- indexed: true,
11328
- internalType: "address",
11329
- name: "previousOwner",
11330
- type: "address"
11331
- },
11332
- {
11333
- indexed: true,
11334
- internalType: "address",
11335
- name: "newOwner",
11336
- type: "address"
11337
- }
11338
11257
  ],
11339
- name: "OwnershipTransferStarted",
11340
- type: "event"
11341
- },
11342
- {
11343
- anonymous: false,
11344
- inputs: [
11345
- {
11346
- indexed: true,
11347
- internalType: "address",
11348
- name: "previousOwner",
11349
- type: "address"
11350
- },
11351
- {
11352
- indexed: true,
11353
- internalType: "address",
11354
- name: "newOwner",
11355
- type: "address"
11356
- }
11357
- ],
11358
- name: "OwnershipTransferred",
11359
- type: "event"
11258
+ name: "ZeroCanonicalId",
11259
+ type: "error"
11360
11260
  },
11361
11261
  {
11362
11262
  anonymous: false,
@@ -11371,56 +11271,6 @@ var abi$h = [
11371
11271
  name: "Paused",
11372
11272
  type: "event"
11373
11273
  },
11374
- {
11375
- anonymous: false,
11376
- inputs: [
11377
- {
11378
- indexed: true,
11379
- internalType: "bytes32",
11380
- name: "canonicalId",
11381
- type: "bytes32"
11382
- },
11383
- {
11384
- indexed: false,
11385
- internalType: "uint256",
11386
- name: "chainId",
11387
- type: "uint256"
11388
- },
11389
- {
11390
- indexed: false,
11391
- internalType: "address",
11392
- name: "token",
11393
- type: "address"
11394
- }
11395
- ],
11396
- name: "RepresentationMapped",
11397
- type: "event"
11398
- },
11399
- {
11400
- anonymous: false,
11401
- inputs: [
11402
- {
11403
- indexed: true,
11404
- internalType: "bytes32",
11405
- name: "canonicalId",
11406
- type: "bytes32"
11407
- },
11408
- {
11409
- indexed: false,
11410
- internalType: "uint256",
11411
- name: "chainId",
11412
- type: "uint256"
11413
- },
11414
- {
11415
- indexed: false,
11416
- internalType: "address",
11417
- name: "token",
11418
- type: "address"
11419
- }
11420
- ],
11421
- name: "RepresentationUnmapped",
11422
- type: "event"
11423
- },
11424
11274
  {
11425
11275
  anonymous: false,
11426
11276
  inputs: [
@@ -11506,88 +11356,51 @@ var abi$h = [
11506
11356
  type: "bytes32"
11507
11357
  },
11508
11358
  {
11509
- indexed: false,
11510
- internalType: "enum ICanonicalTokenRegistry.TokenStatus",
11511
- name: "status",
11512
- type: "uint8"
11513
- }
11514
- ],
11515
- name: "TokenStatusChanged",
11516
- type: "event"
11517
- },
11518
- {
11519
- anonymous: false,
11520
- inputs: [
11521
- {
11522
- indexed: false,
11359
+ indexed: true,
11523
11360
  internalType: "address",
11524
- name: "account",
11361
+ name: "token",
11525
11362
  type: "address"
11526
11363
  }
11527
11364
  ],
11528
- name: "Unpaused",
11365
+ name: "TokenMappingRemoved",
11529
11366
  type: "event"
11530
11367
  },
11531
11368
  {
11369
+ anonymous: false,
11532
11370
  inputs: [
11533
- ],
11534
- name: "CANONICAL_SALT",
11535
- outputs: [
11536
- {
11537
- internalType: "bytes32",
11538
- name: "",
11539
- type: "bytes32"
11540
- }
11541
- ],
11542
- stateMutability: "view",
11543
- type: "function"
11544
- },
11545
- {
11546
- inputs: [
11547
- ],
11548
- name: "DEFAULT_ADMIN_ROLE",
11549
- outputs: [
11550
11371
  {
11372
+ indexed: true,
11551
11373
  internalType: "bytes32",
11552
- name: "",
11374
+ name: "canonicalId",
11553
11375
  type: "bytes32"
11554
- }
11555
- ],
11556
- stateMutability: "view",
11557
- type: "function"
11558
- },
11559
- {
11560
- inputs: [
11561
- ],
11562
- name: "GUARDIAN_ROLE",
11563
- outputs: [
11376
+ },
11564
11377
  {
11565
- internalType: "bytes32",
11566
- name: "",
11567
- type: "bytes32"
11378
+ indexed: true,
11379
+ internalType: "address",
11380
+ name: "token",
11381
+ type: "address"
11568
11382
  }
11569
11383
  ],
11570
- stateMutability: "view",
11571
- type: "function"
11384
+ name: "TokenMappingSet",
11385
+ type: "event"
11572
11386
  },
11573
11387
  {
11388
+ anonymous: false,
11574
11389
  inputs: [
11575
- ],
11576
- name: "NATIVE_TOKEN",
11577
- outputs: [
11578
11390
  {
11391
+ indexed: false,
11579
11392
  internalType: "address",
11580
- name: "",
11393
+ name: "account",
11581
11394
  type: "address"
11582
11395
  }
11583
11396
  ],
11584
- stateMutability: "view",
11585
- type: "function"
11397
+ name: "Unpaused",
11398
+ type: "event"
11586
11399
  },
11587
11400
  {
11588
11401
  inputs: [
11589
11402
  ],
11590
- name: "OPERATOR_ROLE",
11403
+ name: "DEFAULT_ADMIN_ROLE",
11591
11404
  outputs: [
11592
11405
  {
11593
11406
  internalType: "bytes32",
@@ -11601,83 +11414,21 @@ var abi$h = [
11601
11414
  {
11602
11415
  inputs: [
11603
11416
  ],
11604
- name: "acceptOwnership",
11605
- outputs: [
11606
- ],
11607
- stateMutability: "nonpayable",
11608
- type: "function"
11609
- },
11610
- {
11611
- inputs: [
11612
- {
11613
- internalType: "bytes32",
11614
- name: "canonicalId",
11615
- type: "bytes32"
11616
- }
11617
- ],
11618
- name: "canDeposit",
11417
+ name: "GUARDIAN_ROLE",
11619
11418
  outputs: [
11620
- {
11621
- internalType: "bool",
11622
- name: "",
11623
- type: "bool"
11624
- }
11625
- ],
11626
- stateMutability: "view",
11627
- type: "function"
11628
- },
11629
- {
11630
- inputs: [
11631
11419
  {
11632
11420
  internalType: "bytes32",
11633
- name: "canonicalId",
11634
- type: "bytes32"
11635
- }
11636
- ],
11637
- name: "canWithdraw",
11638
- outputs: [
11639
- {
11640
- internalType: "bool",
11641
11421
  name: "",
11642
- type: "bool"
11643
- }
11644
- ],
11645
- stateMutability: "view",
11646
- type: "function"
11647
- },
11648
- {
11649
- inputs: [
11650
- {
11651
- internalType: "bytes32",
11652
- name: "canonicalId",
11653
11422
  type: "bytes32"
11654
11423
  }
11655
11424
  ],
11656
- name: "canonicalDecimals",
11657
- outputs: [
11658
- {
11659
- internalType: "uint8",
11660
- name: "",
11661
- type: "uint8"
11662
- }
11663
- ],
11664
11425
  stateMutability: "view",
11665
11426
  type: "function"
11666
11427
  },
11667
11428
  {
11668
11429
  inputs: [
11669
- {
11670
- internalType: "uint256",
11671
- name: "originChainId",
11672
- type: "uint256"
11673
- },
11674
- {
11675
- internalType: "address",
11676
- name: "originToken",
11677
- type: "address"
11678
- }
11679
11430
  ],
11680
- name: "computeCanonicalId",
11431
+ name: "OPERATOR_ROLE",
11681
11432
  outputs: [
11682
11433
  {
11683
11434
  internalType: "bytes32",
@@ -11685,50 +11436,11 @@ var abi$h = [
11685
11436
  type: "bytes32"
11686
11437
  }
11687
11438
  ],
11688
- stateMutability: "pure",
11689
- type: "function"
11690
- },
11691
- {
11692
- inputs: [
11693
- {
11694
- internalType: "bytes32",
11695
- name: "canonicalId",
11696
- type: "bytes32"
11697
- }
11698
- ],
11699
- name: "getCanonical",
11700
- outputs: [
11701
- {
11702
- internalType: "uint256",
11703
- name: "originChainId",
11704
- type: "uint256"
11705
- },
11706
- {
11707
- internalType: "address",
11708
- name: "originToken",
11709
- type: "address"
11710
- },
11711
- {
11712
- internalType: "uint8",
11713
- name: "decimals",
11714
- type: "uint8"
11715
- },
11716
- {
11717
- internalType: "enum ICanonicalTokenRegistry.TokenStatus",
11718
- name: "status",
11719
- type: "uint8"
11720
- }
11721
- ],
11722
11439
  stateMutability: "view",
11723
11440
  type: "function"
11724
11441
  },
11725
11442
  {
11726
11443
  inputs: [
11727
- {
11728
- internalType: "uint256",
11729
- name: "chainId",
11730
- type: "uint256"
11731
- },
11732
11444
  {
11733
11445
  internalType: "address",
11734
11446
  name: "token",
@@ -11773,12 +11485,12 @@ var abi$h = [
11773
11485
  type: "bytes32"
11774
11486
  }
11775
11487
  ],
11776
- name: "getTokenStatus",
11488
+ name: "getToken",
11777
11489
  outputs: [
11778
11490
  {
11779
- internalType: "enum ICanonicalTokenRegistry.TokenStatus",
11491
+ internalType: "address",
11780
11492
  name: "",
11781
- type: "uint8"
11493
+ type: "address"
11782
11494
  }
11783
11495
  ],
11784
11496
  stateMutability: "view",
@@ -11827,25 +11539,6 @@ var abi$h = [
11827
11539
  stateMutability: "view",
11828
11540
  type: "function"
11829
11541
  },
11830
- {
11831
- inputs: [
11832
- {
11833
- internalType: "bytes32",
11834
- name: "canonicalId",
11835
- type: "bytes32"
11836
- }
11837
- ],
11838
- name: "isActive",
11839
- outputs: [
11840
- {
11841
- internalType: "bool",
11842
- name: "",
11843
- type: "bool"
11844
- }
11845
- ],
11846
- stateMutability: "view",
11847
- type: "function"
11848
- },
11849
11542
  {
11850
11543
  inputs: [
11851
11544
  {
@@ -11865,44 +11558,6 @@ var abi$h = [
11865
11558
  stateMutability: "view",
11866
11559
  type: "function"
11867
11560
  },
11868
- {
11869
- inputs: [
11870
- {
11871
- internalType: "uint256",
11872
- name: "chainId",
11873
- type: "uint256"
11874
- },
11875
- {
11876
- internalType: "address",
11877
- name: "token",
11878
- type: "address"
11879
- },
11880
- {
11881
- internalType: "bytes32",
11882
- name: "canonicalId",
11883
- type: "bytes32"
11884
- }
11885
- ],
11886
- name: "mapRepresentation",
11887
- outputs: [
11888
- ],
11889
- stateMutability: "nonpayable",
11890
- type: "function"
11891
- },
11892
- {
11893
- inputs: [
11894
- ],
11895
- name: "owner",
11896
- outputs: [
11897
- {
11898
- internalType: "address",
11899
- name: "",
11900
- type: "address"
11901
- }
11902
- ],
11903
- stateMutability: "view",
11904
- type: "function"
11905
- },
11906
11561
  {
11907
11562
  inputs: [
11908
11563
  ],
@@ -11926,53 +11581,15 @@ var abi$h = [
11926
11581
  stateMutability: "view",
11927
11582
  type: "function"
11928
11583
  },
11929
- {
11930
- inputs: [
11931
- ],
11932
- name: "pendingOwner",
11933
- outputs: [
11934
- {
11935
- internalType: "address",
11936
- name: "",
11937
- type: "address"
11938
- }
11939
- ],
11940
- stateMutability: "view",
11941
- type: "function"
11942
- },
11943
11584
  {
11944
11585
  inputs: [
11945
- {
11946
- internalType: "uint256",
11947
- name: "originChainId",
11948
- type: "uint256"
11949
- },
11950
- {
11951
- internalType: "address",
11952
- name: "originToken",
11953
- type: "address"
11954
- },
11955
- {
11956
- internalType: "uint8",
11957
- name: "decimals",
11958
- type: "uint8"
11959
- }
11960
- ],
11961
- name: "registerCanonical",
11962
- outputs: [
11963
11586
  {
11964
11587
  internalType: "bytes32",
11965
11588
  name: "canonicalId",
11966
11589
  type: "bytes32"
11967
11590
  }
11968
11591
  ],
11969
- stateMutability: "nonpayable",
11970
- type: "function"
11971
- },
11972
- {
11973
- inputs: [
11974
- ],
11975
- name: "renounceOwnership",
11592
+ name: "removeTokenMapping",
11976
11593
  outputs: [
11977
11594
  ],
11978
11595
  stateMutability: "nonpayable",
@@ -12024,12 +11641,12 @@ var abi$h = [
12024
11641
  type: "bytes32"
12025
11642
  },
12026
11643
  {
12027
- internalType: "enum ICanonicalTokenRegistry.TokenStatus",
12028
- name: "status",
12029
- type: "uint8"
11644
+ internalType: "address",
11645
+ name: "token",
11646
+ type: "address"
12030
11647
  }
12031
11648
  ],
12032
- name: "setTokenStatus",
11649
+ name: "setTokenMapping",
12033
11650
  outputs: [
12034
11651
  ],
12035
11652
  stateMutability: "nonpayable",
@@ -12054,39 +11671,6 @@ var abi$h = [
12054
11671
  stateMutability: "view",
12055
11672
  type: "function"
12056
11673
  },
12057
- {
12058
- inputs: [
12059
- {
12060
- internalType: "address",
12061
- name: "newOwner",
12062
- type: "address"
12063
- }
12064
- ],
12065
- name: "transferOwnership",
12066
- outputs: [
12067
- ],
12068
- stateMutability: "nonpayable",
12069
- type: "function"
12070
- },
12071
- {
12072
- inputs: [
12073
- {
12074
- internalType: "uint256",
12075
- name: "chainId",
12076
- type: "uint256"
12077
- },
12078
- {
12079
- internalType: "address",
12080
- name: "token",
12081
- type: "address"
12082
- }
12083
- ],
12084
- name: "unmapRepresentation",
12085
- outputs: [
12086
- ],
12087
- stateMutability: "nonpayable",
12088
- type: "function"
12089
- },
12090
11674
  {
12091
11675
  inputs: [
12092
11676
  ],
@@ -12097,27 +11681,11 @@ var abi$h = [
12097
11681
  type: "function"
12098
11682
  }
12099
11683
  ];
12100
- var bytecode$h = "";
12101
- var deployedBytecode$6 = "";
12102
- var linkReferences$6 = {
12103
- };
12104
- var deployedLinkReferences$6 = {
12105
- };
12106
- var CanonicalTokenRegistryAbi = {
12107
- _format: _format$6,
12108
- contractName: contractName$6,
12109
- sourceName: sourceName$6,
12110
- abi: abi$h,
12111
- bytecode: bytecode$h,
12112
- deployedBytecode: deployedBytecode$6,
12113
- linkReferences: linkReferences$6,
12114
- deployedLinkReferences: deployedLinkReferences$6
12115
- };
12116
11684
 
12117
- var _format$7 = "hh-sol-artifact-1";
12118
- var contractName$7 = "Bridge";
12119
- var sourceName$7 = "src/Bridge.sol";
12120
- var abi$i = [
11685
+ var _format$6 = "hh-sol-artifact-1";
11686
+ var contractName$6 = "Bridge";
11687
+ var sourceName$6 = "src/Bridge.sol";
11688
+ var abi$h = [
12121
11689
  {
12122
11690
  inputs: [
12123
11691
  {
@@ -13072,21 +12640,21 @@ var abi$i = [
13072
12640
  type: "function"
13073
12641
  }
13074
12642
  ];
13075
- var bytecode$i = "";
13076
- var deployedBytecode$7 = "";
13077
- var linkReferences$7 = {
12643
+ var bytecode$h = "";
12644
+ var deployedBytecode$6 = "";
12645
+ var linkReferences$6 = {
13078
12646
  };
13079
- var deployedLinkReferences$7 = {
12647
+ var deployedLinkReferences$6 = {
13080
12648
  };
13081
12649
  var BridgeAbi = {
13082
- _format: _format$7,
13083
- contractName: contractName$7,
13084
- sourceName: sourceName$7,
13085
- abi: abi$i,
13086
- bytecode: bytecode$i,
13087
- deployedBytecode: deployedBytecode$7,
13088
- linkReferences: linkReferences$7,
13089
- deployedLinkReferences: deployedLinkReferences$7
12650
+ _format: _format$6,
12651
+ contractName: contractName$6,
12652
+ sourceName: sourceName$6,
12653
+ abi: abi$h,
12654
+ bytecode: bytecode$h,
12655
+ deployedBytecode: deployedBytecode$6,
12656
+ linkReferences: linkReferences$6,
12657
+ deployedLinkReferences: deployedLinkReferences$6
13090
12658
  };
13091
12659
 
13092
12660
  var _DOMAIN_PREFIX = "0x191253796e6172614272696467654465706f7369740a";
@@ -13248,20 +12816,20 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13248
12816
  }
13249
12817
  var _proto = BridgeCreateOrderService.prototype;
13250
12818
  _proto.getCanonicalTokenAddress = /*#__PURE__*/function () {
13251
- var _getCanonicalTokenAddress = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(sourceChainId, sourceAsset) {
12819
+ var _getCanonicalTokenAddress = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(sourceAsset) {
13252
12820
  var canonicalTokenRegistry;
13253
12821
  return _regenerator().w(function (_context) {
13254
12822
  while (1) switch (_context.n) {
13255
12823
  case 0:
13256
- canonicalTokenRegistry = new ethers.ethers.Contract(this._darkSwapOfSourceChain.contracts.synaraCanonicalTokenRegistry, CanonicalTokenRegistryAbi.abi, this._darkSwapOfSourceChain.provider);
12824
+ canonicalTokenRegistry = new ethers.ethers.Contract(this._darkSwapOfSourceChain.contracts.synaraCanonicalTokenRegistry, CanonicalTokenRegistryAbi, this._darkSwapOfSourceChain.provider);
13257
12825
  _context.n = 1;
13258
- return canonicalTokenRegistry.getCanonicalId(BigInt(sourceChainId), sourceAsset);
12826
+ return canonicalTokenRegistry.getCanonicalId(sourceAsset);
13259
12827
  case 1:
13260
12828
  return _context.a(2, _context.v);
13261
12829
  }
13262
12830
  }, _callee, this);
13263
12831
  }));
13264
- function getCanonicalTokenAddress(_x, _x2) {
12832
+ function getCanonicalTokenAddress(_x) {
13265
12833
  return _getCanonicalTokenAddress.apply(this, arguments);
13266
12834
  }
13267
12835
  return getCanonicalTokenAddress;
@@ -13280,7 +12848,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13280
12848
  }
13281
12849
  }, _callee2, this);
13282
12850
  }));
13283
- function getBridgeFee(_x3, _x4, _x5) {
12851
+ function getBridgeFee(_x2, _x3, _x4) {
13284
12852
  return _getBridgeFee.apply(this, arguments);
13285
12853
  }
13286
12854
  return getBridgeFee;
@@ -13304,7 +12872,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13304
12872
  _t2 = _context3.v;
13305
12873
  feeRatio = _t(_t2);
13306
12874
  _context3.n = 3;
13307
- return this.getCanonicalTokenAddress(sourceChainId, sourceAsset);
12875
+ return this.getCanonicalTokenAddress(sourceAsset);
13308
12876
  case 3:
13309
12877
  canonicalIdFromContract = _context3.v;
13310
12878
  if (!(canonicalIdFromContract !== canonicalId)) {
@@ -13350,7 +12918,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13350
12918
  }
13351
12919
  }, _callee3, this);
13352
12920
  }));
13353
- function prepare(_x6, _x7, _x8, _x9, _x0, _x1, _x10, _x11, _x12, _x13, _x14, _x15) {
12921
+ function prepare(_x5, _x6, _x7, _x8, _x9, _x0, _x1, _x10, _x11, _x12, _x13, _x14) {
13354
12922
  return _prepare.apply(this, arguments);
13355
12923
  }
13356
12924
  return prepare;
@@ -13418,7 +12986,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13418
12986
  }
13419
12987
  }, _callee4, this);
13420
12988
  }));
13421
- function submitProof(_x16) {
12989
+ function submitProof(_x15) {
13422
12990
  return _submitProof.apply(this, arguments);
13423
12991
  }
13424
12992
  return submitProof;
@@ -13508,7 +13076,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13508
13076
  }
13509
13077
  }, _callee5, null, [[2, 8]]);
13510
13078
  }));
13511
- function pollJobStatus(_x17) {
13079
+ function pollJobStatus(_x16) {
13512
13080
  return _pollJobStatus.apply(this, arguments);
13513
13081
  }
13514
13082
  return pollJobStatus;
@@ -13543,7 +13111,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13543
13111
  }
13544
13112
  }, _callee6);
13545
13113
  }));
13546
- function generateProof(_x18) {
13114
+ function generateProof(_x17) {
13547
13115
  return _generateProof.apply(this, arguments);
13548
13116
  }
13549
13117
  return generateProof;
@@ -13574,7 +13142,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13574
13142
  }
13575
13143
  }, _callee7, this);
13576
13144
  }));
13577
- function computeDepositId(_x19) {
13145
+ function computeDepositId(_x18) {
13578
13146
  return _computeDepositId.apply(this, arguments);
13579
13147
  }
13580
13148
  return computeDepositId;
@@ -13596,7 +13164,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13596
13164
  }
13597
13165
  }, _callee8, this);
13598
13166
  }));
13599
- function getCurrentNonce(_x20) {
13167
+ function getCurrentNonce(_x19) {
13600
13168
  return _getCurrentNonce.apply(this, arguments);
13601
13169
  }
13602
13170
  return getCurrentNonce;
@@ -13634,7 +13202,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13634
13202
  }
13635
13203
  }, _callee9, this);
13636
13204
  }));
13637
- function composeCallData(_x21) {
13205
+ function composeCallData(_x20) {
13638
13206
  return _composeCallData.apply(this, arguments);
13639
13207
  }
13640
13208
  return composeCallData;
@@ -13676,7 +13244,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13676
13244
  }
13677
13245
  }, _callee0, this);
13678
13246
  }));
13679
- function allowance(_x22) {
13247
+ function allowance(_x21) {
13680
13248
  return _allowance.apply(this, arguments);
13681
13249
  }
13682
13250
  return allowance;
@@ -13710,7 +13278,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13710
13278
  }
13711
13279
  }, _callee1, this);
13712
13280
  }));
13713
- function execute(_x23) {
13281
+ function execute(_x22) {
13714
13282
  return _execute2.apply(this, arguments);
13715
13283
  }
13716
13284
  return execute;
@@ -13753,7 +13321,7 @@ var BridgeCreateOrderService = /*#__PURE__*/function () {
13753
13321
  }
13754
13322
  }, _callee10, this);
13755
13323
  }));
13756
- function _execute(_x24) {
13324
+ function _execute(_x23) {
13757
13325
  return _execute3.apply(this, arguments);
13758
13326
  }
13759
13327
  return _execute;