opnet 1.8.13 → 1.8.14-rc.1

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/browser/_version.d.ts +1 -1
  3. package/browser/abi/shared/interfaces/motoswap/IMotoChef.d.ts +1 -1
  4. package/browser/abi/shared/interfaces/motoswap/IMotoChefFactory.d.ts +9 -5
  5. package/browser/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.d.ts +1 -1
  6. package/browser/abi/shared/interfaces/motoswap/IMotoswapPoolContract.d.ts +1 -1
  7. package/browser/abi/shared/interfaces/motoswap/IMotoswapStakingContract.d.ts +12 -10
  8. package/browser/abi/shared/interfaces/motoswap/IOP20Factory.d.ts +3 -3
  9. package/browser/index.js +88 -22
  10. package/browser/noble-curves.js +2561 -545
  11. package/browser/noble-hashes.js +156 -13
  12. package/browser/protobuf.js +10 -7
  13. package/browser/rolldown-runtime.js +1 -1
  14. package/browser/vendors.js +569 -238
  15. package/build/_version.d.ts +1 -1
  16. package/build/_version.js +1 -1
  17. package/build/abi/shared/interfaces/motoswap/IMotoChef.d.ts +1 -1
  18. package/build/abi/shared/interfaces/motoswap/IMotoChefFactory.d.ts +9 -5
  19. package/build/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.d.ts +1 -1
  20. package/build/abi/shared/interfaces/motoswap/IMotoswapPoolContract.d.ts +1 -1
  21. package/build/abi/shared/interfaces/motoswap/IMotoswapStakingContract.d.ts +12 -10
  22. package/build/abi/shared/interfaces/motoswap/IOP20Factory.d.ts +3 -3
  23. package/build/abi/shared/json/motoswap/MOTOCHEF_FACTORY_ABI.js +7 -7
  24. package/build/abi/shared/json/motoswap/MOTOSWAP_FACTORY_ABI.js +1 -1
  25. package/build/abi/shared/json/motoswap/MOTOSWAP_POOL_ABI.js +24 -3
  26. package/build/abi/shared/json/motoswap/MOTOSWAP_STAKING_ABI.js +25 -13
  27. package/build/abi/shared/json/motoswap/OP20_FACTORY_ABI.js +3 -3
  28. package/build/abi/shared/json/motoswap/TEMPLATE_MOTOCHEF_ABI.js +2 -2
  29. package/docs/abi-reference/factory-abis.md +9 -9
  30. package/eslint.config.js +1 -0
  31. package/package.json +29 -20
  32. package/src/_version.ts +1 -1
  33. package/src/abi/shared/interfaces/motoswap/IMotoChef.ts +6 -6
  34. package/src/abi/shared/interfaces/motoswap/IMotoChefFactory.ts +10 -5
  35. package/src/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.ts +2 -2
  36. package/src/abi/shared/interfaces/motoswap/IMotoswapPoolContract.ts +2 -1
  37. package/src/abi/shared/interfaces/motoswap/IMotoswapStakingContract.ts +19 -16
  38. package/src/abi/shared/interfaces/motoswap/IOP20Factory.ts +3 -3
  39. package/src/abi/shared/json/motoswap/MOTOCHEF_FACTORY_ABI.ts +7 -7
  40. package/src/abi/shared/json/motoswap/MOTOSWAP_FACTORY_ABI.ts +1 -1
  41. package/src/abi/shared/json/motoswap/MOTOSWAP_POOL_ABI.ts +25 -3
  42. package/src/abi/shared/json/motoswap/MOTOSWAP_STAKING_ABI.ts +26 -13
  43. package/src/abi/shared/json/motoswap/OP20_FACTORY_ABI.ts +3 -3
  44. package/src/abi/shared/json/motoswap/TEMPLATE_MOTOCHEF_ABI.ts +2 -2
  45. package/src/providers/WebsocketRpcProvider.ts +5 -11
  46. package/tsconfig.base.json +9 -17
  47. package/tsconfig.build.tsbuildinfo +1 -0
  48. package/tsconfig.json +4 -8
  49. package/build/tsconfig.build.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [v1.8.14-rc.0] - 2026-04-03
4
+
5
+ ### Other Changes
6
+
7
+ - ⬆️(deps-dev): Bump vite-plugin-node-polyfills from 0.25.0 to 0.26.0 in the dev-deps group across 1 directory ([#152](https://github.com/btc-vision/opnet/pull/152)) by @dependabot[bot]
8
+ - ⬆️(deps-dev): Bump typescript from 5.9.3 to 6.0.2 ([#151](https://github.com/btc-vision/opnet/pull/151)) by @dependabot[bot]
9
+
10
+
11
+
12
+
3
13
  ## [v1.8.12] - 2026-03-31
4
14
 
5
15
  - No changes
@@ -1 +1 @@
1
- export declare const version = "1.8.13";
1
+ export declare const version = "1.8.14";
@@ -174,9 +174,9 @@ export interface IMotoChef extends IOwnable {
174
174
  harvest(poolId: number, to: Address): Promise<Harvest>;
175
175
  withdrawAndHarvest(poolId: number, amount: bigint, to: Address): Promise<WithdrawAndHarvest>;
176
176
  emergencyWithdraw(poolId: number, to: Address): Promise<EmergencyWithdraw>;
177
- onOP20Received(operator: Address, from: Address, amount: bigint, data: Uint8Array): Promise<OnOP20Received>;
178
177
  setMotoPerBlock(motoPerBlock: bigint): Promise<SetMotoPerBlock>;
179
178
  setBonusEndBlock(bonusEndBlock: bigint): Promise<SetBonusEndBlock>;
180
179
  setBonusMultiplier(bonusMultiplier: bigint): Promise<SetBonusMultiplier>;
180
+ onOP20Received(operator: Address, from: Address, amount: bigint, data: Uint8Array): Promise<OnOP20Received>;
181
181
  }
182
182
  export {};
@@ -4,22 +4,26 @@ import { OPNetEvent } from '../../../../contracts/OPNetEvent.js';
4
4
  import { IOP_NETContract } from '../opnet/IOP_NETContract.js';
5
5
  export type TokenDeployedEvent = {
6
6
  readonly deployer: Address;
7
- readonly token: Address;
7
+ readonly tokenAddress: Address;
8
8
  readonly name: string;
9
9
  readonly symbol: string;
10
10
  };
11
11
  export type MotoChefDeployedEvent = {
12
12
  readonly deployer: Address;
13
- readonly token: Address;
14
- readonly motoChef: Address;
13
+ readonly tokenAddress: Address;
14
+ readonly motoChefAddress: Address;
15
15
  readonly userBTCFeePercentage: bigint;
16
16
  readonly farmName: string;
17
17
  };
18
+ export type FeeRecipientsUpdatedEvent = {
19
+ readonly motoSwap: string;
20
+ readonly opnet: string;
21
+ };
18
22
  export type FactoryPausedEvent = {
19
- readonly by: Address;
23
+ readonly pausedBy: Address;
20
24
  };
21
25
  export type FactoryUnpausedEvent = {
22
- readonly by: Address;
26
+ readonly unpausedBy: Address;
23
27
  };
24
28
  export type InitializeFactory = CallResult<{
25
29
  success: boolean;
@@ -9,7 +9,7 @@ export type PoolCreatedEvent = {
9
9
  };
10
10
  export interface IMotoswapFactoryContract extends IOP_NETContract {
11
11
  getPool(token0: Address, token1: Address): Promise<CallResult<{
12
- pool: Address;
12
+ address: Address;
13
13
  }>>;
14
14
  createPool(token0: Address, token1: Address): Promise<CallResult<{
15
15
  address: Address;
@@ -35,7 +35,7 @@ export interface IMotoswapPoolContract extends Omit<IOP20Contract, 'burn' | 'min
35
35
  }>>;
36
36
  getReserves(): Promise<CallResult<Reserves>>;
37
37
  swap(amount0Out: bigint, amount1Out: bigint, to: string, data: Uint8Array): Promise<CallResult<{}, [OPNetEvent<SwappedEvent>]>>;
38
- skim(): Promise<CallResult>;
38
+ skim(to: Address): Promise<CallResult>;
39
39
  kLast(): Promise<CallResult<{
40
40
  kLast: bigint;
41
41
  }>>;
@@ -1,4 +1,4 @@
1
- import { Address } from '../../../../../node_modules/@btc-vision/transaction/build/index.js';
1
+ import { Address, AddressMap } from '../../../../../node_modules/@btc-vision/transaction/build/index.js';
2
2
  import { CallResult } from '../../../../contracts/CallResult.js';
3
3
  import { BalanceOf, TotalSupply } from '../opnet/IOP20Contract.js';
4
4
  import { IOP_NETContract } from '../opnet/IOP_NETContract.js';
@@ -20,7 +20,7 @@ export type GetMotoAddress = CallResult<{
20
20
  motoAddress: Address;
21
21
  }>;
22
22
  export type MotoAddress = CallResult<{
23
- totalSupply: bigint;
23
+ motoAddress: Address;
24
24
  }>;
25
25
  export type LastInteractedBlock = CallResult<{
26
26
  lastInteractedBlock: bigint;
@@ -35,14 +35,16 @@ export type PendingReward = CallResult<{
35
35
  pendingReward: bigint;
36
36
  }>;
37
37
  export type CalculateSlashingFee = CallResult<{
38
- slashingFee: bigint;
38
+ fee: bigint;
39
39
  }>;
40
40
  export type EnabledRewardTokens = CallResult<{
41
- enabledRewardTokens: Address[];
41
+ tokens: Address[];
42
42
  }>;
43
43
  export type Stake = CallResult;
44
44
  export type Unstake = CallResult;
45
- export type ClaimRewards = CallResult;
45
+ export type ClaimRewards = CallResult<{
46
+ rewards: AddressMap<bigint>;
47
+ }>;
46
48
  export type AdminAddRewardToken = CallResult;
47
49
  export type AdminRemoveRewardToken = CallResult;
48
50
  export type AdminChangeMotoAddress = CallResult;
@@ -60,17 +62,17 @@ export interface IMotoswapStakingContract extends IMotoswapOwnableReentrancyGuar
60
62
  motoAddress(): Promise<MotoAddress>;
61
63
  lastInteractedBlock(address: Address): Promise<LastInteractedBlock>;
62
64
  rewardDebt(user: Address, rewardToken: Address): Promise<RewardDebt>;
63
- rewardBalance(user: Address): Promise<RewardBalance>;
65
+ rewardBalance(userAddress: Address, tokenAddress: Address): Promise<RewardBalance>;
64
66
  pendingReward(user: Address, rewardToken: Address): Promise<PendingReward>;
65
- calculateSlashingFee(user: Address, amount: bigint): Promise<CalculateSlashingFee>;
67
+ calculateSlashingFee(address: Address, tokenBalance: bigint): Promise<CalculateSlashingFee>;
66
68
  enabledRewardTokens(): Promise<EnabledRewardTokens>;
67
69
  stake(amount: bigint): Promise<Stake>;
68
70
  unstake(): Promise<Unstake>;
69
71
  claimRewards(): Promise<ClaimRewards>;
70
72
  adminAddRewardToken(token: Address): Promise<AdminAddRewardToken>;
71
- adminRemoveRewardToken(token: Address): Promise<AdminAddRewardToken>;
72
- adminChangeMotoAddress(token: Address): Promise<AdminAddRewardToken>;
73
- adminChangeLockupParameters(newLockupDuration: bigint, newMaxSlashingFeePercent: bigint, newBlocksPerOnePercentSlashingFeeReduction: bigint): Promise<AdminChangeLockupParameters>;
73
+ adminRemoveRewardToken(token: Address): Promise<AdminRemoveRewardToken>;
74
+ adminChangeMotoAddress(motoAddress: Address): Promise<AdminChangeMotoAddress>;
75
+ adminChangeLockupParameters(newLockupDurationBlocks: bigint, newMaxSlashingFeePercent: bigint, newBlocksPerOnePercentSlashingFeeReduction: bigint): Promise<AdminChangeLockupParameters>;
74
76
  adminEnableEmergencyWithdrawals(): Promise<AdminEnableEmergencyWithdrawals>;
75
77
  }
76
78
  export {};
@@ -4,15 +4,15 @@ import { OPNetEvent } from '../../../../contracts/OPNetEvent.js';
4
4
  import { IOP_NETContract } from '../opnet/IOP_NETContract.js';
5
5
  export type TokenDeployedEvent = {
6
6
  readonly deployer: Address;
7
- readonly token: Address;
7
+ readonly tokenAddress: Address;
8
8
  readonly name: string;
9
9
  readonly symbol: string;
10
10
  };
11
11
  export type FactoryPausedEvent = {
12
- readonly by: Address;
12
+ readonly pausedBy: Address;
13
13
  };
14
14
  export type FactoryUnpausedEvent = {
15
- readonly by: Address;
15
+ readonly unpausedBy: Address;
16
16
  };
17
17
  export type Owner = CallResult<{
18
18
  owner: Address;
package/browser/index.js CHANGED
@@ -2,7 +2,7 @@ import { a as __toESM, r as __exportAll } from "./rolldown-runtime.js";
2
2
  import { A as bitcoin, C as AddressVerificator, D as fromHex, E as toBase64, M as regtest, N as testnet, O as toHex, S as AddressTypes, T as fromBase64, _ as BinaryWriter, a as ABICoder, b as AddressMap, c as isAbiTuple, d as process$1, f as P2MR_MS, g as Logger, h as TransactionFactory, i as NetEvent, j as opnetTestnet, k as fromBech32, l as ABIDataTypes, m as ChallengeSolution, n as Long, o as abiTypeToSelectorString, p as P2TR_MS, r as pLimit, s as isAbiStruct, t as BigNumber, u as init_dist, v as BinaryReader, w as decompile, x as Address, y as BufferHelper } from "./vendors.js";
3
3
  import { t as require_protobuf_min } from "./protobuf.js";
4
4
  //#region src/_version.ts
5
- var version = "1.8.13";
5
+ var version = "1.8.14";
6
6
  //#endregion
7
7
  //#region src/interfaces/opnet/OPNetTransactionTypes.ts
8
8
  var OPNetTransactionTypes = /* @__PURE__ */ function(OPNetTransactionTypes) {
@@ -1707,7 +1707,8 @@ var MempoolOPNetTransactionData = class extends MempoolTransactionData {
1707
1707
  this.priorityFee = BigInt(data.priorityFee || "0x00");
1708
1708
  this.from = data.from;
1709
1709
  this.contractAddress = data.contractAddress;
1710
- this.calldata = fromHex(data.calldata.startsWith("0x") ? data.calldata.slice(2) : data.calldata);
1710
+ const calldataHex = data.calldata.startsWith("0x") ? data.calldata.slice(2) : data.calldata;
1711
+ this.calldata = fromHex(calldataHex);
1711
1712
  }
1712
1713
  };
1713
1714
  //#endregion
@@ -1723,7 +1724,8 @@ var MempoolDeploymentTransactionData = class extends MempoolOPNetTransactionData
1723
1724
  constructor(data) {
1724
1725
  super(data);
1725
1726
  if (data.bytecode === void 0) throw new Error("Bytecode is required for deployment transactions.");
1726
- this.bytecode = fromHex(data.bytecode.startsWith("0x") ? data.bytecode.slice(2) : data.bytecode);
1727
+ const bytecodeHex = data.bytecode.startsWith("0x") ? data.bytecode.slice(2) : data.bytecode;
1728
+ this.bytecode = fromHex(bytecodeHex);
1727
1729
  }
1728
1730
  };
1729
1731
  //#endregion
@@ -4286,7 +4288,8 @@ var WebSocketRpcProvider = class extends AbstractRpcProvider {
4286
4288
  this.state = ConnectionState.CONNECTING;
4287
4289
  this.userRequestedDisconnect = false;
4288
4290
  try {
4289
- this.protoRoot = await loadProtobufSchema(this.config.url.replace(/^ws/, "http"));
4291
+ const httpUrl = this.config.url.replace(/^ws/, "http");
4292
+ this.protoRoot = await loadProtobufSchema(httpUrl);
4290
4293
  this.protoTypes.clear();
4291
4294
  await this.connectWebSocket();
4292
4295
  await this.performHandshake();
@@ -5225,7 +5228,8 @@ var IBaseContract = class {
5225
5228
  this.simulatedHeight = height;
5226
5229
  }
5227
5230
  getFunction(name) {
5228
- return this[name];
5231
+ const key = name;
5232
+ return this[key];
5229
5233
  }
5230
5234
  async getAddressOrThrow(address, isContract) {
5231
5235
  const info = await this.provider.getPublicKeyInfo(address, isContract);
@@ -7152,7 +7156,7 @@ var MotoSwapFactoryAbi = [
7152
7156
  type: ABIDataTypes.ADDRESS
7153
7157
  }],
7154
7158
  outputs: [{
7155
- name: "pool",
7159
+ name: "address",
7156
7160
  type: ABIDataTypes.ADDRESS
7157
7161
  }],
7158
7162
  type: BitcoinAbiTypes.Function
@@ -7302,7 +7306,10 @@ var MotoswapPoolAbi = [
7302
7306
  },
7303
7307
  {
7304
7308
  name: "skim",
7305
- inputs: [],
7309
+ inputs: [{
7310
+ name: "to",
7311
+ type: ABIDataTypes.ADDRESS
7312
+ }],
7306
7313
  outputs: [],
7307
7314
  type: BitcoinAbiTypes.Function
7308
7315
  },
@@ -7404,11 +7411,14 @@ var MotoswapPoolAbi = [
7404
7411
  },
7405
7412
  {
7406
7413
  name: "mint",
7407
- inputs: [],
7408
- outputs: [{
7414
+ inputs: [{
7409
7415
  name: "to",
7410
7416
  type: ABIDataTypes.ADDRESS
7411
7417
  }],
7418
+ outputs: [{
7419
+ name: "liquidity",
7420
+ type: ABIDataTypes.UINT256
7421
+ }],
7412
7422
  type: BitcoinAbiTypes.Function
7413
7423
  },
7414
7424
  {
@@ -7426,6 +7436,32 @@ var MotoswapPoolAbi = [
7426
7436
  }],
7427
7437
  type: BitcoinAbiTypes.Function
7428
7438
  },
7439
+ {
7440
+ name: "onOP20Received",
7441
+ inputs: [
7442
+ {
7443
+ name: "operator",
7444
+ type: ABIDataTypes.ADDRESS
7445
+ },
7446
+ {
7447
+ name: "from",
7448
+ type: ABIDataTypes.ADDRESS
7449
+ },
7450
+ {
7451
+ name: "amount",
7452
+ type: ABIDataTypes.UINT256
7453
+ },
7454
+ {
7455
+ name: "data",
7456
+ type: ABIDataTypes.BYTES
7457
+ }
7458
+ ],
7459
+ outputs: [{
7460
+ name: "selector",
7461
+ type: ABIDataTypes.BYTES4
7462
+ }],
7463
+ type: BitcoinAbiTypes.Function
7464
+ },
7429
7465
  ...OP_20_ABI,
7430
7466
  ...MotoSwapPoolEvents
7431
7467
  ];
@@ -8630,7 +8666,7 @@ var MOTOSWAP_STAKING_ABI = [
8630
8666
  type: BitcoinAbiTypes.Function,
8631
8667
  constant: true,
8632
8668
  inputs: [{
8633
- name: "address",
8669
+ name: "user",
8634
8670
  type: ABIDataTypes.ADDRESS
8635
8671
  }],
8636
8672
  outputs: [{
@@ -8663,7 +8699,7 @@ var MOTOSWAP_STAKING_ABI = [
8663
8699
  type: BitcoinAbiTypes.Function,
8664
8700
  constant: true,
8665
8701
  inputs: [{
8666
- name: "address",
8702
+ name: "user",
8667
8703
  type: ABIDataTypes.ADDRESS
8668
8704
  }],
8669
8705
  outputs: [{
@@ -8692,10 +8728,10 @@ var MOTOSWAP_STAKING_ABI = [
8692
8728
  type: BitcoinAbiTypes.Function,
8693
8729
  constant: false,
8694
8730
  inputs: [{
8695
- name: "user",
8731
+ name: "userAddress",
8696
8732
  type: ABIDataTypes.ADDRESS
8697
8733
  }, {
8698
- name: "rewardToken",
8734
+ name: "tokenAddress",
8699
8735
  type: ABIDataTypes.ADDRESS
8700
8736
  }],
8701
8737
  outputs: [{
@@ -8725,14 +8761,14 @@ var MOTOSWAP_STAKING_ABI = [
8725
8761
  type: BitcoinAbiTypes.Function,
8726
8762
  constant: true,
8727
8763
  inputs: [{
8728
- name: "user",
8764
+ name: "address",
8729
8765
  type: ABIDataTypes.ADDRESS
8730
8766
  }, {
8731
- name: "amount",
8767
+ name: "tokenBalance",
8732
8768
  type: ABIDataTypes.UINT256
8733
8769
  }],
8734
8770
  outputs: [{
8735
- name: "rewardDebt",
8771
+ name: "fee",
8736
8772
  type: ABIDataTypes.UINT256
8737
8773
  }]
8738
8774
  },
@@ -8742,7 +8778,7 @@ var MOTOSWAP_STAKING_ABI = [
8742
8778
  constant: false,
8743
8779
  inputs: [],
8744
8780
  outputs: [{
8745
- name: "enabledRewardTokens",
8781
+ name: "tokens",
8746
8782
  type: ABIDataTypes.ARRAY_OF_ADDRESSES
8747
8783
  }]
8748
8784
  },
@@ -8771,7 +8807,10 @@ var MOTOSWAP_STAKING_ABI = [
8771
8807
  constant: false,
8772
8808
  payable: false,
8773
8809
  inputs: [],
8774
- outputs: []
8810
+ outputs: [{
8811
+ name: "rewards",
8812
+ type: ABIDataTypes.ADDRESS_UINT256_TUPLE
8813
+ }]
8775
8814
  },
8776
8815
  {
8777
8816
  name: "adminAddRewardToken",
@@ -8779,7 +8818,7 @@ var MOTOSWAP_STAKING_ABI = [
8779
8818
  constant: false,
8780
8819
  payable: false,
8781
8820
  inputs: [{
8782
- name: "token",
8821
+ name: "tokenToAdd",
8783
8822
  type: ABIDataTypes.ADDRESS
8784
8823
  }],
8785
8824
  outputs: []
@@ -8790,7 +8829,7 @@ var MOTOSWAP_STAKING_ABI = [
8790
8829
  constant: false,
8791
8830
  payable: false,
8792
8831
  inputs: [{
8793
- name: "token",
8832
+ name: "tokenToRemove",
8794
8833
  type: ABIDataTypes.ADDRESS
8795
8834
  }],
8796
8835
  outputs: []
@@ -8801,7 +8840,7 @@ var MOTOSWAP_STAKING_ABI = [
8801
8840
  constant: false,
8802
8841
  payable: false,
8803
8842
  inputs: [{
8804
- name: "token",
8843
+ name: "motoAddress",
8805
8844
  type: ABIDataTypes.ADDRESS
8806
8845
  }],
8807
8846
  outputs: []
@@ -8813,7 +8852,7 @@ var MOTOSWAP_STAKING_ABI = [
8813
8852
  payable: false,
8814
8853
  inputs: [
8815
8854
  {
8816
- name: "newLockupDuration",
8855
+ name: "newLockupDurationBlocks",
8817
8856
  type: ABIDataTypes.UINT256
8818
8857
  },
8819
8858
  {
@@ -8835,6 +8874,33 @@ var MOTOSWAP_STAKING_ABI = [
8835
8874
  inputs: [],
8836
8875
  outputs: []
8837
8876
  },
8877
+ {
8878
+ name: "onOP20Received",
8879
+ type: BitcoinAbiTypes.Function,
8880
+ constant: true,
8881
+ inputs: [
8882
+ {
8883
+ name: "operator",
8884
+ type: ABIDataTypes.ADDRESS
8885
+ },
8886
+ {
8887
+ name: "from",
8888
+ type: ABIDataTypes.ADDRESS
8889
+ },
8890
+ {
8891
+ name: "amount",
8892
+ type: ABIDataTypes.UINT256
8893
+ },
8894
+ {
8895
+ name: "data",
8896
+ type: ABIDataTypes.BYTES
8897
+ }
8898
+ ],
8899
+ outputs: [{
8900
+ name: "selector",
8901
+ type: ABIDataTypes.BYTES4
8902
+ }]
8903
+ },
8838
8904
  ...MOTOSWAP_OWNABLE_REENTRANCY_GUARD_ABI,
8839
8905
  ...MotoswapStakingEvents,
8840
8906
  ...OP_NET_ABI