@hinkal/common 0.3.2 → 0.3.3
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/README.md +15 -18
- package/common/src/API/API.cjs +1 -1
- package/common/src/API/API.d.ts +5 -5
- package/common/src/API/API.mjs +78 -78
- package/common/src/API/callRelayer.d.ts +3 -0
- package/common/src/API/enclaveUtxoCalls.cjs +1 -1
- package/common/src/API/enclaveUtxoCalls.d.ts +8 -7
- package/common/src/API/enclaveUtxoCalls.mjs +5 -3
- package/common/src/API/getOdosPriceForToken.cjs +1 -0
- package/common/src/API/getOdosPriceForToken.d.ts +1 -0
- package/common/src/API/getOdosPriceForToken.mjs +14 -0
- package/common/src/API/getWebsiteURL.d.ts +0 -1
- package/common/src/API/index.cjs +1 -1
- package/common/src/API/index.d.ts +0 -1
- package/common/src/API/index.mjs +1 -2
- package/common/src/API/rewardsUserCalls.cjs +1 -1
- package/common/src/API/rewardsUserCalls.d.ts +0 -2
- package/common/src/API/rewardsUserCalls.mjs +2 -3
- package/common/src/API/tenderly.api.cjs +1 -1
- package/common/src/API/tenderly.api.d.ts +5 -10
- package/common/src/API/tenderly.api.mjs +1 -1
- package/common/src/constants/addresses.constants.cjs +1 -1
- package/common/src/constants/addresses.constants.d.ts +4 -46
- package/common/src/constants/addresses.constants.mjs +19 -60
- package/common/src/constants/balance.constants.cjs +1 -0
- package/common/src/constants/balance.constants.d.ts +1 -0
- package/common/src/constants/balance.constants.mjs +4 -0
- package/common/src/constants/chains.constants.cjs +1 -1
- package/common/src/constants/chains.constants.d.ts +3 -1
- package/common/src/constants/chains.constants.mjs +117 -131
- package/common/src/constants/coingecko.constants.cjs +1 -1
- package/common/src/constants/coingecko.constants.d.ts +2 -0
- package/common/src/constants/coingecko.constants.mjs +1 -1
- package/common/src/constants/contracts.constants.cjs +1 -1
- package/common/src/constants/contracts.constants.d.ts +0 -109
- package/common/src/constants/contracts.constants.mjs +13 -22
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.mjs +1 -3
- package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.mjs +6 -6
- package/common/src/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-base.json.mjs +1 -3
- package/common/src/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -0
- package/common/src/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +10 -0
- package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.mjs +1 -3
- package/common/src/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-localhost.json.mjs +0 -3
- package/common/src/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-optimism.json.mjs +6 -8
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.mjs +1 -4
- package/common/src/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-polygon.json.mjs +1 -3
- package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +0 -1
- package/common/src/constants/deploy-data/deploy-data-solana.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-solana.json.mjs +2 -2
- package/common/src/constants/deploy-data/deploy-data-tempo.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tempo.json.mjs +6 -7
- package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.mjs +2 -4
- package/common/src/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tronNile.json.mjs +2 -4
- package/common/src/constants/deploy-data/index.cjs +1 -1
- package/common/src/constants/deploy-data/index.d.ts +2 -1
- package/common/src/constants/deploy-data/index.mjs +16 -15
- package/common/src/constants/deploy-data/shared-deploy-data-solana.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-solana.json.mjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-tron.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-tron.json.mjs +2 -35
- package/common/src/constants/events.constants.cjs +1 -1
- package/common/src/constants/events.constants.mjs +3 -2
- package/common/src/constants/fees.constants.cjs +1 -1
- package/common/src/constants/fees.constants.mjs +2 -2
- package/common/src/constants/index.cjs +1 -1
- package/common/src/constants/index.d.ts +0 -1
- package/common/src/constants/index.mjs +1 -0
- package/common/src/constants/protocol.constants.cjs +2 -2
- package/common/src/constants/protocol.constants.d.ts +3 -1
- package/common/src/constants/protocol.constants.mjs +2 -2
- package/common/src/constants/server.constants.cjs +1 -1
- package/common/src/constants/server.constants.d.ts +1 -2
- package/common/src/constants/server.constants.mjs +1 -2
- package/common/src/constants/tokens.constants.cjs +1 -1
- package/common/src/constants/tokens.constants.mjs +1 -1
- package/common/src/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/common/src/data-structures/Hinkal/Hinkal.mjs +26 -22
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.d.ts +1 -1
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.mjs +36 -35
- package/common/src/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalActionReceive.mjs +3 -3
- package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.mjs +60 -58
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.mjs +42 -47
- package/common/src/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDeposit.d.ts +1 -0
- package/common/src/data-structures/Hinkal/hinkalDeposit.mjs +50 -116
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.mjs +102 -92
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +3 -2
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +104 -59
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +4 -4
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.mjs +7 -3
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.mjs +51 -39
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +1 -2
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.mjs +53 -131
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +29 -47
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.mjs +3 -3
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +70 -45
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +2 -2
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.mjs +47 -45
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +8 -4
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +133 -81
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +16 -12
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +2 -2
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +61 -54
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.mjs +87 -51
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +1 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.mjs +95 -50
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +60 -34
- package/common/src/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSwap.mjs +29 -32
- package/common/src/data-structures/Hinkal/hinkalTransact.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalTransact.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalTransact.mjs +90 -0
- package/common/src/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalTransfer.mjs +40 -45
- package/common/src/data-structures/Hinkal/hinkalTronDepositToSelf.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalTronDepositToSelf.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalTronDepositToSelf.mjs +30 -0
- package/common/src/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalWithdraw.mjs +35 -45
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +167 -95
- package/common/src/data-structures/Hinkal/prepareTronDepositToSelf.cjs +1 -0
- package/common/src/data-structures/Hinkal/prepareTronDepositToSelf.d.ts +27 -0
- package/common/src/data-structures/Hinkal/prepareTronDepositToSelf.mjs +31 -0
- package/common/src/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
- package/common/src/data-structures/Hinkal/resetMerkleTrees.mjs +1 -0
- package/common/src/data-structures/IndexedDB/activity-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/activity-db.mjs +34 -34
- package/common/src/data-structures/IndexedDB/signatures-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/signatures-db.mjs +11 -11
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +11 -10
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.mjs +14 -14
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.mjs +26 -26
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.mjs +15 -15
- package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.mjs +12 -16
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.d.ts +1 -0
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.mjs +8 -4
- package/common/src/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
- package/common/src/data-structures/crypto-keys/decodeUTXO.d.ts +1 -0
- package/common/src/data-structures/crypto-keys/decodeUTXO.mjs +12 -12
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.mjs +12 -12
- package/common/src/data-structures/event-service/helpers/ClientEventHelper.cjs +1 -1
- package/common/src/data-structures/event-service/helpers/ClientEventHelper.mjs +6 -6
- package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -1
- package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +27 -23
- package/common/src/data-structures/merkle-tree/MerkleTree.cjs +1 -1
- package/common/src/data-structures/merkle-tree/MerkleTree.d.ts +10 -0
- package/common/src/data-structures/merkle-tree/MerkleTree.mjs +9 -1
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.cjs +1 -1
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.d.ts +3 -0
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.mjs +64 -54
- package/common/src/error-handling/error-codes.constants.cjs +1 -1
- package/common/src/error-handling/error-codes.constants.d.ts +6 -11
- package/common/src/error-handling/error-codes.constants.mjs +8 -13
- package/common/src/error-handling/get-error.message.cjs +1 -1
- package/common/src/error-handling/get-error.message.mjs +27 -14
- package/common/src/externalABIs/index.cjs +1 -1
- package/common/src/externalABIs/index.d.ts +1 -113
- package/common/src/externalABIs/index.mjs +2 -6
- package/common/src/functions/auto-deposit-back-helpers/select-gas-token.cjs +1 -1
- package/common/src/functions/auto-deposit-back-helpers/select-gas-token.mjs +8 -8
- package/common/src/functions/index.cjs +1 -1
- package/common/src/functions/index.d.ts +0 -1
- package/common/src/functions/index.mjs +12 -15
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.cjs +1 -1
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.mjs +39 -5
- package/common/src/functions/pre-transaction/getExternalSwapAddress.cjs +1 -1
- package/common/src/functions/pre-transaction/getExternalSwapAddress.mjs +2 -18
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -1
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.d.ts +1 -1
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.mjs +11 -10
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -1
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.mjs +12 -12
- package/common/src/functions/pre-transaction/index.cjs +1 -1
- package/common/src/functions/pre-transaction/index.d.ts +1 -2
- package/common/src/functions/pre-transaction/index.mjs +1 -2
- package/common/src/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/common/src/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
- package/common/src/functions/pre-transaction/outputUtxoProcessing.mjs +7 -8
- package/common/src/functions/pre-transaction/solana.cjs +1 -1
- package/common/src/functions/pre-transaction/solana.d.ts +13 -0
- package/common/src/functions/pre-transaction/solana.mjs +46 -22
- package/common/src/functions/pre-transaction/store-proof.cjs +1 -1
- package/common/src/functions/pre-transaction/store-proof.d.ts +1 -1
- package/common/src/functions/pre-transaction/store-proof.mjs +1 -0
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.cjs +1 -1
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +1 -1
- package/common/src/functions/private-wallet/emporium.helpers.cjs +1 -1
- package/common/src/functions/private-wallet/emporium.helpers.mjs +12 -13
- package/common/src/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
- package/common/src/functions/private-wallet/emporium.swap.helpers.d.ts +0 -1
- package/common/src/functions/private-wallet/emporium.swap.helpers.mjs +38 -80
- package/common/src/functions/private-wallet/index.cjs +1 -1
- package/common/src/functions/private-wallet/index.d.ts +0 -1
- package/common/src/functions/private-wallet/index.mjs +0 -1
- package/common/src/functions/snarkjs/common.snarkjs.cjs +1 -1
- package/common/src/functions/snarkjs/common.snarkjs.d.ts +2 -2
- package/common/src/functions/snarkjs/common.snarkjs.mjs +89 -52
- package/common/src/functions/snarkjs/constant.cjs +1 -1
- package/common/src/functions/snarkjs/constant.d.ts +32 -0
- package/common/src/functions/snarkjs/constant.mjs +32 -0
- package/common/src/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
- package/common/src/functions/snarkjs/constructGeneralZkProof.mjs +78 -65
- package/common/src/functions/snarkjs/constructSolanaZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/constructSolanaZkProof.d.ts +4 -1
- package/common/src/functions/snarkjs/constructSolanaZkProof.mjs +44 -39
- package/common/src/functions/snarkjs/constructTxEnclave.cjs +1 -0
- package/common/src/functions/snarkjs/constructTxEnclave.d.ts +32 -0
- package/common/src/functions/snarkjs/constructTxEnclave.mjs +162 -0
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.cjs +1 -0
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.d.ts +7 -0
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.mjs +13 -0
- package/common/src/functions/snarkjs/generateCircomData.cjs +1 -1
- package/common/src/functions/snarkjs/generateCircomData.d.ts +1 -1
- package/common/src/functions/snarkjs/generateCircomData.mjs +33 -27
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.d.ts +1 -1
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.mjs +7 -7
- package/common/src/functions/snarkjs/generateZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/generateZkProof.d.ts +1 -1
- package/common/src/functions/snarkjs/generateZkProof.mjs +9 -16
- package/common/src/functions/snarkjs/signedMessageHash.cjs +1 -1
- package/common/src/functions/snarkjs/signedMessageHash.d.ts +11 -0
- package/common/src/functions/snarkjs/signedMessageHash.mjs +21 -3
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.cjs +1 -0
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.d.ts +1 -0
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.mjs +11 -0
- package/common/src/functions/utils/addresses.cjs +1 -1
- package/common/src/functions/utils/addresses.d.ts +1 -0
- package/common/src/functions/utils/addresses.mjs +6 -2
- package/common/src/functions/utils/buildClaimableDepositPlan.d.ts +2 -2
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -1
- package/common/src/functions/utils/deposit-claimable.utils.cjs +1 -1
- package/common/src/functions/utils/deposit-claimable.utils.d.ts +1 -1
- package/common/src/functions/utils/deposit-claimable.utils.mjs +3 -1
- package/common/src/functions/utils/enclave-utxo-storage.cjs +1 -1
- package/common/src/functions/utils/enclave-utxo-storage.mjs +1 -1
- package/common/src/functions/utils/fees.utils.cjs +1 -1
- package/common/src/functions/utils/fees.utils.mjs +31 -31
- package/common/src/functions/utils/formatter.d.ts +1 -0
- package/common/src/functions/utils/getUtxosFromReceipt.utils.cjs +1 -1
- package/common/src/functions/utils/getUtxosFromReceipt.utils.mjs +6 -6
- package/common/src/functions/utils/getUtxosFromReceiptSolana.cjs +1 -1
- package/common/src/functions/utils/getUtxosFromReceiptSolana.mjs +11 -10
- package/common/src/functions/utils/index.cjs +1 -1
- package/common/src/functions/utils/index.d.ts +2 -2
- package/common/src/functions/utils/index.mjs +11 -10
- package/common/src/functions/utils/process.utils.cjs +1 -1
- package/common/src/functions/utils/process.utils.d.ts +0 -1
- package/common/src/functions/utils/process.utils.mjs +2 -11
- package/common/src/functions/utils/publicBalance.utils.cjs +1 -1
- package/common/src/functions/utils/publicBalance.utils.mjs +2 -1
- package/common/src/functions/utils/transfer-claimable.utils.cjs +1 -1
- package/common/src/functions/utils/transfer-claimable.utils.mjs +2 -2
- package/common/src/functions/utils/tron.utils.cjs +1 -1
- package/common/src/functions/utils/tron.utils.d.ts +5 -14
- package/common/src/functions/utils/tron.utils.mjs +91 -127
- package/common/src/functions/utils/waasStamp.cjs +1 -0
- package/common/src/functions/utils/waasStamp.d.ts +5 -0
- package/common/src/functions/utils/waasStamp.mjs +2 -0
- package/common/src/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/common/src/functions/web3/events/getInputUtxoAndBalance.d.ts +3 -8
- package/common/src/functions/web3/events/getInputUtxoAndBalance.mjs +44 -48
- package/common/src/functions/web3/events/getInputUtxosEnclave.cjs +1 -1
- package/common/src/functions/web3/events/getInputUtxosEnclave.d.ts +4 -3
- package/common/src/functions/web3/events/getInputUtxosEnclave.mjs +34 -25
- package/common/src/functions/web3/events/getShieldedBalance.cjs +1 -1
- package/common/src/functions/web3/events/getShieldedBalance.d.ts +1 -1
- package/common/src/functions/web3/events/getShieldedBalance.mjs +88 -76
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -1
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +9 -6
- package/common/src/functions/web3/functionCalls/approveToken.cjs +1 -1
- package/common/src/functions/web3/functionCalls/approveToken.mjs +12 -12
- package/common/src/functions/web3/functionCalls/submitProof.cjs +1 -0
- package/common/src/functions/web3/functionCalls/submitProof.d.ts +5 -0
- package/common/src/functions/web3/functionCalls/submitProof.mjs +26 -0
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -1
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.d.ts +7 -3
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.mjs +81 -87
- package/common/src/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/common/src/functions/web3/functionCalls/transactCallRelayer.d.ts +6 -11
- package/common/src/functions/web3/functionCalls/transactCallRelayer.mjs +4 -2
- package/common/src/functions/web3/functionCalls/waitForErc20Approvals.cjs +1 -1
- package/common/src/functions/web3/functionCalls/waitForErc20Approvals.mjs +6 -6
- package/common/src/functions/web3/getContractMetadata.cjs +1 -1
- package/common/src/functions/web3/getContractMetadata.mjs +1 -1
- package/common/src/functions/web3/getTokenHolder.cjs +1 -1
- package/common/src/functions/web3/getTokenHolder.mjs +3 -2
- package/common/src/functions/web3/index.cjs +1 -1
- package/common/src/functions/web3/index.d.ts +0 -3
- package/common/src/functions/web3/index.mjs +0 -3
- package/common/src/functions/web3/lifiAPI.cjs +1 -1
- package/common/src/functions/web3/lifiAPI.mjs +1 -1
- package/common/src/providers/TronProviderAdapter.cjs +1 -1
- package/common/src/providers/TronProviderAdapter.mjs +7 -1
- package/common/src/providers/WagmiProviderAdapter.cjs +1 -1
- package/common/src/providers/WagmiProviderAdapter.mjs +5 -5
- package/common/src/types/activities.types.cjs +1 -1
- package/common/src/types/activities.types.d.ts +0 -9
- package/common/src/types/activities.types.mjs +1 -1
- package/common/src/types/admin.types.cjs +1 -1
- package/common/src/types/admin.types.d.ts +3 -1
- package/common/src/types/admin.types.mjs +1 -1
- package/common/src/types/bridging-tx.types.d.ts +8 -0
- package/common/src/types/cache.types.cjs +1 -1
- package/common/src/types/cache.types.d.ts +2 -1
- package/common/src/types/cache.types.mjs +1 -1
- package/common/src/types/circom-data.types.d.ts +6 -0
- package/common/src/types/commitments.types.d.ts +2 -0
- package/common/src/types/dashboard-transaction.types.d.ts +3 -0
- package/common/src/types/ethereum-network.types.cjs +1 -1
- package/common/src/types/ethereum-network.types.d.ts +6 -15
- package/common/src/types/ethereum-network.types.mjs +1 -1
- package/common/src/types/external-action.types.cjs +1 -1
- package/common/src/types/external-action.types.d.ts +2 -5
- package/common/src/types/external-action.types.mjs +1 -1
- package/common/src/types/hinkal.types.cjs +1 -1
- package/common/src/types/hinkal.types.d.ts +4 -7
- package/common/src/types/hinkal.types.mjs +1 -1
- package/common/src/types/index.cjs +1 -1
- package/common/src/types/index.d.ts +2 -0
- package/common/src/types/index.mjs +1 -0
- package/common/src/types/near-intents.types.d.ts +1 -0
- package/common/src/types/offscreen.types.cjs +1 -1
- package/common/src/types/offscreen.types.d.ts +0 -1
- package/common/src/types/offscreen.types.mjs +1 -1
- package/common/src/types/pay-activities.types.d.ts +3 -0
- package/common/src/types/remote-proof.types.d.ts +0 -6
- package/common/src/types/remote-tx-build.types.d.ts +242 -0
- package/common/src/types/scheduled-transactions.types.d.ts +3 -0
- package/common/src/types/solana.types.d.ts +7 -0
- package/common/src/types/tenderly.api.types.d.ts +70 -0
- package/common/src/types/transact.types.cjs +1 -0
- package/common/src/types/transact.types.d.ts +53 -0
- package/common/src/types/transact.types.mjs +6 -0
- package/common/src/webworker/{logError-uy41lNp1.js → logError-CxZzSALU.js} +1 -1
- package/common/src/webworker/package.json +12 -12
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/snarkjsWorkerNode.cjs +1 -1
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/utxoWorkerNode.cjs +1 -1
- package/common/src/webworker/viteWorkerURL.constant.cjs +3 -3
- package/common/src/webworker/viteWorkerURL.constant.mjs +3 -3
- package/common/src/webworker/workerProxy-swwPYw6e.js +1 -0
- package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/zkProofWorkerNode.cjs +1 -1
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/internal/swapApi.cjs +1 -1
- package/internal/swapApi.d.ts +3 -3
- package/internal/swapApi.mjs +22 -25
- package/package.json +12 -12
- package/services/Hinkal.cjs +1 -1
- package/services/Hinkal.d.ts +3 -3
- package/services/Hinkal.mjs +7 -7
- package/types/IHinkal.d.ts +3 -3
- package/types/swap.types.d.ts +3 -20
- package/common/src/API/callOdosAPI.cjs +0 -1
- package/common/src/API/callOdosAPI.d.ts +0 -63
- package/common/src/API/callOdosAPI.mjs +0 -18
- package/common/src/API/callOneInchAPI.cjs +0 -1
- package/common/src/API/callOneInchAPI.d.ts +0 -24
- package/common/src/API/callOneInchAPI.mjs +0 -16
- package/common/src/constants/rewards.constants.d.ts +0 -2
- package/common/src/externalABIs/IQuoterV2.json.cjs +0 -1
- package/common/src/externalABIs/IQuoterV2.json.mjs +0 -203
- package/common/src/externalABIs/ISwapRouter.json.cjs +0 -1
- package/common/src/externalABIs/ISwapRouter.json.mjs +0 -537
- package/common/src/externalABIs/IUniswapV3Factory.json.cjs +0 -1
- package/common/src/externalABIs/IUniswapV3Factory.json.mjs +0 -188
- package/common/src/externalABIs/IUniswapV3Pool.json.cjs +0 -1
- package/common/src/externalABIs/IUniswapV3Pool.json.mjs +0 -938
- package/common/src/externalABIs/UniswapV2PoolAbi.json.cjs +0 -1
- package/common/src/externalABIs/UniswapV2PoolAbi.json.mjs +0 -78
- package/common/src/functions/pre-transaction/interaction-to-action.cjs +0 -1
- package/common/src/functions/pre-transaction/interaction-to-action.d.ts +0 -2
- package/common/src/functions/pre-transaction/interaction-to-action.mjs +0 -1
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.cjs +0 -1
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.d.ts +0 -3
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.mjs +0 -30
- package/common/src/functions/private-wallet/opProducer.cjs +0 -1
- package/common/src/functions/private-wallet/opProducer.d.ts +0 -5
- package/common/src/functions/private-wallet/opProducer.mjs +0 -3
- package/common/src/functions/snarkjs/generateZkProofEnclave.cjs +0 -1
- package/common/src/functions/snarkjs/generateZkProofEnclave.d.ts +0 -5
- package/common/src/functions/snarkjs/generateZkProofEnclave.mjs +0 -27
- package/common/src/functions/utils/get-signature-header.cjs +0 -1
- package/common/src/functions/utils/get-signature-header.d.ts +0 -5
- package/common/src/functions/utils/get-signature-header.mjs +0 -4
- package/common/src/functions/web3/odosAPI.cjs +0 -1
- package/common/src/functions/web3/odosAPI.d.ts +0 -5
- package/common/src/functions/web3/odosAPI.mjs +0 -35
- package/common/src/functions/web3/oneInchAPI.cjs +0 -1
- package/common/src/functions/web3/oneInchAPI.d.ts +0 -5
- package/common/src/functions/web3/oneInchAPI.mjs +0 -44
- package/common/src/functions/web3/uniswapAPI.cjs +0 -1
- package/common/src/functions/web3/uniswapAPI.d.ts +0 -16
- package/common/src/functions/web3/uniswapAPI.mjs +0 -60
- package/common/src/webworker/workerProxy-MheXtWa4.js +0 -1
|
@@ -1,537 +0,0 @@
|
|
|
1
|
-
var e = { abi: [
|
|
2
|
-
{
|
|
3
|
-
inputs: [{
|
|
4
|
-
internalType: "address",
|
|
5
|
-
name: "_factory",
|
|
6
|
-
type: "address"
|
|
7
|
-
}, {
|
|
8
|
-
internalType: "address",
|
|
9
|
-
name: "_WETH9",
|
|
10
|
-
type: "address"
|
|
11
|
-
}],
|
|
12
|
-
stateMutability: "nonpayable",
|
|
13
|
-
type: "constructor"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
inputs: [],
|
|
17
|
-
name: "WETH9",
|
|
18
|
-
outputs: [{
|
|
19
|
-
internalType: "address",
|
|
20
|
-
name: "",
|
|
21
|
-
type: "address"
|
|
22
|
-
}],
|
|
23
|
-
stateMutability: "view",
|
|
24
|
-
type: "function"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
inputs: [{
|
|
28
|
-
components: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "bytes",
|
|
31
|
-
name: "path",
|
|
32
|
-
type: "bytes"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "address",
|
|
36
|
-
name: "recipient",
|
|
37
|
-
type: "address"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
internalType: "uint256",
|
|
41
|
-
name: "deadline",
|
|
42
|
-
type: "uint256"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "amountIn",
|
|
47
|
-
type: "uint256"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
internalType: "uint256",
|
|
51
|
-
name: "amountOutMinimum",
|
|
52
|
-
type: "uint256"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
internalType: "struct ISwapRouter.ExactInputParams",
|
|
56
|
-
name: "params",
|
|
57
|
-
type: "tuple"
|
|
58
|
-
}],
|
|
59
|
-
name: "exactInput",
|
|
60
|
-
outputs: [{
|
|
61
|
-
internalType: "uint256",
|
|
62
|
-
name: "amountOut",
|
|
63
|
-
type: "uint256"
|
|
64
|
-
}],
|
|
65
|
-
stateMutability: "payable",
|
|
66
|
-
type: "function"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
inputs: [{
|
|
70
|
-
components: [
|
|
71
|
-
{
|
|
72
|
-
internalType: "address",
|
|
73
|
-
name: "tokenIn",
|
|
74
|
-
type: "address"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
internalType: "address",
|
|
78
|
-
name: "tokenOut",
|
|
79
|
-
type: "address"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
internalType: "uint24",
|
|
83
|
-
name: "fee",
|
|
84
|
-
type: "uint24"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
internalType: "address",
|
|
88
|
-
name: "recipient",
|
|
89
|
-
type: "address"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
internalType: "uint256",
|
|
93
|
-
name: "deadline",
|
|
94
|
-
type: "uint256"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
internalType: "uint256",
|
|
98
|
-
name: "amountIn",
|
|
99
|
-
type: "uint256"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
internalType: "uint256",
|
|
103
|
-
name: "amountOutMinimum",
|
|
104
|
-
type: "uint256"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
internalType: "uint160",
|
|
108
|
-
name: "sqrtPriceLimitX96",
|
|
109
|
-
type: "uint160"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
internalType: "struct ISwapRouter.ExactInputSingleParams",
|
|
113
|
-
name: "params",
|
|
114
|
-
type: "tuple"
|
|
115
|
-
}],
|
|
116
|
-
name: "exactInputSingle",
|
|
117
|
-
outputs: [{
|
|
118
|
-
internalType: "uint256",
|
|
119
|
-
name: "amountOut",
|
|
120
|
-
type: "uint256"
|
|
121
|
-
}],
|
|
122
|
-
stateMutability: "payable",
|
|
123
|
-
type: "function"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
inputs: [{
|
|
127
|
-
components: [
|
|
128
|
-
{
|
|
129
|
-
internalType: "bytes",
|
|
130
|
-
name: "path",
|
|
131
|
-
type: "bytes"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
internalType: "address",
|
|
135
|
-
name: "recipient",
|
|
136
|
-
type: "address"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
internalType: "uint256",
|
|
140
|
-
name: "deadline",
|
|
141
|
-
type: "uint256"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
internalType: "uint256",
|
|
145
|
-
name: "amountOut",
|
|
146
|
-
type: "uint256"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
internalType: "uint256",
|
|
150
|
-
name: "amountInMaximum",
|
|
151
|
-
type: "uint256"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
internalType: "struct ISwapRouter.ExactOutputParams",
|
|
155
|
-
name: "params",
|
|
156
|
-
type: "tuple"
|
|
157
|
-
}],
|
|
158
|
-
name: "exactOutput",
|
|
159
|
-
outputs: [{
|
|
160
|
-
internalType: "uint256",
|
|
161
|
-
name: "amountIn",
|
|
162
|
-
type: "uint256"
|
|
163
|
-
}],
|
|
164
|
-
stateMutability: "payable",
|
|
165
|
-
type: "function"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
inputs: [{
|
|
169
|
-
components: [
|
|
170
|
-
{
|
|
171
|
-
internalType: "address",
|
|
172
|
-
name: "tokenIn",
|
|
173
|
-
type: "address"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
internalType: "address",
|
|
177
|
-
name: "tokenOut",
|
|
178
|
-
type: "address"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
internalType: "uint24",
|
|
182
|
-
name: "fee",
|
|
183
|
-
type: "uint24"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
internalType: "address",
|
|
187
|
-
name: "recipient",
|
|
188
|
-
type: "address"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
internalType: "uint256",
|
|
192
|
-
name: "deadline",
|
|
193
|
-
type: "uint256"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
internalType: "uint256",
|
|
197
|
-
name: "amountOut",
|
|
198
|
-
type: "uint256"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
internalType: "uint256",
|
|
202
|
-
name: "amountInMaximum",
|
|
203
|
-
type: "uint256"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
internalType: "uint160",
|
|
207
|
-
name: "sqrtPriceLimitX96",
|
|
208
|
-
type: "uint160"
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
internalType: "struct ISwapRouter.ExactOutputSingleParams",
|
|
212
|
-
name: "params",
|
|
213
|
-
type: "tuple"
|
|
214
|
-
}],
|
|
215
|
-
name: "exactOutputSingle",
|
|
216
|
-
outputs: [{
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
name: "amountIn",
|
|
219
|
-
type: "uint256"
|
|
220
|
-
}],
|
|
221
|
-
stateMutability: "payable",
|
|
222
|
-
type: "function"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
inputs: [],
|
|
226
|
-
name: "factory",
|
|
227
|
-
outputs: [{
|
|
228
|
-
internalType: "address",
|
|
229
|
-
name: "",
|
|
230
|
-
type: "address"
|
|
231
|
-
}],
|
|
232
|
-
stateMutability: "view",
|
|
233
|
-
type: "function"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
inputs: [{
|
|
237
|
-
internalType: "bytes[]",
|
|
238
|
-
name: "data",
|
|
239
|
-
type: "bytes[]"
|
|
240
|
-
}],
|
|
241
|
-
name: "multicall",
|
|
242
|
-
outputs: [{
|
|
243
|
-
internalType: "bytes[]",
|
|
244
|
-
name: "results",
|
|
245
|
-
type: "bytes[]"
|
|
246
|
-
}],
|
|
247
|
-
stateMutability: "payable",
|
|
248
|
-
type: "function"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
inputs: [],
|
|
252
|
-
name: "refundETH",
|
|
253
|
-
outputs: [],
|
|
254
|
-
stateMutability: "payable",
|
|
255
|
-
type: "function"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
inputs: [
|
|
259
|
-
{
|
|
260
|
-
internalType: "address",
|
|
261
|
-
name: "token",
|
|
262
|
-
type: "address"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
internalType: "uint256",
|
|
266
|
-
name: "value",
|
|
267
|
-
type: "uint256"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
internalType: "uint256",
|
|
271
|
-
name: "deadline",
|
|
272
|
-
type: "uint256"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
internalType: "uint8",
|
|
276
|
-
name: "v",
|
|
277
|
-
type: "uint8"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
internalType: "bytes32",
|
|
281
|
-
name: "r",
|
|
282
|
-
type: "bytes32"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
internalType: "bytes32",
|
|
286
|
-
name: "s",
|
|
287
|
-
type: "bytes32"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
name: "selfPermit",
|
|
291
|
-
outputs: [],
|
|
292
|
-
stateMutability: "payable",
|
|
293
|
-
type: "function"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
inputs: [
|
|
297
|
-
{
|
|
298
|
-
internalType: "address",
|
|
299
|
-
name: "token",
|
|
300
|
-
type: "address"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
internalType: "uint256",
|
|
304
|
-
name: "nonce",
|
|
305
|
-
type: "uint256"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
internalType: "uint256",
|
|
309
|
-
name: "expiry",
|
|
310
|
-
type: "uint256"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
internalType: "uint8",
|
|
314
|
-
name: "v",
|
|
315
|
-
type: "uint8"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
internalType: "bytes32",
|
|
319
|
-
name: "r",
|
|
320
|
-
type: "bytes32"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
internalType: "bytes32",
|
|
324
|
-
name: "s",
|
|
325
|
-
type: "bytes32"
|
|
326
|
-
}
|
|
327
|
-
],
|
|
328
|
-
name: "selfPermitAllowed",
|
|
329
|
-
outputs: [],
|
|
330
|
-
stateMutability: "payable",
|
|
331
|
-
type: "function"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [
|
|
335
|
-
{
|
|
336
|
-
internalType: "address",
|
|
337
|
-
name: "token",
|
|
338
|
-
type: "address"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
internalType: "uint256",
|
|
342
|
-
name: "nonce",
|
|
343
|
-
type: "uint256"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
internalType: "uint256",
|
|
347
|
-
name: "expiry",
|
|
348
|
-
type: "uint256"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
internalType: "uint8",
|
|
352
|
-
name: "v",
|
|
353
|
-
type: "uint8"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
internalType: "bytes32",
|
|
357
|
-
name: "r",
|
|
358
|
-
type: "bytes32"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
internalType: "bytes32",
|
|
362
|
-
name: "s",
|
|
363
|
-
type: "bytes32"
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
name: "selfPermitAllowedIfNecessary",
|
|
367
|
-
outputs: [],
|
|
368
|
-
stateMutability: "payable",
|
|
369
|
-
type: "function"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
inputs: [
|
|
373
|
-
{
|
|
374
|
-
internalType: "address",
|
|
375
|
-
name: "token",
|
|
376
|
-
type: "address"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
internalType: "uint256",
|
|
380
|
-
name: "value",
|
|
381
|
-
type: "uint256"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
internalType: "uint256",
|
|
385
|
-
name: "deadline",
|
|
386
|
-
type: "uint256"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
internalType: "uint8",
|
|
390
|
-
name: "v",
|
|
391
|
-
type: "uint8"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
internalType: "bytes32",
|
|
395
|
-
name: "r",
|
|
396
|
-
type: "bytes32"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
internalType: "bytes32",
|
|
400
|
-
name: "s",
|
|
401
|
-
type: "bytes32"
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
name: "selfPermitIfNecessary",
|
|
405
|
-
outputs: [],
|
|
406
|
-
stateMutability: "payable",
|
|
407
|
-
type: "function"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
inputs: [
|
|
411
|
-
{
|
|
412
|
-
internalType: "address",
|
|
413
|
-
name: "token",
|
|
414
|
-
type: "address"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
internalType: "uint256",
|
|
418
|
-
name: "amountMinimum",
|
|
419
|
-
type: "uint256"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
internalType: "address",
|
|
423
|
-
name: "recipient",
|
|
424
|
-
type: "address"
|
|
425
|
-
}
|
|
426
|
-
],
|
|
427
|
-
name: "sweepToken",
|
|
428
|
-
outputs: [],
|
|
429
|
-
stateMutability: "payable",
|
|
430
|
-
type: "function"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
inputs: [
|
|
434
|
-
{
|
|
435
|
-
internalType: "address",
|
|
436
|
-
name: "token",
|
|
437
|
-
type: "address"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
internalType: "uint256",
|
|
441
|
-
name: "amountMinimum",
|
|
442
|
-
type: "uint256"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
internalType: "address",
|
|
446
|
-
name: "recipient",
|
|
447
|
-
type: "address"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
internalType: "uint256",
|
|
451
|
-
name: "feeBips",
|
|
452
|
-
type: "uint256"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
internalType: "address",
|
|
456
|
-
name: "feeRecipient",
|
|
457
|
-
type: "address"
|
|
458
|
-
}
|
|
459
|
-
],
|
|
460
|
-
name: "sweepTokenWithFee",
|
|
461
|
-
outputs: [],
|
|
462
|
-
stateMutability: "payable",
|
|
463
|
-
type: "function"
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
inputs: [
|
|
467
|
-
{
|
|
468
|
-
internalType: "int256",
|
|
469
|
-
name: "amount0Delta",
|
|
470
|
-
type: "int256"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
internalType: "int256",
|
|
474
|
-
name: "amount1Delta",
|
|
475
|
-
type: "int256"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
internalType: "bytes",
|
|
479
|
-
name: "_data",
|
|
480
|
-
type: "bytes"
|
|
481
|
-
}
|
|
482
|
-
],
|
|
483
|
-
name: "uniswapV3SwapCallback",
|
|
484
|
-
outputs: [],
|
|
485
|
-
stateMutability: "nonpayable",
|
|
486
|
-
type: "function"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
inputs: [{
|
|
490
|
-
internalType: "uint256",
|
|
491
|
-
name: "amountMinimum",
|
|
492
|
-
type: "uint256"
|
|
493
|
-
}, {
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "recipient",
|
|
496
|
-
type: "address"
|
|
497
|
-
}],
|
|
498
|
-
name: "unwrapWETH9",
|
|
499
|
-
outputs: [],
|
|
500
|
-
stateMutability: "payable",
|
|
501
|
-
type: "function"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
inputs: [
|
|
505
|
-
{
|
|
506
|
-
internalType: "uint256",
|
|
507
|
-
name: "amountMinimum",
|
|
508
|
-
type: "uint256"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
internalType: "address",
|
|
512
|
-
name: "recipient",
|
|
513
|
-
type: "address"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
internalType: "uint256",
|
|
517
|
-
name: "feeBips",
|
|
518
|
-
type: "uint256"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
internalType: "address",
|
|
522
|
-
name: "feeRecipient",
|
|
523
|
-
type: "address"
|
|
524
|
-
}
|
|
525
|
-
],
|
|
526
|
-
name: "unwrapWETH9WithFee",
|
|
527
|
-
outputs: [],
|
|
528
|
-
stateMutability: "payable",
|
|
529
|
-
type: "function"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
stateMutability: "payable",
|
|
533
|
-
type: "receive"
|
|
534
|
-
}
|
|
535
|
-
] };
|
|
536
|
-
//#endregion
|
|
537
|
-
export { e as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={_format:`hh-sol-artifact-1`,contractName:`IUniswapV3Factory`,sourceName:`contracts/interfaces/IUniswapV3Factory.sol`,abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:`uint24`,name:`fee`,type:`uint24`},{indexed:!0,internalType:`int24`,name:`tickSpacing`,type:`int24`}],name:`FeeAmountEnabled`,type:`event`},{anonymous:!1,inputs:[{indexed:!0,internalType:`address`,name:`oldOwner`,type:`address`},{indexed:!0,internalType:`address`,name:`newOwner`,type:`address`}],name:`OwnerChanged`,type:`event`},{anonymous:!1,inputs:[{indexed:!0,internalType:`address`,name:`token0`,type:`address`},{indexed:!0,internalType:`address`,name:`token1`,type:`address`},{indexed:!0,internalType:`uint24`,name:`fee`,type:`uint24`},{indexed:!1,internalType:`int24`,name:`tickSpacing`,type:`int24`},{indexed:!1,internalType:`address`,name:`pool`,type:`address`}],name:`PoolCreated`,type:`event`},{inputs:[{internalType:`address`,name:`tokenA`,type:`address`},{internalType:`address`,name:`tokenB`,type:`address`},{internalType:`uint24`,name:`fee`,type:`uint24`}],name:`createPool`,outputs:[{internalType:`address`,name:`pool`,type:`address`}],stateMutability:`nonpayable`,type:`function`},{inputs:[{internalType:`uint24`,name:`fee`,type:`uint24`},{internalType:`int24`,name:`tickSpacing`,type:`int24`}],name:`enableFeeAmount`,outputs:[],stateMutability:`nonpayable`,type:`function`},{inputs:[{internalType:`uint24`,name:`fee`,type:`uint24`}],name:`feeAmountTickSpacing`,outputs:[{internalType:`int24`,name:``,type:`int24`}],stateMutability:`view`,type:`function`},{inputs:[{internalType:`address`,name:`tokenA`,type:`address`},{internalType:`address`,name:`tokenB`,type:`address`},{internalType:`uint24`,name:`fee`,type:`uint24`}],name:`getPool`,outputs:[{internalType:`address`,name:`pool`,type:`address`}],stateMutability:`view`,type:`function`},{inputs:[],name:`owner`,outputs:[{internalType:`address`,name:``,type:`address`}],stateMutability:`view`,type:`function`},{inputs:[{internalType:`address`,name:`_owner`,type:`address`}],name:`setOwner`,outputs:[],stateMutability:`nonpayable`,type:`function`}],bytecode:`0x`,deployedBytecode:`0x`,linkReferences:{},deployedLinkReferences:{}};exports.default=e;
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
var e = {
|
|
2
|
-
_format: "hh-sol-artifact-1",
|
|
3
|
-
contractName: "IUniswapV3Factory",
|
|
4
|
-
sourceName: "contracts/interfaces/IUniswapV3Factory.sol",
|
|
5
|
-
abi: [
|
|
6
|
-
{
|
|
7
|
-
anonymous: !1,
|
|
8
|
-
inputs: [{
|
|
9
|
-
indexed: !0,
|
|
10
|
-
internalType: "uint24",
|
|
11
|
-
name: "fee",
|
|
12
|
-
type: "uint24"
|
|
13
|
-
}, {
|
|
14
|
-
indexed: !0,
|
|
15
|
-
internalType: "int24",
|
|
16
|
-
name: "tickSpacing",
|
|
17
|
-
type: "int24"
|
|
18
|
-
}],
|
|
19
|
-
name: "FeeAmountEnabled",
|
|
20
|
-
type: "event"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
anonymous: !1,
|
|
24
|
-
inputs: [{
|
|
25
|
-
indexed: !0,
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "oldOwner",
|
|
28
|
-
type: "address"
|
|
29
|
-
}, {
|
|
30
|
-
indexed: !0,
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "newOwner",
|
|
33
|
-
type: "address"
|
|
34
|
-
}],
|
|
35
|
-
name: "OwnerChanged",
|
|
36
|
-
type: "event"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: !1,
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
indexed: !0,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "token0",
|
|
45
|
-
type: "address"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: !0,
|
|
49
|
-
internalType: "address",
|
|
50
|
-
name: "token1",
|
|
51
|
-
type: "address"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
indexed: !0,
|
|
55
|
-
internalType: "uint24",
|
|
56
|
-
name: "fee",
|
|
57
|
-
type: "uint24"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
indexed: !1,
|
|
61
|
-
internalType: "int24",
|
|
62
|
-
name: "tickSpacing",
|
|
63
|
-
type: "int24"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
indexed: !1,
|
|
67
|
-
internalType: "address",
|
|
68
|
-
name: "pool",
|
|
69
|
-
type: "address"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
name: "PoolCreated",
|
|
73
|
-
type: "event"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
inputs: [
|
|
77
|
-
{
|
|
78
|
-
internalType: "address",
|
|
79
|
-
name: "tokenA",
|
|
80
|
-
type: "address"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "tokenB",
|
|
85
|
-
type: "address"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
internalType: "uint24",
|
|
89
|
-
name: "fee",
|
|
90
|
-
type: "uint24"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
name: "createPool",
|
|
94
|
-
outputs: [{
|
|
95
|
-
internalType: "address",
|
|
96
|
-
name: "pool",
|
|
97
|
-
type: "address"
|
|
98
|
-
}],
|
|
99
|
-
stateMutability: "nonpayable",
|
|
100
|
-
type: "function"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
inputs: [{
|
|
104
|
-
internalType: "uint24",
|
|
105
|
-
name: "fee",
|
|
106
|
-
type: "uint24"
|
|
107
|
-
}, {
|
|
108
|
-
internalType: "int24",
|
|
109
|
-
name: "tickSpacing",
|
|
110
|
-
type: "int24"
|
|
111
|
-
}],
|
|
112
|
-
name: "enableFeeAmount",
|
|
113
|
-
outputs: [],
|
|
114
|
-
stateMutability: "nonpayable",
|
|
115
|
-
type: "function"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
inputs: [{
|
|
119
|
-
internalType: "uint24",
|
|
120
|
-
name: "fee",
|
|
121
|
-
type: "uint24"
|
|
122
|
-
}],
|
|
123
|
-
name: "feeAmountTickSpacing",
|
|
124
|
-
outputs: [{
|
|
125
|
-
internalType: "int24",
|
|
126
|
-
name: "",
|
|
127
|
-
type: "int24"
|
|
128
|
-
}],
|
|
129
|
-
stateMutability: "view",
|
|
130
|
-
type: "function"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
inputs: [
|
|
134
|
-
{
|
|
135
|
-
internalType: "address",
|
|
136
|
-
name: "tokenA",
|
|
137
|
-
type: "address"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
internalType: "address",
|
|
141
|
-
name: "tokenB",
|
|
142
|
-
type: "address"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
internalType: "uint24",
|
|
146
|
-
name: "fee",
|
|
147
|
-
type: "uint24"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
name: "getPool",
|
|
151
|
-
outputs: [{
|
|
152
|
-
internalType: "address",
|
|
153
|
-
name: "pool",
|
|
154
|
-
type: "address"
|
|
155
|
-
}],
|
|
156
|
-
stateMutability: "view",
|
|
157
|
-
type: "function"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
inputs: [],
|
|
161
|
-
name: "owner",
|
|
162
|
-
outputs: [{
|
|
163
|
-
internalType: "address",
|
|
164
|
-
name: "",
|
|
165
|
-
type: "address"
|
|
166
|
-
}],
|
|
167
|
-
stateMutability: "view",
|
|
168
|
-
type: "function"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
inputs: [{
|
|
172
|
-
internalType: "address",
|
|
173
|
-
name: "_owner",
|
|
174
|
-
type: "address"
|
|
175
|
-
}],
|
|
176
|
-
name: "setOwner",
|
|
177
|
-
outputs: [],
|
|
178
|
-
stateMutability: "nonpayable",
|
|
179
|
-
type: "function"
|
|
180
|
-
}
|
|
181
|
-
],
|
|
182
|
-
bytecode: "0x",
|
|
183
|
-
deployedBytecode: "0x",
|
|
184
|
-
linkReferences: {},
|
|
185
|
-
deployedLinkReferences: {}
|
|
186
|
-
};
|
|
187
|
-
//#endregion
|
|
188
|
-
export { e as default };
|