opnet 1.0.33 → 1.0.35

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 (236) hide show
  1. package/browser/_version.d.ts +1 -1
  2. package/browser/abi/shared/interfaces/IMotoContract.d.ts +6 -0
  3. package/browser/abi/shared/interfaces/IMotoswapFactoryContract.d.ts +7 -0
  4. package/browser/abi/shared/interfaces/IMotoswapPoolContract.d.ts +13 -0
  5. package/browser/abi/shared/interfaces/IMotoswapRouterContract.d.ts +15 -0
  6. package/browser/abi/shared/interfaces/IOP_20Contract.d.ts +16 -0
  7. package/browser/abi/shared/interfaces/IOP_NETContract.d.ts +7 -0
  8. package/browser/abi/shared/interfaces/IStackingContract.d.ts +11 -0
  9. package/browser/abi/shared/interfaces/IWBTCContract.d.ts +8 -0
  10. package/browser/abi/shared/json/MOTOSWAP_FACTORY_ABI.d.ts +3 -0
  11. package/browser/abi/shared/json/MOTOSWAP_POOL_ABI.d.ts +3 -0
  12. package/browser/abi/shared/json/MOTOSWAP_ROUTER_ABI.d.ts +2 -0
  13. package/browser/abi/shared/json/MOTO_TOKEN_ABI.d.ts +2 -0
  14. package/browser/abi/shared/json/OP_20_ABI.d.ts +3 -0
  15. package/browser/abi/shared/json/OP_NET_ABI.d.ts +2 -0
  16. package/browser/abi/shared/json/STAKING_ABI.d.ts +3 -0
  17. package/browser/abi/shared/json/WBTC_ABI.d.ts +3 -0
  18. package/browser/common/CommonTypes.d.ts +2 -1
  19. package/browser/index.js +1 -1
  20. package/browser/opnet.d.ts +18 -0
  21. package/browser/scripts/ITestContract.d.ts +2 -0
  22. package/browser/scripts/testWBTCContract.d.ts +1 -0
  23. package/build/_version.d.ts +1 -1
  24. package/build/_version.js +1 -1
  25. package/build/abi/shared/MOTOSWAP_FACTORY_ABI.d.ts +2 -0
  26. package/build/abi/shared/MOTOSWAP_FACTORY_ABI.js +68 -0
  27. package/build/abi/shared/OP_20_ABI.d.ts +2 -0
  28. package/build/abi/shared/OP_20_ABI.js +235 -0
  29. package/build/abi/shared/OP_NET_ABI.d.ts +2 -0
  30. package/build/abi/shared/OP_NET_ABI.js +31 -0
  31. package/build/abi/shared/STAKING_ABI.d.ts +2 -0
  32. package/build/abi/shared/STAKING_ABI.js +96 -0
  33. package/build/abi/shared/WBTC_ABI.d.ts +2 -0
  34. package/build/abi/shared/WBTC_ABI.js +40 -0
  35. package/build/abi/shared/interfaces/IMotoContract.d.ts +6 -0
  36. package/build/abi/shared/interfaces/IMotoContract.js +1 -0
  37. package/build/abi/shared/interfaces/IMotoswapFactoryContract.d.ts +7 -0
  38. package/build/abi/shared/interfaces/IMotoswapFactoryContract.js +1 -0
  39. package/build/abi/shared/interfaces/IMotoswapPoolContract.d.ts +13 -0
  40. package/build/abi/shared/interfaces/IMotoswapPoolContract.js +1 -0
  41. package/build/abi/shared/interfaces/IMotoswapRouterContract.d.ts +15 -0
  42. package/build/abi/shared/interfaces/IMotoswapRouterContract.js +1 -0
  43. package/build/abi/shared/interfaces/IOP_20Contract.d.ts +16 -0
  44. package/build/abi/shared/interfaces/IOP_20Contract.js +1 -0
  45. package/build/abi/shared/interfaces/IOP_NETContract.d.ts +7 -0
  46. package/build/abi/shared/interfaces/IOP_NETContract.js +1 -0
  47. package/build/abi/shared/interfaces/IStackingContract.d.ts +11 -0
  48. package/build/abi/shared/interfaces/IStackingContract.js +1 -0
  49. package/build/abi/shared/interfaces/IWBTCContract.d.ts +8 -0
  50. package/build/abi/shared/interfaces/IWBTCContract.js +1 -0
  51. package/build/abi/shared/json/MOTOSWAP_FACTORY_ABI.d.ts +3 -0
  52. package/build/abi/shared/json/MOTOSWAP_FACTORY_ABI.js +71 -0
  53. package/build/abi/shared/json/MOTOSWAP_POOL_ABI.d.ts +3 -0
  54. package/build/abi/shared/json/MOTOSWAP_POOL_ABI.js +279 -0
  55. package/build/abi/shared/json/MOTOSWAP_ROUTER_ABI.d.ts +2 -0
  56. package/build/abi/shared/json/MOTOSWAP_ROUTER_ABI.js +274 -0
  57. package/build/abi/shared/json/MOTO_TOKEN_ABI.d.ts +2 -0
  58. package/build/abi/shared/json/MOTO_TOKEN_ABI.js +22 -0
  59. package/build/abi/shared/json/OP_20_ABI.d.ts +3 -0
  60. package/build/abi/shared/json/OP_20_ABI.js +256 -0
  61. package/build/abi/shared/json/OP_NET_ABI.d.ts +2 -0
  62. package/build/abi/shared/json/OP_NET_ABI.js +31 -0
  63. package/build/abi/shared/json/STAKING_ABI.d.ts +3 -0
  64. package/build/abi/shared/json/STAKING_ABI.js +129 -0
  65. package/build/abi/shared/json/WBTC_ABI.d.ts +3 -0
  66. package/build/abi/shared/json/WBTC_ABI.js +57 -0
  67. package/build/common/CommonTypes.d.ts +2 -1
  68. package/build/contracts/Contract.js +151 -16
  69. package/build/opnet.d.ts +18 -0
  70. package/build/opnet.js +18 -0
  71. package/build/providers/AbstractRpcProvider.js +3 -0
  72. package/build/scripts/ITestContract.d.ts +0 -2
  73. package/build/scripts/ITestContract.js +1 -260
  74. package/build/scripts/testMethods.js +7 -10
  75. package/build/scripts/testMethodsReg.js +2 -2
  76. package/build/scripts/testWBTCContract.d.ts +1 -0
  77. package/build/scripts/testWBTCContract.js +11 -0
  78. package/build/transactions/TransactionParser.js +4 -0
  79. package/build/transactions/decoders/UnwrapTransaction.js +1 -0
  80. package/docs/assets/highlight.css +14 -0
  81. package/docs/assets/navigation.js +1 -1
  82. package/docs/assets/search.js +1 -1
  83. package/docs/classes/AbstractRpcProvider.html +22 -22
  84. package/docs/classes/BaseContract.html +7 -7
  85. package/docs/classes/BitcoinAddress.html +2 -2
  86. package/docs/classes/BitcoinInterface.html +2 -2
  87. package/docs/classes/BitcoinUtils.html +2 -2
  88. package/docs/classes/Block.html +3 -3
  89. package/docs/classes/CallResult.html +2 -2
  90. package/docs/classes/ContractData.html +2 -2
  91. package/docs/classes/DeploymentTransaction.html +24 -24
  92. package/docs/classes/GenericTransaction.html +14 -14
  93. package/docs/classes/IBaseContract.html +7 -7
  94. package/docs/classes/InteractionTransaction.html +21 -21
  95. package/docs/classes/JSONRpcProvider.html +22 -22
  96. package/docs/classes/OPNetEvent.html +2 -2
  97. package/docs/classes/StoredValue.html +2 -2
  98. package/docs/classes/TransactionBase.html +14 -14
  99. package/docs/classes/TransactionInput.html +2 -2
  100. package/docs/classes/TransactionOutput.html +2 -2
  101. package/docs/classes/TransactionParser.html +2 -2
  102. package/docs/classes/TransactionReceipt.html +7 -7
  103. package/docs/classes/UTXO.html +2 -2
  104. package/docs/classes/UnwrapTransaction.html +225 -0
  105. package/docs/classes/WebSocketRpcProvider.html +22 -22
  106. package/docs/classes/WrapTransaction.html +28 -28
  107. package/docs/enums/ABIDataTypes.html +12 -1
  108. package/docs/enums/BitcoinAbiTypes.html +2 -2
  109. package/docs/enums/GenerateTarget.html +2 -2
  110. package/docs/enums/JSONRPCErrorCode.html +2 -2
  111. package/docs/enums/JSONRPCErrorHttpCodes.html +2 -2
  112. package/docs/enums/JSONRpcMethods.html +9 -9
  113. package/docs/enums/OPNetTransactionTypes.html +2 -2
  114. package/docs/functions/getContract.html +3 -1
  115. package/docs/hierarchy.html +1 -1
  116. package/docs/interfaces/BaseContractProperties.html +2 -2
  117. package/docs/interfaces/BitcoinAbiValue.html +3 -3
  118. package/docs/interfaces/BitcoinInterfaceAbiBase.html +2 -2
  119. package/docs/interfaces/BroadcastedTransaction.html +6 -6
  120. package/docs/interfaces/ContractEvents.html +1 -1
  121. package/docs/interfaces/EventBaseData.html +2 -2
  122. package/docs/interfaces/FunctionBaseData.html +2 -2
  123. package/docs/interfaces/IAccessList.html +1 -1
  124. package/docs/interfaces/IAccessListItem.html +1 -1
  125. package/docs/interfaces/IBlock.html +3 -3
  126. package/docs/interfaces/IBlockCommon.html +3 -3
  127. package/docs/interfaces/IBlockWitness.html +2 -2
  128. package/docs/interfaces/IBlockWitnessAPI.html +2 -2
  129. package/docs/interfaces/ICallRequestError.html +2 -2
  130. package/docs/interfaces/ICallResultData.html +2 -2
  131. package/docs/interfaces/ICommonTransaction.html +16 -16
  132. package/docs/interfaces/IContract.html +2 -2
  133. package/docs/interfaces/IDecodedEvent.html +2 -2
  134. package/docs/interfaces/IDeploymentTransaction.html +23 -23
  135. package/docs/interfaces/IGenericTransaction.html +13 -13
  136. package/docs/interfaces/IInteractionTransaction.html +20 -20
  137. package/docs/interfaces/IMotoContract.html +195 -0
  138. package/docs/interfaces/IMotoswapFactoryContract.html +192 -0
  139. package/docs/interfaces/IMotoswapPoolContract.html +207 -0
  140. package/docs/interfaces/IMotoswapRouterContract.html +226 -0
  141. package/docs/interfaces/IOP_20Contract.html +195 -0
  142. package/docs/interfaces/IOP_NETContract.html +182 -0
  143. package/docs/interfaces/IRawContract.html +2 -2
  144. package/docs/interfaces/IRawContractEvents.html +1 -1
  145. package/docs/interfaces/IStackingContract.html +184 -0
  146. package/docs/interfaces/IStorageValue.html +2 -2
  147. package/docs/interfaces/ITransactionBase.html +13 -13
  148. package/docs/interfaces/ITransactionInput.html +2 -2
  149. package/docs/interfaces/ITransactionOutput.html +2 -2
  150. package/docs/interfaces/ITransactionReceipt.html +5 -5
  151. package/docs/interfaces/IUTXO.html +2 -2
  152. package/docs/interfaces/IUnwrapTransaction.html +224 -0
  153. package/docs/interfaces/IWBTCContract.html +208 -0
  154. package/docs/interfaces/IWrapTransaction.html +27 -27
  155. package/docs/interfaces/JSONRpc2Request.html +2 -2
  156. package/docs/interfaces/JSONRpc2ResponseError.html +2 -2
  157. package/docs/interfaces/JSONRpc2ResponseResult.html +2 -2
  158. package/docs/interfaces/JSONRpc2ResultData.html +1 -1
  159. package/docs/interfaces/JSONRpcErrorData.html +1 -1
  160. package/docs/interfaces/JSONRpcParams.html +1 -1
  161. package/docs/interfaces/JSONRpcResultError.html +2 -2
  162. package/docs/interfaces/MergedOP_20AndStackingContract.html +200 -0
  163. package/docs/interfaces/NetEventDocument.html +5 -5
  164. package/docs/interfaces/ParsedPartialWBTCUTXODocument.html +179 -0
  165. package/docs/interfaces/PartialWBTCUTXODocument.html +179 -0
  166. package/docs/interfaces/ReorgInformation.html +2 -2
  167. package/docs/interfaces/UsedUTXO.html +176 -0
  168. package/docs/modules.html +28 -1
  169. package/docs/types/BaseContractProperty.html +1 -1
  170. package/docs/types/BigNumberish.html +1 -1
  171. package/docs/types/BitcoinAddressLike.html +1 -1
  172. package/docs/types/BitcoinInterfaceAbi.html +1 -1
  173. package/docs/types/BlockHeaderChecksumProof.html +1 -1
  174. package/docs/types/BlockTag.html +1 -1
  175. package/docs/types/BlockWitnesses.html +1 -1
  176. package/docs/types/ContractDecodedObjectResult.html +1 -1
  177. package/docs/types/DecodedCallResult.html +1 -1
  178. package/docs/types/DecodedOutput.html +1 -1
  179. package/docs/types/GenerationParameters.html +1 -1
  180. package/docs/types/ICallResult.html +1 -1
  181. package/docs/types/ITransaction.html +1 -1
  182. package/docs/types/InteractionType.html +1 -1
  183. package/docs/types/JSONRpc2RequestParams.html +1 -1
  184. package/docs/types/JSONRpc2Result.html +1 -1
  185. package/docs/types/JSONRpcId.html +1 -1
  186. package/docs/types/JsonRpcCallResult.html +1 -1
  187. package/docs/types/JsonRpcError.html +1 -1
  188. package/docs/types/JsonRpcPayload.html +1 -1
  189. package/docs/types/JsonRpcResult.html +1 -1
  190. package/docs/types/Numeric.html +1 -1
  191. package/docs/types/PointerLike.html +1 -1
  192. package/docs/types/RawContractEvents.html +1 -1
  193. package/docs/types/UTXOs.html +1 -1
  194. package/docs/variables/MOTOSWAP_ROUTER_ABI.html +174 -0
  195. package/docs/variables/MOTO_TOKEN_ABI.html +174 -0
  196. package/docs/variables/MotoSwapFactoryAbi.html +174 -0
  197. package/docs/variables/MotoSwapFactoryEvents.html +174 -0
  198. package/docs/variables/MotoSwapPoolEvents.html +174 -0
  199. package/docs/variables/MotoswapPoolAbi.html +174 -0
  200. package/docs/variables/OP20Events.html +174 -0
  201. package/docs/variables/OP_20_ABI.html +174 -0
  202. package/docs/variables/OP_NET_ABI.html +174 -0
  203. package/docs/variables/STAKING_ABI.html +174 -0
  204. package/docs/variables/StackingEvents.html +174 -0
  205. package/docs/variables/WBTCEvents.html +174 -0
  206. package/docs/variables/WBTC_ABI.html +174 -0
  207. package/docs/variables/version.html +1 -1
  208. package/package.json +3 -3
  209. package/src/_version.ts +1 -1
  210. package/src/abi/shared/interfaces/IMotoContract.ts +17 -0
  211. package/src/abi/shared/interfaces/IMotoswapFactoryContract.ts +27 -0
  212. package/src/abi/shared/interfaces/IMotoswapPoolContract.ts +71 -0
  213. package/src/abi/shared/interfaces/IMotoswapRouterContract.ts +92 -0
  214. package/src/abi/shared/interfaces/IOP_20Contract.ts +61 -0
  215. package/src/abi/shared/interfaces/IOP_NETContract.ts +15 -0
  216. package/src/abi/shared/interfaces/IStackingContract.ts +24 -0
  217. package/src/abi/shared/interfaces/IWBTCContract.ts +34 -0
  218. package/src/abi/shared/json/MOTOSWAP_FACTORY_ABI.ts +83 -0
  219. package/src/abi/shared/json/MOTOSWAP_POOL_ABI.ts +303 -0
  220. package/src/abi/shared/json/MOTOSWAP_ROUTER_ABI.ts +291 -0
  221. package/src/abi/shared/json/MOTO_TOKEN_ABI.ts +29 -0
  222. package/src/{scripts/ITestContract.ts → abi/shared/json/OP_20_ABI.ts} +74 -109
  223. package/src/abi/shared/json/OP_NET_ABI.ts +37 -0
  224. package/src/abi/shared/json/STAKING_ABI.ts +140 -0
  225. package/src/abi/shared/json/WBTC_ABI.ts +73 -0
  226. package/src/common/CommonTypes.ts +3 -1
  227. package/src/contracts/Contract.ts +187 -20
  228. package/src/opnet.ts +23 -0
  229. package/src/providers/AbstractRpcProvider.ts +6 -0
  230. package/src/scripts/testMethods.ts +17 -86
  231. package/src/scripts/testMethodsReg.ts +5 -23
  232. package/src/scripts/testWBTCContract.ts +22 -0
  233. package/src/transactions/TransactionParser.ts +4 -0
  234. package/src/transactions/decoders/UnwrapTransaction.ts +2 -0
  235. package/src/scripts/testContract.ts +0 -23
  236. package/src/scripts/test_abi.json +0 -31
@@ -1 +1 @@
1
- export declare const version = "1.0.33";
1
+ export declare const version = "1.0.35";
@@ -0,0 +1,6 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { IOP_20Contract } from './IOP_20Contract.js';
4
+ export interface IMotoContract extends IOP_20Contract {
5
+ airdrop(list: Map<Address, bigint>): Promise<BaseContractProperty>;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { IOP_NETContract } from './IOP_NETContract.js';
4
+ export interface IMotoswapFactoryContract extends IOP_NETContract {
5
+ getPool(token0: Address, token1: Address): Promise<BaseContractProperty>;
6
+ createPool(token0: Address, token1: Address): Promise<BaseContractProperty>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { IOP_20Contract } from './IOP_20Contract.js';
4
+ export interface IMotoswapPoolContract extends Omit<IOP_20Contract, 'burn' | 'mint'> {
5
+ token0(): Promise<BaseContractProperty>;
6
+ token1(): Promise<BaseContractProperty>;
7
+ getReserves(): Promise<BaseContractProperty>;
8
+ swap(amount0Out: bigint, amount1Out: bigint, to: string, data: Uint8Array): Promise<BaseContractProperty>;
9
+ burn(to: Address): Promise<BaseContractProperty>;
10
+ sync(): Promise<BaseContractProperty>;
11
+ price0CumulativeLast(): Promise<BaseContractProperty>;
12
+ price1CumulativeLast(): Promise<BaseContractProperty>;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { IOP_NETContract } from './IOP_NETContract.js';
4
+ export interface IMotoswapRouterContract extends IOP_NETContract {
5
+ addLiquidity(tokenA: Address, tokenB: Address, amountADesired: bigint, amountBDesired: bigint, amountAMin: bigint, amountBMin: bigint, to: Address, deadline: bigint): BaseContractProperty;
6
+ removeLiquidity(tokenA: Address, tokenB: Address, liquidity: bigint, amountAMin: bigint, amountBMin: bigint, to: Address, deadline: bigint): BaseContractProperty;
7
+ quote(amountA: bigint, reserveA: bigint, reserveB: bigint): BaseContractProperty;
8
+ getAmountOut(amountIn: bigint, reserveIn: bigint, reserveOut: bigint): BaseContractProperty;
9
+ getAmountIn(amountOut: bigint, reserveIn: bigint, reserveOut: bigint): BaseContractProperty;
10
+ getAmountsOut(amountIn: bigint, path: Address[]): BaseContractProperty;
11
+ getAmountsIn(amountOut: bigint, path: Address[]): BaseContractProperty;
12
+ swapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn: bigint, amountOutMin: bigint, path: Address[], to: Address, deadline: bigint): BaseContractProperty;
13
+ factory(): BaseContractProperty;
14
+ WBTC(): BaseContractProperty;
15
+ }
@@ -0,0 +1,16 @@
1
+ import { BitcoinAddressLike } from '../../../common/CommonTypes.js';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { IOP_NETContract } from './IOP_NETContract.js';
4
+ export interface IOP_20Contract extends IOP_NETContract {
5
+ balanceOf(address: BitcoinAddressLike): Promise<BaseContractProperty>;
6
+ name(): Promise<BaseContractProperty>;
7
+ symbol(): Promise<BaseContractProperty>;
8
+ totalSupply(): Promise<BaseContractProperty>;
9
+ decimals(): Promise<BaseContractProperty>;
10
+ transfer(to: BitcoinAddressLike, value: bigint): Promise<BaseContractProperty>;
11
+ transferFrom(from: BitcoinAddressLike, to: BitcoinAddressLike, value: bigint): Promise<BaseContractProperty>;
12
+ approve(spender: BitcoinAddressLike, value: bigint): Promise<BaseContractProperty>;
13
+ allowance(owner: BitcoinAddressLike, spender: BitcoinAddressLike): Promise<BaseContractProperty>;
14
+ mint(to: BitcoinAddressLike, value: bigint): Promise<BaseContractProperty>;
15
+ burn(to: BitcoinAddressLike, value: bigint): Promise<BaseContractProperty>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import { BitcoinAddressLike } from '../../../common/CommonTypes.js';
2
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
3
+ import { BaseContractProperties } from '../../interfaces/BaseContractProperties.js';
4
+ export interface IOP_NETContract extends BaseContractProperties {
5
+ owner(): Promise<BaseContractProperty>;
6
+ isAddressOwner(address: BitcoinAddressLike): Promise<BaseContractProperty>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
2
+ import { BaseContractProperties } from '../../interfaces/BaseContractProperties.js';
3
+ export interface IStackingContract {
4
+ stake(amount: bigint): Promise<BaseContractProperties>;
5
+ unstake(): Promise<BaseContractProperties>;
6
+ stakedAmount(address: Address): Promise<BaseContractProperties>;
7
+ stakedReward(address: Address): Promise<BaseContractProperties>;
8
+ claim(): Promise<BaseContractProperties>;
9
+ rewardPool(): Promise<BaseContractProperties>;
10
+ totalStaked(): Promise<BaseContractProperties>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { BaseContractProperty } from '../../BaseContractProperty.js';
2
+ import { IOP_20Contract } from './IOP_20Contract.js';
3
+ import { IStackingContract } from './IStackingContract.js';
4
+ export type MergedOP_20AndStackingContract = IOP_20Contract & IStackingContract;
5
+ export interface IWBTCContract extends MergedOP_20AndStackingContract {
6
+ requestWithdrawal(amount: bigint): Promise<BaseContractProperty>;
7
+ withdrawableBalanceOf(address: string): Promise<BaseContractProperty>;
8
+ }
@@ -0,0 +1,3 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const MotoSwapFactoryEvents: BitcoinInterfaceAbi;
3
+ export declare const MotoSwapFactoryAbi: BitcoinInterfaceAbi;
@@ -0,0 +1,3 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const MotoSwapPoolEvents: BitcoinInterfaceAbi;
3
+ export declare const MotoswapPoolAbi: BitcoinInterfaceAbi;
@@ -0,0 +1,2 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const MOTOSWAP_ROUTER_ABI: BitcoinInterfaceAbi;
@@ -0,0 +1,2 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const MOTO_TOKEN_ABI: BitcoinInterfaceAbi;
@@ -0,0 +1,3 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const OP20Events: BitcoinInterfaceAbi;
3
+ export declare const OP_20_ABI: BitcoinInterfaceAbi;
@@ -0,0 +1,2 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const OP_NET_ABI: BitcoinInterfaceAbi;
@@ -0,0 +1,3 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const StackingEvents: BitcoinInterfaceAbi;
3
+ export declare const STAKING_ABI: BitcoinInterfaceAbi;
@@ -0,0 +1,3 @@
1
+ import { BitcoinInterfaceAbi } from '../../interfaces/BitcoinInterfaceAbi.js';
2
+ export declare const WBTCEvents: BitcoinInterfaceAbi;
3
+ export declare const WBTC_ABI: BitcoinInterfaceAbi;
@@ -1,7 +1,8 @@
1
+ import { Address } from '@btc-vision/bsi-binary';
1
2
  import { BitcoinAddress } from '../bitcoin/BitcoinAddress.js';
2
3
  export type BitcoinAddressLike = string | BitcoinAddress;
3
4
  export type PointerLike = bigint | string;
4
- export type DecodedCallResult = bigint | string | boolean | number | Uint8Array | Array<bigint> | Array<string> | Array<boolean> | Array<number> | Array<Uint8Array>;
5
+ export type DecodedCallResult = bigint | string | boolean | number | Uint8Array | Array<bigint> | Array<string> | Array<boolean> | Array<number> | Array<Uint8Array> | Map<Address, bigint>;
5
6
  export type Numeric = number | bigint;
6
7
  export type BigNumberish = Numeric | string;
7
8
  export type BlockTag = BigNumberish | 'latest' | 'pending' | 'earliest';