@hinkal/common 0.2.11 → 0.2.12
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/package.json +16 -41
- package/API/API.d.mts +0 -49
- package/API/HinkalPointsCalls.d.mts +0 -20
- package/API/callBeefyGraphAPI.d.mts +0 -2
- package/API/callCurveAPI.d.mts +0 -9
- package/API/callMonitor.d.mts +0 -1
- package/API/callOdosAPI.d.mts +0 -63
- package/API/callOneInchAPI.d.mts +0 -18
- package/API/callRelayer.d.mts +0 -10
- package/API/checkRisk.d.mts +0 -1
- package/API/dataServerCalls.d.mts +0 -2
- package/API/duneAPI.d.mts +0 -11
- package/API/fetchCommitmentsCache.d.mts +0 -20
- package/API/fetchNullifiers.d.mts +0 -5
- package/API/getAxelarGasEstimate.d.mts +0 -5
- package/API/getCoingeckoPrice.d.mts +0 -22
- package/API/getConnextReceiveFee.d.mts +0 -2
- package/API/getGasEstimates.d.mts +0 -9
- package/API/getRelayerURL.d.mts +0 -1
- package/API/getServerURL.d.mts +0 -2
- package/API/getTokenPrice.d.mts +0 -16
- package/API/index.d.mts +0 -14
- package/API/kycCalls.d.mts +0 -30
- package/API/passwordCalls.d.mts +0 -9
- package/API/referralProgramCalls.d.mts +0 -36
- package/API/relayCalls.d.mts +0 -5
- package/API/restoreSnapshots.d.mts +0 -1
- package/API/rewardsPointsCalls.d.mts +0 -13
- package/API/userVerifyTransactions.d.mts +0 -19
- package/constants/assets.constants.d.mts +0 -13
- package/constants/axelar.constants.d.mts +0 -5
- package/constants/backend.constants.d.mts +0 -11
- package/constants/beefy.registry.d.mts +0 -8
- package/constants/chains.constants.d.mts +0 -36
- package/constants/coingecko.constants.d.mts +0 -13
- package/constants/contracts.constants.d.mts +0 -119
- package/constants/crvCvx.registry.d.mts +0 -20
- package/constants/crvDynamic.registry.d.mts +0 -1
- package/constants/deploy-data/index.d.mts +0 -11
- package/constants/fees.constants.d.mts +0 -11
- package/constants/index.d.mts +0 -20
- package/constants/kyc.constants.d.mts +0 -28
- package/constants/lido.constants.d.mts +0 -10
- package/constants/pendle.registry.d.mts +0 -21
- package/constants/protocol.constants.d.mts +0 -18
- package/constants/reorg-depths.constants.d.mts +0 -3
- package/constants/rewards.constants.d.mts +0 -19
- package/constants/server.constants.d.mts +0 -155
- package/constants/token-data/ERC20Registry.d.mts +0 -3
- package/constants/token-data/index.d.mts +0 -976
- package/constants/token-data/popularTokens.constants.d.mts +0 -3
- package/constants/token-data/tokenPricing.consts.d.mts +0 -5
- package/constants/vite.constants.d.mts +0 -14
- package/crypto/babyJub.d.mts +0 -16
- package/crypto/index.d.mts +0 -3
- package/crypto/poseidon.d.mts +0 -15
- package/crypto/preProcessing.d.mts +0 -1
- package/data-structures/Hinkal/Hinkal.d.mts +0 -100
- package/data-structures/Hinkal/IHinkal.d.mts +0 -93
- package/data-structures/Hinkal/hinkalActionBeefy.d.mts +0 -3
- package/data-structures/Hinkal/hinkalActionConvex.d.mts +0 -12
- package/data-structures/Hinkal/hinkalActionCurve.d.mts +0 -12
- package/data-structures/Hinkal/hinkalActionLidoEth.d.mts +0 -4
- package/data-structures/Hinkal/hinkalActionPendle.d.mts +0 -3
- package/data-structures/Hinkal/hinkalActionPendleLP.d.mts +0 -7
- package/data-structures/Hinkal/hinkalActionStake.d.mts +0 -3
- package/data-structures/Hinkal/hinkalActionVolatile.d.mts +0 -3
- package/data-structures/Hinkal/hinkalDeposit.d.mts +0 -3
- package/data-structures/Hinkal/hinkalGetRecipientInfo.d.mts +0 -2
- package/data-structures/Hinkal/hinkalGetZkMeProvider.d.mts +0 -3
- package/data-structures/Hinkal/hinkalPrivateWallet.d.mts +0 -2
- package/data-structures/Hinkal/hinkalSwap.d.mts +0 -3
- package/data-structures/Hinkal/hinkalTransfer.d.mts +0 -1
- package/data-structures/Hinkal/hinkalWithdraw.d.mts +0 -2
- package/data-structures/Hinkal/index.d.mts +0 -12
- package/data-structures/Hinkal/resetMerkleTrees.d.mts +0 -2
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.mts +0 -20
- package/data-structures/ValueCache/ValueCache.d.mts +0 -10
- package/data-structures/ValueCache/index.d.mts +0 -1
- package/data-structures/cacheDevices/BaseCacheDevice.d.mts +0 -8
- package/data-structures/cacheDevices/FileCacheDevice.d.mts +0 -9
- package/data-structures/cacheDevices/LocalStorageCacheDevice.d.mts +0 -7
- package/data-structures/cacheDevices/index.d.mts +0 -2
- package/data-structures/crypto-keys/decodeUTXO.d.mts +0 -14
- package/data-structures/crypto-keys/encryptDecryptUtxo.d.mts +0 -18
- package/data-structures/crypto-keys/index.d.mts +0 -4
- package/data-structures/crypto-keys/keyUtils.d.mts +0 -2
- package/data-structures/crypto-keys/keys.d.mts +0 -58
- package/data-structures/custom-token-registry/CustomTokenRegistry.d.mts +0 -13
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.d.mts +0 -35
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.d.mts +0 -30
- package/data-structures/event-service/AbstractEventService.d.mts +0 -31
- package/data-structures/event-service/AbstractNullifierSnapshotService.d.mts +0 -22
- package/data-structures/event-service/AbstractSnapshotService.d.mts +0 -23
- package/data-structures/event-service/index.d.mts +0 -5
- package/data-structures/index.d.mts +0 -13
- package/data-structures/merkle-tree/MerkleTree.d.mts +0 -78
- package/data-structures/merkle-tree/MerkleTreeIncompleteError.d.mts +0 -3
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.mts +0 -3
- package/data-structures/merkle-tree/index.d.mts +0 -3
- package/data-structures/provider-adapter/IProviderAdapter.d.mts +0 -35
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.d.mts +0 -7
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.d.mts +0 -7
- package/data-structures/snapshot/ClientNullifierSnapshotService.d.mts +0 -7
- package/data-structures/token-price-fetcher/TokenChecker.d.mts +0 -20
- package/data-structures/token-price-fetcher/index.d.mts +0 -1
- package/data-structures/transactions-manager/TransactionsManager.d.mts +0 -27
- package/data-structures/transactions-manager/history/getBeefyData.d.mts +0 -3
- package/data-structures/transactions-manager/history/getConvexData.d.mts +0 -6
- package/data-structures/transactions-manager/history/getCurveData.d.mts +0 -6
- package/data-structures/transactions-manager/history/getDepositData.d.mts +0 -2
- package/data-structures/transactions-manager/history/getLidoData.d.mts +0 -10
- package/data-structures/transactions-manager/history/getPendleData.d.mts +0 -3
- package/data-structures/transactions-manager/history/getSwapData.d.mts +0 -3
- package/data-structures/transactions-manager/history/getTxDetails.d.mts +0 -3
- package/data-structures/transactions-manager/history/getVolatileData.d.mts +0 -32
- package/data-structures/transactions-manager/history/history.types.d.mts +0 -95
- package/data-structures/transactions-manager/history/history.utils.d.mts +0 -8
- package/data-structures/transactions-manager/index.d.mts +0 -2
- package/data-structures/utxo/Utxo.d.mts +0 -63
- package/data-structures/volatile-helper/VolatileHelper.d.mts +0 -57
- package/data-structures/volatile-helper/index.d.mts +0 -1
- package/error-handling/customErrors/ErrorWithAmount.d.mts +0 -4
- package/error-handling/customErrors/FeeOverTransactionValueError.d.mts +0 -9
- package/error-handling/customErrors/customErrors.helpers.d.mts +0 -5
- package/error-handling/customErrors/index.d.mts +0 -3
- package/error-handling/error-codes.constants.d.mts +0 -181
- package/error-handling/get-error.message.d.mts +0 -3
- package/error-handling/handleErrorRestore.d.mts +0 -2
- package/error-handling/index.d.mts +0 -7
- package/error-handling/logError.d.mts +0 -1
- package/error-handling/types.d.mts +0 -5
- package/externalABIs/BUSD.d.mts +0 -38
- package/externalABIs/DAI.d.mts +0 -45
- package/externalABIs/ERC20.d.mts +0 -1
- package/externalABIs/SanctionsList.d.mts +0 -35
- package/externalABIs/USDC.d.mts +0 -28
- package/externalABIs/USDR.d.mts +0 -28
- package/externalABIs/USDR3CRV.d.mts +0 -49
- package/externalABIs/USDT.d.mts +0 -41
- package/externalABIs/WETH.d.mts +0 -38
- package/externalABIs/amToken.d.mts +0 -28
- package/externalABIs/crvFRAX.d.mts +0 -38
- package/externalABIs/index.d.mts +0 -323
- package/externalABIs/swapAbi.d.mts +0 -77
- package/functions/index.d.mts +0 -14
- package/functions/kyc/aiPriseHelper.d.mts +0 -0
- package/functions/kyc/authentoHelper.d.mts +0 -12
- package/functions/kyc/index.d.mts +0 -3
- package/functions/kyc/openDefaultPassportWindow.d.mts +0 -1
- package/functions/kyc/passportHelper.d.mts +0 -3
- package/functions/kyc/zkMeHelper.d.mts +0 -4
- package/functions/pre-transaction/getFlatFees.d.mts +0 -12
- package/functions/pre-transaction/index.d.mts +0 -5
- package/functions/pre-transaction/interaction-to-action.d.mts +0 -2
- package/functions/pre-transaction/outputUtxoProcessing.d.mts +0 -5
- package/functions/pre-transaction/process-gas-estimates.d.mts +0 -5
- package/functions/pre-transaction/processAmountChanges.d.mts +0 -12
- package/functions/private-wallet/emporium.helpers.d.mts +0 -5
- package/functions/private-wallet/index.d.mts +0 -2
- package/functions/private-wallet/opProducer.d.mts +0 -5
- package/functions/protocols/convex.protocols.d.mts +0 -1
- package/functions/protocols/curve.protocols.d.mts +0 -1
- package/functions/protocols/index.d.mts +0 -3
- package/functions/protocols/pendle.helpers.d.mts +0 -8
- package/functions/snarkjs/common.snarkjs.d.mts +0 -22
- package/functions/snarkjs/constant.d.mts +0 -151
- package/functions/snarkjs/constructEmporiumProof.d.mts +0 -10
- package/functions/snarkjs/constructGeneralZkProof.d.mts +0 -12
- package/functions/snarkjs/generateCircomData.d.mts +0 -4
- package/functions/snarkjs/generateZkProof.d.mts +0 -5
- package/functions/snarkjs/generateZkProofEnclave.d.mts +0 -5
- package/functions/snarkjs/generateZkProofSelf.d.mts +0 -5
- package/functions/snarkjs/getZKFiles.d.mts +0 -2
- package/functions/snarkjs/index.d.mts +0 -4
- package/functions/staking/index.d.mts +0 -11
- package/functions/utils/amounts.utils.d.mts +0 -21
- package/functions/utils/axelar.utils.d.mts +0 -2
- package/functions/utils/cacheDevice.utils.d.mts +0 -3
- package/functions/utils/cacheFunctions.d.mts +0 -17
- package/functions/utils/caseInsensitive.utils.d.mts +0 -3
- package/functions/utils/convertIntegrationProviderToExternalActionId.d.mts +0 -2
- package/functions/utils/create-provider.d.mts +0 -2
- package/functions/utils/enum.utils.d.mts +0 -9
- package/functions/utils/erc20tokenFunctions.d.mts +0 -4
- package/functions/utils/evmNetworkFunctions.d.mts +0 -4
- package/functions/utils/external-action.utils.d.mts +0 -8
- package/functions/utils/getDataFromTransaction.d.mts +0 -45
- package/functions/utils/index.d.mts +0 -21
- package/functions/utils/memoize.utils.d.mts +0 -1
- package/functions/utils/nickname.utils.d.mts +0 -1
- package/functions/utils/process.utils.d.mts +0 -7
- package/functions/utils/reloadPage.d.mts +0 -1
- package/functions/utils/requireEnv.d.mts +0 -1
- package/functions/utils/resolve-sync.utils.d.mts +0 -6
- package/functions/utils/serialize.utils.d.mts +0 -1
- package/functions/utils/string.utils.d.mts +0 -8
- package/functions/utils/time.utils.d.mts +0 -1
- package/functions/utils/userAgent.d.mts +0 -2
- package/functions/utils/volatile-patcher.utils.d.mts +0 -1
- package/functions/web3/etherFunctions.d.mts +0 -20
- package/functions/web3/events/balanceChangedHandler.d.mts +0 -1
- package/functions/web3/events/getInputUtxoAndBalance.d.mts +0 -24
- package/functions/web3/events/getShieldedBalance.d.mts +0 -18
- package/functions/web3/events/index.d.mts +0 -4
- package/functions/web3/events/web3RetrieveEvents.d.mts +0 -14
- package/functions/web3/functionCalls/accessTokenCalls.d.mts +0 -6
- package/functions/web3/functionCalls/approveToken.d.mts +0 -4
- package/functions/web3/functionCalls/estimateGasRelayer.d.mts +0 -4
- package/functions/web3/functionCalls/getRootHash.d.mts +0 -2
- package/functions/web3/functionCalls/relayFunctions.d.mts +0 -17
- package/functions/web3/functionCalls/transactCallDirect.d.mts +0 -6
- package/functions/web3/functionCalls/transactCallRelayer.d.mts +0 -7
- package/functions/web3/getContractMetadata.d.mts +0 -5
- package/functions/web3/index.d.mts +0 -6
- package/functions/web3/odosAPI.d.mts +0 -5
- package/functions/web3/oneInchAPI.d.mts +0 -5
- package/functions/web3/runContractFunction.d.mts +0 -15
- package/functions/web3/uniswapAPI.d.mts +0 -16
- package/index.d.mts +0 -8
- package/providers/EthersProviderAdapter.d.mts +0 -39
- package/providers/WagmiProviderAdapter.d.mts +0 -46
- package/providers/exportProviers.d.mts +0 -3
- package/providers/prepareEthersHinkal.d.mts +0 -4
- package/providers/prepareWagmiHinkal.d.mts +0 -3
- package/types/API.types.d.mts +0 -23
- package/types/ICacheDevice.d.mts +0 -4
- package/types/IMultiThreadedUtxoUtils.d.mts +0 -8
- package/types/admin.types.d.mts +0 -22
- package/types/axelar.types.d.mts +0 -14
- package/types/beefy.types.d.mts +0 -11
- package/types/big-intable.types.d.mts +0 -2
- package/types/circom-data.types.d.mts +0 -70
- package/types/coingecko.types.d.mts +0 -8
- package/types/commitments.types.d.mts +0 -26
- package/types/connext.types.d.mts +0 -13
- package/types/crypto.types.d.mts +0 -7
- package/types/curve.types.d.mts +0 -133
- package/types/duneAPI.types.d.mts +0 -9
- package/types/ethereum-network.types.d.mts +0 -142
- package/types/external-action.types.d.mts +0 -28
- package/types/hinkal.stake.types.d.mts +0 -11
- package/types/hinkal.types.d.mts +0 -150
- package/types/hinkalTvl.types.d.mts +0 -4
- package/types/index.d.mts +0 -27
- package/types/kyc.types.d.mts +0 -39
- package/types/pendle.api.types.d.mts +0 -233
- package/types/pendle.types.d.mts +0 -222
- package/types/relayer.types.d.mts +0 -25
- package/types/remote-proof.types.d.mts +0 -15
- package/types/rewards.types.d.mts +0 -230
- package/types/slippage.types.d.mts +0 -15
- package/types/snark.types.d.mts +0 -40
- package/types/time.types.d.mts +0 -31
- package/types/token.types.d.mts +0 -36
- package/types/transactions.types.d.mts +0 -55
- package/webworker/performTaskWithWorker.d.mts +0 -5
- package/webworker/snarkjsWorker/snarkjsWorker.types.d.mts +0 -14
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.d.mts +0 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.d.mts +0 -10
- package/webworker/utxoWorker/utxoWorker.types.d.mts +0 -29
- package/webworker/utxoWorker/utxoWorkerLauncher.d.mts +0 -1
- package/webworker/utxoWorker/utxoWorkerLogic.d.mts +0 -8
- package/webworker/viteWorkerURL.constant.d.mts +0 -9
- package/webworker/worker.registry.d.mts +0 -10
- package/webworker/worker.types.d.mts +0 -33
- package/webworker/workerErrorHandler.d.mts +0 -1
- package/webworker/workerFactory.d.mts +0 -7
- package/webworker/workerProxy.d.mts +0 -40
- package/webworker/zkProofWorker/zkProofWorker.types.d.mts +0 -38
- package/webworker/zkProofWorker/zkProofWorkerLauncher.d.mts +0 -1
- package/webworker/zkProofWorker/zkProofWorkerLogic.d.mts +0 -8
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { BigNumber, BigNumberish, BytesLike, Contract } from 'ethers';
|
|
2
|
-
import { VolatileAction } from '../../types/hinkal.types';
|
|
3
|
-
import { ContractType } from '../../types/ethereum-network.types';
|
|
4
|
-
import { DecodedTx } from '../../types/transactions.types';
|
|
5
|
-
import { ExternalActionData, ExternalActionId } from '../../types/external-action.types';
|
|
6
|
-
export type EncodeVolatileActionMetadataProp = {
|
|
7
|
-
volatileAmounts: PromiseOrValue<BigNumberish[]>;
|
|
8
|
-
withdrawRecipient: PromiseOrValue<string>;
|
|
9
|
-
redirectActionId: PromiseOrValue<BigNumberish>;
|
|
10
|
-
redirectMetadata: PromiseOrValue<BytesLike>;
|
|
11
|
-
actionType: PromiseOrValue<BigNumberish>;
|
|
12
|
-
};
|
|
13
|
-
export type PromiseOrValue<T> = T | Promise<T>;
|
|
14
|
-
export declare class VolatileHelper {
|
|
15
|
-
static getVolatileTokenAction(chainId: number): Contract;
|
|
16
|
-
static getVolatileTokenAddress: (chainId: number, shareAddress: string) => Promise<any>;
|
|
17
|
-
static getShareTokenAddress: (chainId: number, volatileAddress: string) => Promise<string | undefined>;
|
|
18
|
-
static getVolatileTokenBalance: (chainId: number, shareTokenAddress: string, shareValue: bigint, blockNumber?: number) => Promise<bigint>;
|
|
19
|
-
static getShareTokenBalance: (chainId: number, volatileTokenAddress: string, volatileValue: bigint) => Promise<bigint>;
|
|
20
|
-
static processVolatileData: (chainId: number, actionType: VolatileAction, erc20Addresses: string[], amountChanges: bigint[]) => Promise<{
|
|
21
|
-
erc20Addresses: string[];
|
|
22
|
-
amountChanges: bigint[];
|
|
23
|
-
onChainCreation: boolean[];
|
|
24
|
-
}>;
|
|
25
|
-
static decodeVolatileMetadata: (externalActionMetadata: string) => {
|
|
26
|
-
volatileAmounts: BigNumber[];
|
|
27
|
-
redirectActionId: BigNumber;
|
|
28
|
-
volatileAction: VolatileAction | undefined;
|
|
29
|
-
};
|
|
30
|
-
static encodeVolatileActionMetadata: ({ actionType, volatileAmounts, withdrawRecipient, redirectActionId, redirectMetadata, }: Partial<EncodeVolatileActionMetadataProp>) => string;
|
|
31
|
-
static getVolotileMetadata: (actionType: VolatileAction, volatileAmounts: bigint[], recipientAddress?: string, baseExternalActionId?: ExternalActionId | 0n, baseExternalActionMetadata?: string) => {
|
|
32
|
-
actionType: VolatileAction.Deposit;
|
|
33
|
-
volatileAmounts: bigint[];
|
|
34
|
-
withdrawRecipient?: undefined;
|
|
35
|
-
redirectActionId?: undefined;
|
|
36
|
-
redirectMetadata?: undefined;
|
|
37
|
-
} | {
|
|
38
|
-
actionType: VolatileAction.Withdraw;
|
|
39
|
-
volatileAmounts: bigint[];
|
|
40
|
-
withdrawRecipient: string;
|
|
41
|
-
redirectActionId?: undefined;
|
|
42
|
-
redirectMetadata?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
actionType: VolatileAction.Swap;
|
|
45
|
-
volatileAmounts: bigint[];
|
|
46
|
-
redirectActionId: bigint;
|
|
47
|
-
redirectMetadata: string;
|
|
48
|
-
withdrawRecipient?: undefined;
|
|
49
|
-
};
|
|
50
|
-
static getVolatileExternalData: <T extends {
|
|
51
|
-
getContractWithFetcher: (contract: ContractType, contractAddress?: string) => Contract;
|
|
52
|
-
}>(hinkal: T, actionType: VolatileAction, originalAmountChanges: bigint[], recipientAddress?: string, baseExternalActionId?: ExternalActionId | 0n, baseExternalActionMetadata?: string) => Promise<ExternalActionData>;
|
|
53
|
-
static decodeExternalActionId: (decodedTx: DecodedTx | DecodedTx<string, string>) => {
|
|
54
|
-
isVolatile: boolean;
|
|
55
|
-
redirectActionId: BigNumber | undefined;
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './VolatileHelper';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ERC20Token } from '../../types';
|
|
2
|
-
export interface FeeOverTransactionValueErrorData {
|
|
3
|
-
totalFeeWEI: bigint;
|
|
4
|
-
feeUnit: ERC20Token | undefined;
|
|
5
|
-
}
|
|
6
|
-
export declare class FeeOverTransactionValueError extends Error {
|
|
7
|
-
data: FeeOverTransactionValueErrorData;
|
|
8
|
-
constructor(data: FeeOverTransactionValueErrorData);
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ErrorCategory } from '../types';
|
|
2
|
-
import { FeeOverTransactionValueError } from './FeeOverTransactionValueError';
|
|
3
|
-
export declare const getGenericFeeOverTransactionValueErrorMessage: (error: FeeOverTransactionValueError, type?: ErrorCategory) => string;
|
|
4
|
-
/** If the error is a known gas err type, rethrow it, otherwise throw a new Error */
|
|
5
|
-
export declare const rethrowKnownGasErrorIfPossible: (err: unknown, fallbackErrorMsg: string) => never;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
export declare const transactionErrorCodes: {
|
|
2
|
-
SOME_ERROR: string;
|
|
3
|
-
TOO_HIGH_AMOUNT: string;
|
|
4
|
-
INSUFFICIENT_FUNDS: string;
|
|
5
|
-
INSUFFICIENT_FUNDS_WITHDRAW: string;
|
|
6
|
-
INSUFFICIENT_FUNDS_TRANSFER: string;
|
|
7
|
-
INSUFFICIENT_FUNDS_TO_TRANSACT: string;
|
|
8
|
-
INSUFFICIENT_FUNDS_GAS: string;
|
|
9
|
-
NOT_ENOUGH_TOKENS: string;
|
|
10
|
-
TRANSACTION_NOT_CONFIRMED: string;
|
|
11
|
-
RPC_PROVIDER_LIMIT_ERROR: string;
|
|
12
|
-
RELAYER_NOT_AVAILABLE: string;
|
|
13
|
-
TRANSACTION_TIMEOUT: string;
|
|
14
|
-
CONNECT_ERROR: string;
|
|
15
|
-
CONNECT_ERROR2: string;
|
|
16
|
-
USER_REJECTED_TX: string;
|
|
17
|
-
USER_REJECTED_SIGN: string;
|
|
18
|
-
USER_REJECTED_TRANSACTION: string;
|
|
19
|
-
USER_REJECTED_SIGN2: string;
|
|
20
|
-
SIGNING_FAILED: string;
|
|
21
|
-
SIGNATURE_UNSUPPORTED_CHAINS: string;
|
|
22
|
-
SIGNATURE_UNSUPPORTED_CHAINS2: string;
|
|
23
|
-
SIGNATURE_REQUEST_EXPIRED: string;
|
|
24
|
-
SIGNATURE_UNSUPPORTED_PERSONAL_SIGN: string;
|
|
25
|
-
USER_DISAPPROVED_REQUESTED_METHODS: string;
|
|
26
|
-
INVALID_AUTHORIZATION: string;
|
|
27
|
-
INVALID_NULLIFIER: string;
|
|
28
|
-
SANCTIONED_ADDRESS: string;
|
|
29
|
-
INVALID_AMOUNT: string;
|
|
30
|
-
RECIPIENT_FORMAT_INCORRECT: string;
|
|
31
|
-
INVALID_TOKEN: string;
|
|
32
|
-
STATE_TO_UPDATE: string;
|
|
33
|
-
HAS_TOKEN: string;
|
|
34
|
-
INVALID_RECEIVER: string;
|
|
35
|
-
INVALID_RELAYER: string;
|
|
36
|
-
INVALID_RELAYER_FEE: string;
|
|
37
|
-
TIMESTAMP_STALE: string;
|
|
38
|
-
INVALID_ZKP: string;
|
|
39
|
-
NO_TRANSACTIONS_TO_CERTIFY: string;
|
|
40
|
-
UNSUPPORTED_NETWORK: string;
|
|
41
|
-
SIG_BY_OWNER: string;
|
|
42
|
-
AMOUNT_EMPTY: string;
|
|
43
|
-
UNVERIFIED_USER: string;
|
|
44
|
-
RELAYER_ISSUE: string;
|
|
45
|
-
RELAYER_GAS_ESTIMATE: string;
|
|
46
|
-
RECEIVER_EMPTY: string;
|
|
47
|
-
NOT_ETHEREUM_ADDRESS: string;
|
|
48
|
-
NOT_SHIELDED_ADDRESS: string;
|
|
49
|
-
VALID_ETHEREUM_ADDRESS: string;
|
|
50
|
-
METAMASK_NOT_INSTALLED: string;
|
|
51
|
-
VIABLE_TX: string;
|
|
52
|
-
TRANSACTION_REPLACED: string;
|
|
53
|
-
TRANSACTION_REPLACED2: string;
|
|
54
|
-
TRANSACTION_CANCELED: string;
|
|
55
|
-
NONCE_HIGH: string;
|
|
56
|
-
WALLET_CONNECT_MATCHING_KEYS: string;
|
|
57
|
-
UNKNOWN_PROVIDER: string;
|
|
58
|
-
SAFE_ERC: string;
|
|
59
|
-
SAFE_ERC_APPROVE: string;
|
|
60
|
-
SWAP_RELAYER_MIN: string;
|
|
61
|
-
LOW_LEVEL_CALL: string;
|
|
62
|
-
INTEGRAL_CURVE_ZERO: string;
|
|
63
|
-
ODOS_FETCH: string;
|
|
64
|
-
PENDLE_SWAP_FAILED_BELOW_THRESHOLD: string;
|
|
65
|
-
PENDLE_SWAP_TOKENS_UNSUPPORTED: string;
|
|
66
|
-
PENDLE_SWAP_TOKENS_UNSUPPORTED2: string;
|
|
67
|
-
PENDLE_MINIMUM_AMOUNT_NOT_REACHED: string;
|
|
68
|
-
SLIPPAGE_LIMIT: string;
|
|
69
|
-
SLIPPAGE_LIMIT_1: string;
|
|
70
|
-
QUOTE_EXPIRED: string;
|
|
71
|
-
REVERT_NO_STRING: string;
|
|
72
|
-
UNISWAP_NOT_ENOUGH_LIQUIDITY: string;
|
|
73
|
-
CONNECTION_FAILED: string;
|
|
74
|
-
FAILED_TO_SWITCH_NETWORKS: string;
|
|
75
|
-
INVALID_FROM: string;
|
|
76
|
-
INVALID_TO: string;
|
|
77
|
-
Invalid_Password: string;
|
|
78
|
-
INTERNAL_ERROR: string;
|
|
79
|
-
INVALID_MERKLE_ROOT: string;
|
|
80
|
-
ACCESS_TOKEN_INVALID_HASH: string;
|
|
81
|
-
MERLE_TREE_SNARK: string;
|
|
82
|
-
DECIMALS_LIMIT: string;
|
|
83
|
-
MERKLE_TREE_INCOMPLETE: string;
|
|
84
|
-
FAIL_ESTIMATE_GAS: string;
|
|
85
|
-
ODOS_SWAP_FAILED: string;
|
|
86
|
-
ONEINCH_SWAP_FAILED: string;
|
|
87
|
-
GAS_ESTIMATION_ERROR: string;
|
|
88
|
-
GAS_ESTIMATE_INCORRECT_PARAMETERS: string;
|
|
89
|
-
CONNECTIVITY_ERROR: string;
|
|
90
|
-
TRANSACTION_FAILED: string;
|
|
91
|
-
NO_UNISWAP_PRICE: string;
|
|
92
|
-
NO_ODOS_PRICE: string;
|
|
93
|
-
NO_ONEINCH_PRICE: string;
|
|
94
|
-
FEES_OVER_TRANSACTION_VALUE: string;
|
|
95
|
-
GAS_STATION_NOT_AVAILABLE: string;
|
|
96
|
-
INBALANCE_IN_TOKEN: string;
|
|
97
|
-
BALANCE_EQUATION_FAILED: string;
|
|
98
|
-
TOKEN_ADD_ERROR: string;
|
|
99
|
-
CANNOT_ESTIMATE_GAS: string;
|
|
100
|
-
NETWORK_ERROR: string;
|
|
101
|
-
MAX_FEE_GAS_ERROR: string;
|
|
102
|
-
CORS_ERROR: string;
|
|
103
|
-
CANNOT_ESTIMATE_GAS2: string;
|
|
104
|
-
NO_RESPONSE_PRIVATE: string;
|
|
105
|
-
TRY_AGAIN_AFTER_TRANSACTION: string;
|
|
106
|
-
ALREADY_SUBSCRIBED: string;
|
|
107
|
-
PREFERRED_TOKEN_OR_ADDRESS_MISSING: string;
|
|
108
|
-
SNAPSHOT_FILE_NOT_FOUND: string;
|
|
109
|
-
API_KEY_DOES_NOT_MATCH: string;
|
|
110
|
-
SAME_ADDRESS_FORBIDDEN: string;
|
|
111
|
-
NOT_VALID_ETHEREUM_ADDRESS: string;
|
|
112
|
-
MUST_STAKE_AT_LEAST_ONE_ETH: string;
|
|
113
|
-
OUT_OF_MEMORY: string;
|
|
114
|
-
OUT_OF_MEMORY2: string;
|
|
115
|
-
OUT_OF_MEMORY3: string;
|
|
116
|
-
UNKNOWN: string;
|
|
117
|
-
WC_NO_MATCHING_KEY: string;
|
|
118
|
-
CANNOT_CERTIFY_FOR_PAST_WEEK: string;
|
|
119
|
-
ACTIVE_CODE_INVALID: string;
|
|
120
|
-
REFERRE_CANT_USE_OWN: string;
|
|
121
|
-
USER_HAS_ACTIVE_CODE: string;
|
|
122
|
-
SAME_REFERRAL_CODE: string;
|
|
123
|
-
ALREADY_EXISTING_REFERRAL_CODE: string;
|
|
124
|
-
CYCLICAL_REFERRALS_FORBIDDEN: string;
|
|
125
|
-
WRONG_RECEIVING_TOKEN: string;
|
|
126
|
-
INVALID_RECEIVING_ADDRESS: string;
|
|
127
|
-
USER_IS_UNRANKED: string;
|
|
128
|
-
MULTI_VERIFICATION_FAILED: string;
|
|
129
|
-
};
|
|
130
|
-
export declare const UserFriendlyErrorCodes: {
|
|
131
|
-
USER_REJECTED_TRANSACTION: string;
|
|
132
|
-
SOME_ERROR: string;
|
|
133
|
-
TOO_HIGH_AMOUNT: string;
|
|
134
|
-
WC_NO_MATCHING_KEY: string;
|
|
135
|
-
RPC_PROVIDER_LIMIT_ERROR: string;
|
|
136
|
-
INSUFFICIENT_FUNDS_GAS: string;
|
|
137
|
-
INVALID_NULLIFIER: string;
|
|
138
|
-
STATE_TO_UPDATE: string;
|
|
139
|
-
INVALID_ZKP: string;
|
|
140
|
-
NONCE_HIGH: string;
|
|
141
|
-
UNKNOWN_PROVIDER: string;
|
|
142
|
-
TRANSACTION_REPLACED: string;
|
|
143
|
-
TRANSACTION_REPLACED2: string;
|
|
144
|
-
TRANSACTION_TIMEOUT: string;
|
|
145
|
-
SAFE_ERC: string;
|
|
146
|
-
SAFE_ERC_APPROVE: string;
|
|
147
|
-
INTEGRAL_CURVE_ZERO: string;
|
|
148
|
-
LOW_LEVEL_CALL: string;
|
|
149
|
-
ODOS_FETCH: string;
|
|
150
|
-
ODOS_SWAP_FAILED: string;
|
|
151
|
-
ONEINCH_SWAP_FAILED: string;
|
|
152
|
-
PENDLE_SWAP_FAILED_BELOW_THRESHOLD: string;
|
|
153
|
-
PENDLE_SWAP_FAILED: string;
|
|
154
|
-
PENDLE_SWAP_TOKENS_UNSUPPORTED: string;
|
|
155
|
-
PENDLE_SWAP_TOKENS_UNSUPPORTED2: string;
|
|
156
|
-
PENDLE_MINIMUM_AMOUNT_NOT_REACHED: string;
|
|
157
|
-
CONNECT_ERROR2: string;
|
|
158
|
-
WALLET_CONNECT_MATCHING_KEYS: string;
|
|
159
|
-
SIGNATURE_UNSUPPORTED_CHAINS: string;
|
|
160
|
-
SIGNATURE_UNSUPPORTED_CHAINS2: string;
|
|
161
|
-
SIGNATURE_UNSUPPORTED_PERSONAL_SIGN: string;
|
|
162
|
-
REVERT_NO_STRING: string;
|
|
163
|
-
INVALID_MERKLE_ROOT: string;
|
|
164
|
-
MERLE_TREE_SNARK: string;
|
|
165
|
-
MAX_FEE_GAS_ERROR: string;
|
|
166
|
-
MERKLE_TREE_INCOMPLETE: string;
|
|
167
|
-
CORS_ERROR: string;
|
|
168
|
-
NETWORK_ERROR: string;
|
|
169
|
-
CONNECTIVITY_ERROR: string;
|
|
170
|
-
INBALANCE_IN_TOKEN: string;
|
|
171
|
-
BALANCE_EQUATION_FAILED: string;
|
|
172
|
-
SLIPPAGE_LIMIT_1: string;
|
|
173
|
-
CANNOT_ESTIMATE_GAS: string;
|
|
174
|
-
CANNOT_ESTIMATE_GAS2: string;
|
|
175
|
-
GAS_STATION_NOT_AVAILABLE: string;
|
|
176
|
-
TIMESTAMP_STALE: string;
|
|
177
|
-
ALREADY_SUBSCRIBED: string;
|
|
178
|
-
OUT_OF_MEMORY: string;
|
|
179
|
-
OUT_OF_MEMORY2: string;
|
|
180
|
-
OUT_OF_MEMORY3: string;
|
|
181
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './customErrors/FeeOverTransactionValueError';
|
|
2
|
-
export * from './customErrors/customErrors.helpers';
|
|
3
|
-
export * from './error-codes.constants';
|
|
4
|
-
export * from './get-error.message';
|
|
5
|
-
export * from './handleErrorRestore';
|
|
6
|
-
export * from './logError';
|
|
7
|
-
export * from './types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const logError: (...logErr: unknown[]) => void;
|
package/externalABIs/BUSD.d.mts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
inputs: never[];
|
|
3
|
-
payable: boolean;
|
|
4
|
-
stateMutability: string;
|
|
5
|
-
type: string;
|
|
6
|
-
anonymous?: undefined;
|
|
7
|
-
name?: undefined;
|
|
8
|
-
constant?: undefined;
|
|
9
|
-
outputs?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
anonymous: boolean;
|
|
12
|
-
inputs: {
|
|
13
|
-
indexed: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
type: string;
|
|
16
|
-
}[];
|
|
17
|
-
name: string;
|
|
18
|
-
type: string;
|
|
19
|
-
payable?: undefined;
|
|
20
|
-
stateMutability?: undefined;
|
|
21
|
-
constant?: undefined;
|
|
22
|
-
outputs?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
constant: boolean;
|
|
25
|
-
inputs: {
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
name: string;
|
|
30
|
-
outputs: {
|
|
31
|
-
name: string;
|
|
32
|
-
type: string;
|
|
33
|
-
}[];
|
|
34
|
-
payable: boolean;
|
|
35
|
-
stateMutability: string;
|
|
36
|
-
type: string;
|
|
37
|
-
anonymous?: undefined;
|
|
38
|
-
})[];
|
package/externalABIs/DAI.d.mts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
inputs: {
|
|
3
|
-
internalType: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
payable: boolean;
|
|
8
|
-
stateMutability: string;
|
|
9
|
-
type: string;
|
|
10
|
-
anonymous?: undefined;
|
|
11
|
-
name?: undefined;
|
|
12
|
-
constant?: undefined;
|
|
13
|
-
outputs?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
anonymous: boolean;
|
|
16
|
-
inputs: {
|
|
17
|
-
indexed: boolean;
|
|
18
|
-
internalType: string;
|
|
19
|
-
name: string;
|
|
20
|
-
type: string;
|
|
21
|
-
}[];
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
payable?: undefined;
|
|
25
|
-
stateMutability?: undefined;
|
|
26
|
-
constant?: undefined;
|
|
27
|
-
outputs?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
constant: boolean;
|
|
30
|
-
inputs: {
|
|
31
|
-
internalType: string;
|
|
32
|
-
name: string;
|
|
33
|
-
type: string;
|
|
34
|
-
}[];
|
|
35
|
-
name: string;
|
|
36
|
-
outputs: {
|
|
37
|
-
internalType: string;
|
|
38
|
-
name: string;
|
|
39
|
-
type: string;
|
|
40
|
-
}[];
|
|
41
|
-
payable: boolean;
|
|
42
|
-
stateMutability: string;
|
|
43
|
-
type: string;
|
|
44
|
-
anonymous?: undefined;
|
|
45
|
-
})[];
|
package/externalABIs/ERC20.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { abi as ERC20ABI } from '@openzeppelin/contracts/build/contracts/IERC20Metadata.json';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
inputs: never[];
|
|
3
|
-
stateMutability: string;
|
|
4
|
-
type: string;
|
|
5
|
-
anonymous?: undefined;
|
|
6
|
-
name?: undefined;
|
|
7
|
-
outputs?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
anonymous: boolean;
|
|
10
|
-
inputs: {
|
|
11
|
-
indexed: boolean;
|
|
12
|
-
internalType: string;
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
}[];
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
stateMutability?: undefined;
|
|
19
|
-
outputs?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
inputs: {
|
|
22
|
-
internalType: string;
|
|
23
|
-
name: string;
|
|
24
|
-
type: string;
|
|
25
|
-
}[];
|
|
26
|
-
name: string;
|
|
27
|
-
outputs: {
|
|
28
|
-
internalType: string;
|
|
29
|
-
name: string;
|
|
30
|
-
type: string;
|
|
31
|
-
}[];
|
|
32
|
-
stateMutability: string;
|
|
33
|
-
type: string;
|
|
34
|
-
anonymous?: undefined;
|
|
35
|
-
})[];
|
package/externalABIs/USDC.d.mts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
package/externalABIs/USDR.d.mts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
name: string;
|
|
3
|
-
inputs: {
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
indexed: boolean;
|
|
7
|
-
}[];
|
|
8
|
-
anonymous: boolean;
|
|
9
|
-
type: string;
|
|
10
|
-
stateMutability?: undefined;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
gas?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
stateMutability: string;
|
|
15
|
-
type: string;
|
|
16
|
-
inputs: never[];
|
|
17
|
-
outputs: never[];
|
|
18
|
-
name?: undefined;
|
|
19
|
-
anonymous?: undefined;
|
|
20
|
-
gas?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
stateMutability: string;
|
|
23
|
-
type: string;
|
|
24
|
-
name: string;
|
|
25
|
-
inputs: {
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
outputs: {
|
|
30
|
-
name: string;
|
|
31
|
-
type: string;
|
|
32
|
-
}[];
|
|
33
|
-
gas: string;
|
|
34
|
-
anonymous?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
stateMutability: string;
|
|
37
|
-
type: string;
|
|
38
|
-
name: string;
|
|
39
|
-
inputs: {
|
|
40
|
-
name: string;
|
|
41
|
-
type: string;
|
|
42
|
-
}[];
|
|
43
|
-
outputs: {
|
|
44
|
-
name: string;
|
|
45
|
-
type: string;
|
|
46
|
-
}[];
|
|
47
|
-
anonymous?: undefined;
|
|
48
|
-
gas?: undefined;
|
|
49
|
-
})[];
|
package/externalABIs/USDT.d.mts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
constant: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
name: string;
|
|
8
|
-
outputs: {
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
}[];
|
|
12
|
-
payable: boolean;
|
|
13
|
-
stateMutability: string;
|
|
14
|
-
type: string;
|
|
15
|
-
anonymous?: undefined;
|
|
16
|
-
} | {
|
|
17
|
-
inputs: {
|
|
18
|
-
name: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}[];
|
|
21
|
-
payable: boolean;
|
|
22
|
-
stateMutability: string;
|
|
23
|
-
type: string;
|
|
24
|
-
constant?: undefined;
|
|
25
|
-
name?: undefined;
|
|
26
|
-
outputs?: undefined;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
anonymous: boolean;
|
|
30
|
-
inputs: {
|
|
31
|
-
indexed: boolean;
|
|
32
|
-
name: string;
|
|
33
|
-
type: string;
|
|
34
|
-
}[];
|
|
35
|
-
name: string;
|
|
36
|
-
type: string;
|
|
37
|
-
constant?: undefined;
|
|
38
|
-
outputs?: undefined;
|
|
39
|
-
payable?: undefined;
|
|
40
|
-
stateMutability?: undefined;
|
|
41
|
-
})[];
|
package/externalABIs/WETH.d.mts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
constant: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
name: string;
|
|
8
|
-
outputs: {
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
}[];
|
|
12
|
-
payable: boolean;
|
|
13
|
-
stateMutability: string;
|
|
14
|
-
type: string;
|
|
15
|
-
anonymous?: undefined;
|
|
16
|
-
} | {
|
|
17
|
-
payable: boolean;
|
|
18
|
-
stateMutability: string;
|
|
19
|
-
type: string;
|
|
20
|
-
constant?: undefined;
|
|
21
|
-
inputs?: undefined;
|
|
22
|
-
name?: undefined;
|
|
23
|
-
outputs?: undefined;
|
|
24
|
-
anonymous?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
anonymous: boolean;
|
|
27
|
-
inputs: {
|
|
28
|
-
indexed: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
type: string;
|
|
31
|
-
}[];
|
|
32
|
-
name: string;
|
|
33
|
-
type: string;
|
|
34
|
-
constant?: undefined;
|
|
35
|
-
outputs?: undefined;
|
|
36
|
-
payable?: undefined;
|
|
37
|
-
stateMutability?: undefined;
|
|
38
|
-
})[];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const abi: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const crvFRAXABI: ({
|
|
2
|
-
name: string;
|
|
3
|
-
inputs: {
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
indexed: boolean;
|
|
7
|
-
}[];
|
|
8
|
-
anonymous: boolean;
|
|
9
|
-
type: string;
|
|
10
|
-
stateMutability?: undefined;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
gas?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
stateMutability: string;
|
|
15
|
-
type: string;
|
|
16
|
-
inputs: {
|
|
17
|
-
name: string;
|
|
18
|
-
type: string;
|
|
19
|
-
}[];
|
|
20
|
-
outputs: never[];
|
|
21
|
-
name?: undefined;
|
|
22
|
-
anonymous?: undefined;
|
|
23
|
-
gas?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
name: string;
|
|
28
|
-
inputs: {
|
|
29
|
-
name: string;
|
|
30
|
-
type: string;
|
|
31
|
-
}[];
|
|
32
|
-
outputs: {
|
|
33
|
-
name: string;
|
|
34
|
-
type: string;
|
|
35
|
-
}[];
|
|
36
|
-
gas: number;
|
|
37
|
-
anonymous?: undefined;
|
|
38
|
-
})[];
|