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.
- package/browser/_version.d.ts +1 -1
- package/browser/abi/shared/interfaces/IMotoContract.d.ts +6 -0
- package/browser/abi/shared/interfaces/IMotoswapFactoryContract.d.ts +7 -0
- package/browser/abi/shared/interfaces/IMotoswapPoolContract.d.ts +13 -0
- package/browser/abi/shared/interfaces/IMotoswapRouterContract.d.ts +15 -0
- package/browser/abi/shared/interfaces/IOP_20Contract.d.ts +16 -0
- package/browser/abi/shared/interfaces/IOP_NETContract.d.ts +7 -0
- package/browser/abi/shared/interfaces/IStackingContract.d.ts +11 -0
- package/browser/abi/shared/interfaces/IWBTCContract.d.ts +8 -0
- package/browser/abi/shared/json/MOTOSWAP_FACTORY_ABI.d.ts +3 -0
- package/browser/abi/shared/json/MOTOSWAP_POOL_ABI.d.ts +3 -0
- package/browser/abi/shared/json/MOTOSWAP_ROUTER_ABI.d.ts +2 -0
- package/browser/abi/shared/json/MOTO_TOKEN_ABI.d.ts +2 -0
- package/browser/abi/shared/json/OP_20_ABI.d.ts +3 -0
- package/browser/abi/shared/json/OP_NET_ABI.d.ts +2 -0
- package/browser/abi/shared/json/STAKING_ABI.d.ts +3 -0
- package/browser/abi/shared/json/WBTC_ABI.d.ts +3 -0
- package/browser/common/CommonTypes.d.ts +2 -1
- package/browser/index.js +1 -1
- package/browser/opnet.d.ts +18 -0
- package/browser/scripts/ITestContract.d.ts +2 -0
- package/browser/scripts/testWBTCContract.d.ts +1 -0
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/abi/shared/MOTOSWAP_FACTORY_ABI.d.ts +2 -0
- package/build/abi/shared/MOTOSWAP_FACTORY_ABI.js +68 -0
- package/build/abi/shared/OP_20_ABI.d.ts +2 -0
- package/build/abi/shared/OP_20_ABI.js +235 -0
- package/build/abi/shared/OP_NET_ABI.d.ts +2 -0
- package/build/abi/shared/OP_NET_ABI.js +31 -0
- package/build/abi/shared/STAKING_ABI.d.ts +2 -0
- package/build/abi/shared/STAKING_ABI.js +96 -0
- package/build/abi/shared/WBTC_ABI.d.ts +2 -0
- package/build/abi/shared/WBTC_ABI.js +40 -0
- package/build/abi/shared/interfaces/IMotoContract.d.ts +6 -0
- package/build/abi/shared/interfaces/IMotoContract.js +1 -0
- package/build/abi/shared/interfaces/IMotoswapFactoryContract.d.ts +7 -0
- package/build/abi/shared/interfaces/IMotoswapFactoryContract.js +1 -0
- package/build/abi/shared/interfaces/IMotoswapPoolContract.d.ts +13 -0
- package/build/abi/shared/interfaces/IMotoswapPoolContract.js +1 -0
- package/build/abi/shared/interfaces/IMotoswapRouterContract.d.ts +15 -0
- package/build/abi/shared/interfaces/IMotoswapRouterContract.js +1 -0
- package/build/abi/shared/interfaces/IOP_20Contract.d.ts +16 -0
- package/build/abi/shared/interfaces/IOP_20Contract.js +1 -0
- package/build/abi/shared/interfaces/IOP_NETContract.d.ts +7 -0
- package/build/abi/shared/interfaces/IOP_NETContract.js +1 -0
- package/build/abi/shared/interfaces/IStackingContract.d.ts +11 -0
- package/build/abi/shared/interfaces/IStackingContract.js +1 -0
- package/build/abi/shared/interfaces/IWBTCContract.d.ts +8 -0
- package/build/abi/shared/interfaces/IWBTCContract.js +1 -0
- package/build/abi/shared/json/MOTOSWAP_FACTORY_ABI.d.ts +3 -0
- package/build/abi/shared/json/MOTOSWAP_FACTORY_ABI.js +71 -0
- package/build/abi/shared/json/MOTOSWAP_POOL_ABI.d.ts +3 -0
- package/build/abi/shared/json/MOTOSWAP_POOL_ABI.js +279 -0
- package/build/abi/shared/json/MOTOSWAP_ROUTER_ABI.d.ts +2 -0
- package/build/abi/shared/json/MOTOSWAP_ROUTER_ABI.js +274 -0
- package/build/abi/shared/json/MOTO_TOKEN_ABI.d.ts +2 -0
- package/build/abi/shared/json/MOTO_TOKEN_ABI.js +22 -0
- package/build/abi/shared/json/OP_20_ABI.d.ts +3 -0
- package/build/abi/shared/json/OP_20_ABI.js +256 -0
- package/build/abi/shared/json/OP_NET_ABI.d.ts +2 -0
- package/build/abi/shared/json/OP_NET_ABI.js +31 -0
- package/build/abi/shared/json/STAKING_ABI.d.ts +3 -0
- package/build/abi/shared/json/STAKING_ABI.js +129 -0
- package/build/abi/shared/json/WBTC_ABI.d.ts +3 -0
- package/build/abi/shared/json/WBTC_ABI.js +57 -0
- package/build/common/CommonTypes.d.ts +2 -1
- package/build/contracts/Contract.js +151 -16
- package/build/opnet.d.ts +18 -0
- package/build/opnet.js +18 -0
- package/build/providers/AbstractRpcProvider.js +3 -0
- package/build/scripts/ITestContract.d.ts +0 -2
- package/build/scripts/ITestContract.js +1 -260
- package/build/scripts/testMethods.js +7 -10
- package/build/scripts/testMethodsReg.js +2 -2
- package/build/scripts/testWBTCContract.d.ts +1 -0
- package/build/scripts/testWBTCContract.js +11 -0
- package/build/transactions/TransactionParser.js +4 -0
- package/build/transactions/decoders/UnwrapTransaction.js +1 -0
- package/docs/assets/highlight.css +14 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AbstractRpcProvider.html +22 -22
- package/docs/classes/BaseContract.html +7 -7
- package/docs/classes/BitcoinAddress.html +2 -2
- package/docs/classes/BitcoinInterface.html +2 -2
- package/docs/classes/BitcoinUtils.html +2 -2
- package/docs/classes/Block.html +3 -3
- package/docs/classes/CallResult.html +2 -2
- package/docs/classes/ContractData.html +2 -2
- package/docs/classes/DeploymentTransaction.html +24 -24
- package/docs/classes/GenericTransaction.html +14 -14
- package/docs/classes/IBaseContract.html +7 -7
- package/docs/classes/InteractionTransaction.html +21 -21
- package/docs/classes/JSONRpcProvider.html +22 -22
- package/docs/classes/OPNetEvent.html +2 -2
- package/docs/classes/StoredValue.html +2 -2
- package/docs/classes/TransactionBase.html +14 -14
- package/docs/classes/TransactionInput.html +2 -2
- package/docs/classes/TransactionOutput.html +2 -2
- package/docs/classes/TransactionParser.html +2 -2
- package/docs/classes/TransactionReceipt.html +7 -7
- package/docs/classes/UTXO.html +2 -2
- package/docs/classes/UnwrapTransaction.html +225 -0
- package/docs/classes/WebSocketRpcProvider.html +22 -22
- package/docs/classes/WrapTransaction.html +28 -28
- package/docs/enums/ABIDataTypes.html +12 -1
- package/docs/enums/BitcoinAbiTypes.html +2 -2
- package/docs/enums/GenerateTarget.html +2 -2
- package/docs/enums/JSONRPCErrorCode.html +2 -2
- package/docs/enums/JSONRPCErrorHttpCodes.html +2 -2
- package/docs/enums/JSONRpcMethods.html +9 -9
- package/docs/enums/OPNetTransactionTypes.html +2 -2
- package/docs/functions/getContract.html +3 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/BaseContractProperties.html +2 -2
- package/docs/interfaces/BitcoinAbiValue.html +3 -3
- package/docs/interfaces/BitcoinInterfaceAbiBase.html +2 -2
- package/docs/interfaces/BroadcastedTransaction.html +6 -6
- package/docs/interfaces/ContractEvents.html +1 -1
- package/docs/interfaces/EventBaseData.html +2 -2
- package/docs/interfaces/FunctionBaseData.html +2 -2
- package/docs/interfaces/IAccessList.html +1 -1
- package/docs/interfaces/IAccessListItem.html +1 -1
- package/docs/interfaces/IBlock.html +3 -3
- package/docs/interfaces/IBlockCommon.html +3 -3
- package/docs/interfaces/IBlockWitness.html +2 -2
- package/docs/interfaces/IBlockWitnessAPI.html +2 -2
- package/docs/interfaces/ICallRequestError.html +2 -2
- package/docs/interfaces/ICallResultData.html +2 -2
- package/docs/interfaces/ICommonTransaction.html +16 -16
- package/docs/interfaces/IContract.html +2 -2
- package/docs/interfaces/IDecodedEvent.html +2 -2
- package/docs/interfaces/IDeploymentTransaction.html +23 -23
- package/docs/interfaces/IGenericTransaction.html +13 -13
- package/docs/interfaces/IInteractionTransaction.html +20 -20
- package/docs/interfaces/IMotoContract.html +195 -0
- package/docs/interfaces/IMotoswapFactoryContract.html +192 -0
- package/docs/interfaces/IMotoswapPoolContract.html +207 -0
- package/docs/interfaces/IMotoswapRouterContract.html +226 -0
- package/docs/interfaces/IOP_20Contract.html +195 -0
- package/docs/interfaces/IOP_NETContract.html +182 -0
- package/docs/interfaces/IRawContract.html +2 -2
- package/docs/interfaces/IRawContractEvents.html +1 -1
- package/docs/interfaces/IStackingContract.html +184 -0
- package/docs/interfaces/IStorageValue.html +2 -2
- package/docs/interfaces/ITransactionBase.html +13 -13
- package/docs/interfaces/ITransactionInput.html +2 -2
- package/docs/interfaces/ITransactionOutput.html +2 -2
- package/docs/interfaces/ITransactionReceipt.html +5 -5
- package/docs/interfaces/IUTXO.html +2 -2
- package/docs/interfaces/IUnwrapTransaction.html +224 -0
- package/docs/interfaces/IWBTCContract.html +208 -0
- package/docs/interfaces/IWrapTransaction.html +27 -27
- package/docs/interfaces/JSONRpc2Request.html +2 -2
- package/docs/interfaces/JSONRpc2ResponseError.html +2 -2
- package/docs/interfaces/JSONRpc2ResponseResult.html +2 -2
- package/docs/interfaces/JSONRpc2ResultData.html +1 -1
- package/docs/interfaces/JSONRpcErrorData.html +1 -1
- package/docs/interfaces/JSONRpcParams.html +1 -1
- package/docs/interfaces/JSONRpcResultError.html +2 -2
- package/docs/interfaces/MergedOP_20AndStackingContract.html +200 -0
- package/docs/interfaces/NetEventDocument.html +5 -5
- package/docs/interfaces/ParsedPartialWBTCUTXODocument.html +179 -0
- package/docs/interfaces/PartialWBTCUTXODocument.html +179 -0
- package/docs/interfaces/ReorgInformation.html +2 -2
- package/docs/interfaces/UsedUTXO.html +176 -0
- package/docs/modules.html +28 -1
- package/docs/types/BaseContractProperty.html +1 -1
- package/docs/types/BigNumberish.html +1 -1
- package/docs/types/BitcoinAddressLike.html +1 -1
- package/docs/types/BitcoinInterfaceAbi.html +1 -1
- package/docs/types/BlockHeaderChecksumProof.html +1 -1
- package/docs/types/BlockTag.html +1 -1
- package/docs/types/BlockWitnesses.html +1 -1
- package/docs/types/ContractDecodedObjectResult.html +1 -1
- package/docs/types/DecodedCallResult.html +1 -1
- package/docs/types/DecodedOutput.html +1 -1
- package/docs/types/GenerationParameters.html +1 -1
- package/docs/types/ICallResult.html +1 -1
- package/docs/types/ITransaction.html +1 -1
- package/docs/types/InteractionType.html +1 -1
- package/docs/types/JSONRpc2RequestParams.html +1 -1
- package/docs/types/JSONRpc2Result.html +1 -1
- package/docs/types/JSONRpcId.html +1 -1
- package/docs/types/JsonRpcCallResult.html +1 -1
- package/docs/types/JsonRpcError.html +1 -1
- package/docs/types/JsonRpcPayload.html +1 -1
- package/docs/types/JsonRpcResult.html +1 -1
- package/docs/types/Numeric.html +1 -1
- package/docs/types/PointerLike.html +1 -1
- package/docs/types/RawContractEvents.html +1 -1
- package/docs/types/UTXOs.html +1 -1
- package/docs/variables/MOTOSWAP_ROUTER_ABI.html +174 -0
- package/docs/variables/MOTO_TOKEN_ABI.html +174 -0
- package/docs/variables/MotoSwapFactoryAbi.html +174 -0
- package/docs/variables/MotoSwapFactoryEvents.html +174 -0
- package/docs/variables/MotoSwapPoolEvents.html +174 -0
- package/docs/variables/MotoswapPoolAbi.html +174 -0
- package/docs/variables/OP20Events.html +174 -0
- package/docs/variables/OP_20_ABI.html +174 -0
- package/docs/variables/OP_NET_ABI.html +174 -0
- package/docs/variables/STAKING_ABI.html +174 -0
- package/docs/variables/StackingEvents.html +174 -0
- package/docs/variables/WBTCEvents.html +174 -0
- package/docs/variables/WBTC_ABI.html +174 -0
- package/docs/variables/version.html +1 -1
- package/package.json +3 -3
- package/src/_version.ts +1 -1
- package/src/abi/shared/interfaces/IMotoContract.ts +17 -0
- package/src/abi/shared/interfaces/IMotoswapFactoryContract.ts +27 -0
- package/src/abi/shared/interfaces/IMotoswapPoolContract.ts +71 -0
- package/src/abi/shared/interfaces/IMotoswapRouterContract.ts +92 -0
- package/src/abi/shared/interfaces/IOP_20Contract.ts +61 -0
- package/src/abi/shared/interfaces/IOP_NETContract.ts +15 -0
- package/src/abi/shared/interfaces/IStackingContract.ts +24 -0
- package/src/abi/shared/interfaces/IWBTCContract.ts +34 -0
- package/src/abi/shared/json/MOTOSWAP_FACTORY_ABI.ts +83 -0
- package/src/abi/shared/json/MOTOSWAP_POOL_ABI.ts +303 -0
- package/src/abi/shared/json/MOTOSWAP_ROUTER_ABI.ts +291 -0
- package/src/abi/shared/json/MOTO_TOKEN_ABI.ts +29 -0
- package/src/{scripts/ITestContract.ts → abi/shared/json/OP_20_ABI.ts} +74 -109
- package/src/abi/shared/json/OP_NET_ABI.ts +37 -0
- package/src/abi/shared/json/STAKING_ABI.ts +140 -0
- package/src/abi/shared/json/WBTC_ABI.ts +73 -0
- package/src/common/CommonTypes.ts +3 -1
- package/src/contracts/Contract.ts +187 -20
- package/src/opnet.ts +23 -0
- package/src/providers/AbstractRpcProvider.ts +6 -0
- package/src/scripts/testMethods.ts +17 -86
- package/src/scripts/testMethodsReg.ts +5 -23
- package/src/scripts/testWBTCContract.ts +22 -0
- package/src/transactions/TransactionParser.ts +4 -0
- package/src/transactions/decoders/UnwrapTransaction.ts +2 -0
- package/src/scripts/testContract.ts +0 -23
- package/src/scripts/test_abi.json +0 -31
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.0.
|
|
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
|
+
}
|
|
@@ -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';
|