@hinkal/common 0.3.1 → 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 +12 -37
- package/common/src/API/API.mjs +80 -105
- package/common/src/API/callRelayer.d.ts +3 -0
- package/common/src/API/dashboardAccountMemberCalls.cjs +1 -1
- package/common/src/API/dashboardAccountMemberCalls.d.ts +15 -0
- package/common/src/API/dashboardAccountMemberCalls.mjs +5 -2
- package/common/src/API/dashboardPayoutCalls.cjs +1 -1
- package/common/src/API/dashboardPayoutCalls.d.ts +2 -1
- package/common/src/API/dashboardPayoutCalls.mjs +4 -1
- package/common/src/API/enclaveUtxoCalls.cjs +1 -1
- package/common/src/API/enclaveUtxoCalls.d.ts +17 -8
- 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 +1 -3
- package/common/src/API/index.cjs +1 -1
- package/common/src/API/index.d.ts +1 -3
- package/common/src/API/index.mjs +3 -5
- package/common/src/API/payoutNotificationStateCalls.cjs +1 -0
- package/common/src/API/payoutNotificationStateCalls.d.ts +10 -0
- package/common/src/API/payoutNotificationStateCalls.mjs +10 -0
- package/common/src/API/proxyAccountsCalls.cjs +1 -1
- package/common/src/API/proxyAccountsCalls.d.ts +2 -3
- package/common/src/API/proxyAccountsCalls.mjs +11 -10
- package/common/src/API/rewardsUserCalls.cjs +1 -1
- package/common/src/API/rewardsUserCalls.d.ts +1 -40
- package/common/src/API/rewardsUserCalls.mjs +2 -10
- package/common/src/API/scheduled-transactions-calls.d.ts +1 -0
- package/common/src/API/temporaryWalletCalls.cjs +1 -1
- package/common/src/API/temporaryWalletCalls.mjs +8 -8
- 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/API/weeklyAnalyticCalls.cjs +1 -1
- package/common/src/API/weeklyAnalyticCalls.d.ts +1 -11
- package/common/src/API/weeklyAnalyticCalls.mjs +2 -5
- 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 -138
- 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 +9 -31
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.mjs +6 -9
- 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 +6 -9
- 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 +6 -9
- 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 -9
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.mjs +5 -9
- package/common/src/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-polygon.json.mjs +6 -9
- 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-evm.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-evm.json.mjs +19 -45
- 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 -46
- package/common/src/constants/enclaveAuth.constants.d.ts +5 -0
- 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 +1 -3
- package/common/src/constants/index.mjs +1 -1
- package/common/src/constants/mediaUrls.constants.d.ts +0 -1
- package/common/src/constants/pay.constants.d.ts +1 -0
- package/common/src/constants/protocol.constants.cjs +2 -1
- package/common/src/constants/protocol.constants.d.ts +10 -6
- package/common/src/constants/protocol.constants.mjs +4 -11
- package/common/src/constants/server.constants.cjs +1 -1
- package/common/src/constants/server.constants.d.ts +6 -30
- package/common/src/constants/server.constants.mjs +11 -43
- package/common/src/constants/tokens.constants.cjs +1 -1
- package/common/src/constants/tokens.constants.mjs +1 -1
- package/common/src/crypto/ecdh.cjs +1 -1
- package/common/src/crypto/ecdh.mjs +2 -9
- package/common/src/crypto/index.cjs +1 -1
- package/common/src/crypto/index.mjs +1 -1
- package/common/src/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/common/src/data-structures/Hinkal/Hinkal.d.ts +4 -8
- package/common/src/data-structures/Hinkal/Hinkal.mjs +88 -100
- package/common/src/data-structures/Hinkal/IHinkal.d.ts +5 -9
- 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 +24 -23
- 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 +59 -57
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.mjs +42 -50
- 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 -119
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.mjs +108 -100
- 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 +105 -64
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +33 -43
- 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/hinkalPalEvmDeposit.d.ts +1 -1
- package/common/src/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +2 -2
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.mjs +50 -38
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +2 -3
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.mjs +52 -117
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +26 -32
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.mjs +6 -6
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +71 -51
- 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 -51
- 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 +155 -102
- 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 +97 -52
- 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 +39 -44
- 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 -49
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +170 -101
- package/common/src/data-structures/Hinkal/index.d.ts +0 -1
- 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 +5 -4
- package/common/src/data-structures/IndexedDB/contact-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/contact-db.d.ts +0 -1
- package/common/src/data-structures/IndexedDB/contact-db.mjs +14 -28
- package/common/src/data-structures/IndexedDB/key-val-store.cjs +1 -1
- package/common/src/data-structures/IndexedDB/key-val-store.d.ts +2 -0
- package/common/src/data-structures/IndexedDB/key-val-store.mjs +14 -0
- package/common/src/data-structures/IndexedDB/private-balances-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/private-balances-db.d.ts +1 -0
- package/common/src/data-structures/IndexedDB/private-balances-db.mjs +3 -0
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +25 -25
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +15 -14
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.mjs +7 -7
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.mjs +30 -30
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.mjs +6 -6
- 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 +22 -18
- package/common/src/data-structures/WalletManager/WalletManager.d.ts +1 -0
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.cjs +1 -1
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.d.ts +1 -0
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.mjs +3 -0
- package/common/src/data-structures/cacheDevices/FileCacheDevice.cjs +1 -1
- package/common/src/data-structures/cacheDevices/FileCacheDevice.d.ts +3 -0
- package/common/src/data-structures/cacheDevices/FileCacheDevice.mjs +12 -3
- package/common/src/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
- package/common/src/data-structures/crypto-keys/decodeUTXO.d.ts +9 -9
- package/common/src/data-structures/crypto-keys/decodeUTXO.mjs +37 -47
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.d.ts +2 -3
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.mjs +26 -22
- package/common/src/data-structures/crypto-keys/keys.cjs +1 -1
- package/common/src/data-structures/crypto-keys/keys.d.ts +12 -27
- package/common/src/data-structures/crypto-keys/keys.mjs +61 -79
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +1 -2
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.mjs +14 -20
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.cjs +1 -1
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +1 -1
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +2 -2
- 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 +29 -19
- package/common/src/data-structures/provider-adapter/IProviderAdapter.d.ts +0 -1
- package/common/src/data-structures/utxo/Utxo.cjs +1 -1
- package/common/src/data-structures/utxo/Utxo.d.ts +1 -4
- package/common/src/data-structures/utxo/Utxo.mjs +7 -17
- package/common/src/error-handling/error-codes.constants.cjs +2 -2
- package/common/src/error-handling/error-codes.constants.d.ts +6 -14
- package/common/src/error-handling/error-codes.constants.mjs +21 -31
- 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/error-handling/index.cjs +1 -1
- package/common/src/error-handling/index.d.ts +1 -0
- package/common/src/error-handling/index.mjs +1 -0
- 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/index.cjs +1 -1
- package/common/src/functions/index.d.ts +0 -1
- package/common/src/functions/index.mjs +13 -16
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.cjs +1 -1
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.mjs +36 -38
- 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 +9 -12
- package/common/src/functions/pre-transaction/solana-public-signals.d.ts +1 -0
- 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 -21
- 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.d.ts +1 -2
- package/common/src/functions/private-wallet/emporium.helpers.mjs +75 -50
- 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 +34 -76
- 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 +3 -4
- package/common/src/functions/snarkjs/common.snarkjs.mjs +97 -62
- package/common/src/functions/snarkjs/constant.cjs +1 -1
- package/common/src/functions/snarkjs/constant.d.ts +183 -144
- package/common/src/functions/snarkjs/constant.mjs +183 -145
- 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 +69 -57
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.cjs +1 -0
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.d.ts +7 -0
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.mjs +2 -0
- 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 +63 -62
- 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/fetchMerkleTreeSiblings.d.ts +1 -3
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -1
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.d.ts +1 -0
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.mjs +14 -5
- 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 +41 -31
- 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/generateSignatureFromMnemonicProof.cjs +1 -0
- package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.d.ts +2 -0
- package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.mjs +3 -0
- 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/getMerkleTreeSiblingsAndRootHashes.cjs +1 -1
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +2 -0
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +18 -12
- package/common/src/functions/snarkjs/getZKFiles.cjs +1 -1
- package/common/src/functions/snarkjs/getZKFiles.mjs +9 -3
- package/common/src/functions/snarkjs/index.cjs +1 -1
- package/common/src/functions/snarkjs/index.d.ts +2 -0
- package/common/src/functions/snarkjs/index.mjs +2 -0
- package/common/src/functions/snarkjs/signedMessageHash.cjs +1 -1
- package/common/src/functions/snarkjs/signedMessageHash.d.ts +12 -0
- package/common/src/functions/snarkjs/signedMessageHash.mjs +23 -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 -1
- package/common/src/functions/utils/addresses.mjs +13 -12
- package/common/src/functions/utils/bridge-flow.utils.d.ts +1 -1
- package/common/src/functions/utils/buildClaimableDepositPlan.d.ts +3 -2
- package/common/src/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -1
- package/common/src/functions/utils/convertEmporiumOpToCallInfo.mjs +5 -10
- 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.d.ts +3 -0
- package/common/src/functions/utils/enclave-utxo-storage.mjs +1 -1
- package/common/src/functions/utils/enclaveSessionSigning.cjs +1 -0
- package/common/src/functions/utils/enclaveSessionSigning.d.ts +16 -0
- package/common/src/functions/utils/enclaveSessionSigning.mjs +2 -0
- package/common/src/functions/utils/encodeTokenWithId.cjs +1 -1
- package/common/src/functions/utils/encodeTokenWithId.d.ts +1 -2
- package/common/src/functions/utils/encodeTokenWithId.mjs +2 -5
- package/common/src/functions/utils/fees.utils.cjs +1 -1
- package/common/src/functions/utils/fees.utils.d.ts +1 -0
- package/common/src/functions/utils/fees.utils.mjs +32 -28
- package/common/src/functions/utils/formatter.d.ts +1 -0
- package/common/src/functions/utils/getDataFromTransaction.d.ts +4 -3
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.mjs +2 -3
- 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 +17 -18
- package/common/src/functions/utils/index.cjs +1 -1
- package/common/src/functions/utils/index.d.ts +7 -3
- package/common/src/functions/utils/index.mjs +16 -11
- package/common/src/functions/utils/legacyKeys.cjs +1 -0
- package/common/src/functions/utils/legacyKeys.d.ts +10 -0
- package/common/src/functions/utils/legacyKeys.mjs +8 -0
- package/common/src/functions/utils/mnemonics.cjs +1 -1
- package/common/src/functions/utils/mnemonics.mjs +4 -6
- package/common/src/functions/utils/nearIntents.utils.cjs +1 -1
- package/common/src/functions/utils/nearIntents.utils.mjs +1 -1
- package/common/src/functions/utils/networks.utils.d.ts +1 -0
- package/common/src/functions/utils/prepareHinkal.cjs +1 -1
- package/common/src/functions/utils/prepareHinkal.d.ts +1 -3
- package/common/src/functions/utils/prepareHinkal.mjs +2 -1
- 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/resolve-domain-address.cjs +1 -0
- package/common/src/functions/utils/resolve-domain-address.d.ts +4 -0
- package/common/src/functions/utils/resolve-domain-address.mjs +3 -0
- package/common/src/functions/utils/serialize-utxos.utils.cjs +1 -1
- package/common/src/functions/utils/serialize-utxos.utils.mjs +6 -4
- 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 -142
- package/common/src/functions/utils/validateWalletAddress.cjs +1 -0
- package/common/src/functions/utils/validateWalletAddress.d.ts +1 -0
- package/common/src/functions/utils/validateWalletAddress.mjs +2 -0
- package/common/src/functions/utils/voidWallets.utils.cjs +1 -0
- package/common/src/functions/utils/voidWallets.utils.d.ts +4 -0
- package/common/src/functions/utils/voidWallets.utils.mjs +1 -0
- 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/etherFunctions.d.ts +1 -0
- package/common/src/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/common/src/functions/web3/events/getInputUtxoAndBalance.d.ts +5 -12
- package/common/src/functions/web3/events/getInputUtxoAndBalance.mjs +50 -61
- 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 +2 -2
- package/common/src/functions/web3/events/getShieldedBalance.mjs +89 -85
- 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.d.ts +1 -1
- package/common/src/functions/web3/functionCalls/approveToken.mjs +21 -107
- package/common/src/functions/web3/functionCalls/constructBatchCall.cjs +1 -1
- package/common/src/functions/web3/functionCalls/constructBatchCall.d.ts +2 -2
- package/common/src/functions/web3/functionCalls/constructBatchCall.mjs +23 -18
- 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 -53
- 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/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/EthersProviderAdapter.cjs +1 -1
- package/common/src/providers/EthersProviderAdapter.d.ts +0 -1
- package/common/src/providers/EthersProviderAdapter.mjs +0 -3
- package/common/src/providers/SolanaProviderAdapter.cjs +1 -1
- package/common/src/providers/SolanaProviderAdapter.d.ts +0 -1
- package/common/src/providers/SolanaProviderAdapter.mjs +0 -3
- package/common/src/providers/TronProviderAdapter.cjs +1 -1
- package/common/src/providers/TronProviderAdapter.d.ts +0 -1
- package/common/src/providers/TronProviderAdapter.mjs +7 -4
- package/common/src/providers/WagmiProviderAdapter.cjs +1 -1
- package/common/src/providers/WagmiProviderAdapter.d.ts +0 -1
- package/common/src/providers/WagmiProviderAdapter.mjs +0 -4
- package/common/src/types/API.types.d.ts +0 -4
- package/common/src/types/WeeklyAnalytics.types.d.ts +1 -26
- 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 +3 -2
- package/common/src/types/cache.types.mjs +1 -1
- package/common/src/types/circom-data.types.cjs +1 -1
- package/common/src/types/circom-data.types.d.ts +32 -27
- package/common/src/types/circom-data.types.mjs +1 -1
- package/common/src/types/commitments.types.d.ts +2 -0
- package/common/src/types/dashboard-account.d.ts +15 -0
- package/common/src/types/dashboard-payout.types.d.ts +1 -0
- package/common/src/types/dashboard-transaction.types.d.ts +3 -0
- package/common/src/types/enclaveApi.types.d.ts +78 -0
- package/common/src/types/ethereum-network.types.cjs +1 -1
- package/common/src/types/ethereum-network.types.d.ts +8 -27
- 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 +4 -8
- 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 +12 -29
- package/common/src/types/hinkal.types.mjs +12 -20
- package/common/src/types/index.cjs +1 -1
- package/common/src/types/index.d.ts +5 -5
- package/common/src/types/index.mjs +1 -1
- package/common/src/types/near-intents.types.d.ts +1 -0
- package/common/src/types/new-rewards.type.d.ts +0 -70
- 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/payout-notification.types.d.ts +11 -0
- package/common/src/types/proxy-progress.types.d.ts +5 -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/snark.types.d.ts +1 -3
- 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/token.types.cjs +1 -1
- package/common/src/types/token.types.mjs +1 -3
- 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/types/transaction.types.d.ts +0 -1
- package/common/src/types/transactions.types.d.ts +0 -1
- package/common/src/webworker/logError-CxZzSALU.js +2 -0
- 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 +4 -5
- package/services/Hinkal.mjs +11 -14
- package/types/IHinkal.d.ts +4 -5
- package/types/swap.types.d.ts +3 -20
- package/common/src/API/accessCodeCalls.cjs +0 -1
- package/common/src/API/accessCodeCalls.d.ts +0 -23
- package/common/src/API/accessCodeCalls.mjs +0 -13
- package/common/src/API/brotherhoodCalls.cjs +0 -1
- package/common/src/API/brotherhoodCalls.d.ts +0 -82
- package/common/src/API/brotherhoodCalls.mjs +0 -17
- 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 -18
- package/common/src/API/callOneInchAPI.mjs +0 -13
- package/common/src/API/generate-trading-points.cjs +0 -1
- package/common/src/API/generate-trading-points.d.ts +0 -27
- package/common/src/API/generate-trading-points.mjs +0 -23
- package/common/src/API/leaderboardCalls.cjs +0 -1
- package/common/src/API/leaderboardCalls.d.ts +0 -14
- package/common/src/API/leaderboardCalls.mjs +0 -8
- package/common/src/API/referralsCalls.cjs +0 -1
- package/common/src/API/referralsCalls.d.ts +0 -22
- package/common/src/API/referralsCalls.mjs +0 -11
- package/common/src/API/send-telegram-callback.cjs +0 -1
- package/common/src/API/send-telegram-callback.d.ts +0 -7
- package/common/src/API/send-telegram-callback.mjs +0 -11
- package/common/src/constants/mystery-boxes.constants.d.ts +0 -0
- package/common/src/constants/price-impact.constants.d.ts +0 -2
- package/common/src/constants/rewards.constants.d.ts +0 -15
- package/common/src/constants/tasks.constants.cjs +0 -1
- package/common/src/constants/tasks.constants.d.ts +0 -9
- package/common/src/constants/tasks.constants.mjs +0 -124
- package/common/src/data-structures/Hinkal/hinkalMultiSend.cjs +0 -1
- package/common/src/data-structures/Hinkal/hinkalMultiSend.d.ts +0 -3
- package/common/src/data-structures/Hinkal/hinkalMultiSend.mjs +0 -12
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.cjs +0 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.d.ts +0 -6
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.mjs +0 -128
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.cjs +0 -1
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.d.ts +0 -22
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs +0 -34
- 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 -32
- 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/bit.operations.cjs +0 -1
- package/common/src/functions/utils/bit.operations.d.ts +0 -3
- package/common/src/functions/utils/bit.operations.mjs +0 -4
- 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 -34
- 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/types/brotherhood-user.types.d.ts +0 -11
- package/common/src/types/crypto.types.d.ts +0 -8
- package/common/src/types/generatePoints.d.ts +0 -14
- package/common/src/types/new-rewards.type.cjs +0 -1
- package/common/src/types/new-rewards.type.mjs +0 -10
- package/common/src/types/referral.types.d.ts +0 -12
- package/common/src/types/rewards.types.d.ts +0 -34
- package/common/src/types/token-with-id.types.d.ts +0 -4
- package/common/src/webworker/logError-BR5TJP6T.js +0 -2
- package/common/src/webworker/workerProxy-Ddzxn23N.js +0 -1
|
@@ -1,938 +0,0 @@
|
|
|
1
|
-
var e = {
|
|
2
|
-
_format: "hh-sol-artifact-1",
|
|
3
|
-
contractName: "IUniswapV3Pool",
|
|
4
|
-
sourceName: "contracts/interfaces/IUniswapV3Pool.sol",
|
|
5
|
-
abi: [
|
|
6
|
-
{
|
|
7
|
-
anonymous: !1,
|
|
8
|
-
inputs: [
|
|
9
|
-
{
|
|
10
|
-
indexed: !0,
|
|
11
|
-
internalType: "address",
|
|
12
|
-
name: "owner",
|
|
13
|
-
type: "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
indexed: !0,
|
|
17
|
-
internalType: "int24",
|
|
18
|
-
name: "tickLower",
|
|
19
|
-
type: "int24"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
indexed: !0,
|
|
23
|
-
internalType: "int24",
|
|
24
|
-
name: "tickUpper",
|
|
25
|
-
type: "int24"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
indexed: !1,
|
|
29
|
-
internalType: "uint128",
|
|
30
|
-
name: "amount",
|
|
31
|
-
type: "uint128"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
indexed: !1,
|
|
35
|
-
internalType: "uint256",
|
|
36
|
-
name: "amount0",
|
|
37
|
-
type: "uint256"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
indexed: !1,
|
|
41
|
-
internalType: "uint256",
|
|
42
|
-
name: "amount1",
|
|
43
|
-
type: "uint256"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
name: "Burn",
|
|
47
|
-
type: "event"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
anonymous: !1,
|
|
51
|
-
inputs: [
|
|
52
|
-
{
|
|
53
|
-
indexed: !0,
|
|
54
|
-
internalType: "address",
|
|
55
|
-
name: "owner",
|
|
56
|
-
type: "address"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
indexed: !1,
|
|
60
|
-
internalType: "address",
|
|
61
|
-
name: "recipient",
|
|
62
|
-
type: "address"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
indexed: !0,
|
|
66
|
-
internalType: "int24",
|
|
67
|
-
name: "tickLower",
|
|
68
|
-
type: "int24"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
indexed: !0,
|
|
72
|
-
internalType: "int24",
|
|
73
|
-
name: "tickUpper",
|
|
74
|
-
type: "int24"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
indexed: !1,
|
|
78
|
-
internalType: "uint128",
|
|
79
|
-
name: "amount0",
|
|
80
|
-
type: "uint128"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
indexed: !1,
|
|
84
|
-
internalType: "uint128",
|
|
85
|
-
name: "amount1",
|
|
86
|
-
type: "uint128"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
name: "Collect",
|
|
90
|
-
type: "event"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
anonymous: !1,
|
|
94
|
-
inputs: [
|
|
95
|
-
{
|
|
96
|
-
indexed: !0,
|
|
97
|
-
internalType: "address",
|
|
98
|
-
name: "sender",
|
|
99
|
-
type: "address"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
indexed: !0,
|
|
103
|
-
internalType: "address",
|
|
104
|
-
name: "recipient",
|
|
105
|
-
type: "address"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
indexed: !1,
|
|
109
|
-
internalType: "uint128",
|
|
110
|
-
name: "amount0",
|
|
111
|
-
type: "uint128"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
indexed: !1,
|
|
115
|
-
internalType: "uint128",
|
|
116
|
-
name: "amount1",
|
|
117
|
-
type: "uint128"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
name: "CollectProtocol",
|
|
121
|
-
type: "event"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
anonymous: !1,
|
|
125
|
-
inputs: [
|
|
126
|
-
{
|
|
127
|
-
indexed: !0,
|
|
128
|
-
internalType: "address",
|
|
129
|
-
name: "sender",
|
|
130
|
-
type: "address"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
indexed: !0,
|
|
134
|
-
internalType: "address",
|
|
135
|
-
name: "recipient",
|
|
136
|
-
type: "address"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
indexed: !1,
|
|
140
|
-
internalType: "uint256",
|
|
141
|
-
name: "amount0",
|
|
142
|
-
type: "uint256"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
indexed: !1,
|
|
146
|
-
internalType: "uint256",
|
|
147
|
-
name: "amount1",
|
|
148
|
-
type: "uint256"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
indexed: !1,
|
|
152
|
-
internalType: "uint256",
|
|
153
|
-
name: "paid0",
|
|
154
|
-
type: "uint256"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
indexed: !1,
|
|
158
|
-
internalType: "uint256",
|
|
159
|
-
name: "paid1",
|
|
160
|
-
type: "uint256"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
name: "Flash",
|
|
164
|
-
type: "event"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
anonymous: !1,
|
|
168
|
-
inputs: [{
|
|
169
|
-
indexed: !1,
|
|
170
|
-
internalType: "uint16",
|
|
171
|
-
name: "observationCardinalityNextOld",
|
|
172
|
-
type: "uint16"
|
|
173
|
-
}, {
|
|
174
|
-
indexed: !1,
|
|
175
|
-
internalType: "uint16",
|
|
176
|
-
name: "observationCardinalityNextNew",
|
|
177
|
-
type: "uint16"
|
|
178
|
-
}],
|
|
179
|
-
name: "IncreaseObservationCardinalityNext",
|
|
180
|
-
type: "event"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
anonymous: !1,
|
|
184
|
-
inputs: [{
|
|
185
|
-
indexed: !1,
|
|
186
|
-
internalType: "uint160",
|
|
187
|
-
name: "sqrtPriceX96",
|
|
188
|
-
type: "uint160"
|
|
189
|
-
}, {
|
|
190
|
-
indexed: !1,
|
|
191
|
-
internalType: "int24",
|
|
192
|
-
name: "tick",
|
|
193
|
-
type: "int24"
|
|
194
|
-
}],
|
|
195
|
-
name: "Initialize",
|
|
196
|
-
type: "event"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
anonymous: !1,
|
|
200
|
-
inputs: [
|
|
201
|
-
{
|
|
202
|
-
indexed: !1,
|
|
203
|
-
internalType: "address",
|
|
204
|
-
name: "sender",
|
|
205
|
-
type: "address"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
indexed: !0,
|
|
209
|
-
internalType: "address",
|
|
210
|
-
name: "owner",
|
|
211
|
-
type: "address"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
indexed: !0,
|
|
215
|
-
internalType: "int24",
|
|
216
|
-
name: "tickLower",
|
|
217
|
-
type: "int24"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
indexed: !0,
|
|
221
|
-
internalType: "int24",
|
|
222
|
-
name: "tickUpper",
|
|
223
|
-
type: "int24"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
indexed: !1,
|
|
227
|
-
internalType: "uint128",
|
|
228
|
-
name: "amount",
|
|
229
|
-
type: "uint128"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
indexed: !1,
|
|
233
|
-
internalType: "uint256",
|
|
234
|
-
name: "amount0",
|
|
235
|
-
type: "uint256"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
indexed: !1,
|
|
239
|
-
internalType: "uint256",
|
|
240
|
-
name: "amount1",
|
|
241
|
-
type: "uint256"
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
name: "Mint",
|
|
245
|
-
type: "event"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
anonymous: !1,
|
|
249
|
-
inputs: [
|
|
250
|
-
{
|
|
251
|
-
indexed: !1,
|
|
252
|
-
internalType: "uint8",
|
|
253
|
-
name: "feeProtocol0Old",
|
|
254
|
-
type: "uint8"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
indexed: !1,
|
|
258
|
-
internalType: "uint8",
|
|
259
|
-
name: "feeProtocol1Old",
|
|
260
|
-
type: "uint8"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
indexed: !1,
|
|
264
|
-
internalType: "uint8",
|
|
265
|
-
name: "feeProtocol0New",
|
|
266
|
-
type: "uint8"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
indexed: !1,
|
|
270
|
-
internalType: "uint8",
|
|
271
|
-
name: "feeProtocol1New",
|
|
272
|
-
type: "uint8"
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
name: "SetFeeProtocol",
|
|
276
|
-
type: "event"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
anonymous: !1,
|
|
280
|
-
inputs: [
|
|
281
|
-
{
|
|
282
|
-
indexed: !0,
|
|
283
|
-
internalType: "address",
|
|
284
|
-
name: "sender",
|
|
285
|
-
type: "address"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
indexed: !0,
|
|
289
|
-
internalType: "address",
|
|
290
|
-
name: "recipient",
|
|
291
|
-
type: "address"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
indexed: !1,
|
|
295
|
-
internalType: "int256",
|
|
296
|
-
name: "amount0",
|
|
297
|
-
type: "int256"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
indexed: !1,
|
|
301
|
-
internalType: "int256",
|
|
302
|
-
name: "amount1",
|
|
303
|
-
type: "int256"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
indexed: !1,
|
|
307
|
-
internalType: "uint160",
|
|
308
|
-
name: "sqrtPriceX96",
|
|
309
|
-
type: "uint160"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
indexed: !1,
|
|
313
|
-
internalType: "uint128",
|
|
314
|
-
name: "liquidity",
|
|
315
|
-
type: "uint128"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
indexed: !1,
|
|
319
|
-
internalType: "int24",
|
|
320
|
-
name: "tick",
|
|
321
|
-
type: "int24"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
name: "Swap",
|
|
325
|
-
type: "event"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
inputs: [
|
|
329
|
-
{
|
|
330
|
-
internalType: "int24",
|
|
331
|
-
name: "tickLower",
|
|
332
|
-
type: "int24"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
internalType: "int24",
|
|
336
|
-
name: "tickUpper",
|
|
337
|
-
type: "int24"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
internalType: "uint128",
|
|
341
|
-
name: "amount",
|
|
342
|
-
type: "uint128"
|
|
343
|
-
}
|
|
344
|
-
],
|
|
345
|
-
name: "burn",
|
|
346
|
-
outputs: [{
|
|
347
|
-
internalType: "uint256",
|
|
348
|
-
name: "amount0",
|
|
349
|
-
type: "uint256"
|
|
350
|
-
}, {
|
|
351
|
-
internalType: "uint256",
|
|
352
|
-
name: "amount1",
|
|
353
|
-
type: "uint256"
|
|
354
|
-
}],
|
|
355
|
-
stateMutability: "nonpayable",
|
|
356
|
-
type: "function"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
inputs: [
|
|
360
|
-
{
|
|
361
|
-
internalType: "address",
|
|
362
|
-
name: "recipient",
|
|
363
|
-
type: "address"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
internalType: "int24",
|
|
367
|
-
name: "tickLower",
|
|
368
|
-
type: "int24"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
internalType: "int24",
|
|
372
|
-
name: "tickUpper",
|
|
373
|
-
type: "int24"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
internalType: "uint128",
|
|
377
|
-
name: "amount0Requested",
|
|
378
|
-
type: "uint128"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
internalType: "uint128",
|
|
382
|
-
name: "amount1Requested",
|
|
383
|
-
type: "uint128"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
name: "collect",
|
|
387
|
-
outputs: [{
|
|
388
|
-
internalType: "uint128",
|
|
389
|
-
name: "amount0",
|
|
390
|
-
type: "uint128"
|
|
391
|
-
}, {
|
|
392
|
-
internalType: "uint128",
|
|
393
|
-
name: "amount1",
|
|
394
|
-
type: "uint128"
|
|
395
|
-
}],
|
|
396
|
-
stateMutability: "nonpayable",
|
|
397
|
-
type: "function"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
inputs: [
|
|
401
|
-
{
|
|
402
|
-
internalType: "address",
|
|
403
|
-
name: "recipient",
|
|
404
|
-
type: "address"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
internalType: "uint128",
|
|
408
|
-
name: "amount0Requested",
|
|
409
|
-
type: "uint128"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
internalType: "uint128",
|
|
413
|
-
name: "amount1Requested",
|
|
414
|
-
type: "uint128"
|
|
415
|
-
}
|
|
416
|
-
],
|
|
417
|
-
name: "collectProtocol",
|
|
418
|
-
outputs: [{
|
|
419
|
-
internalType: "uint128",
|
|
420
|
-
name: "amount0",
|
|
421
|
-
type: "uint128"
|
|
422
|
-
}, {
|
|
423
|
-
internalType: "uint128",
|
|
424
|
-
name: "amount1",
|
|
425
|
-
type: "uint128"
|
|
426
|
-
}],
|
|
427
|
-
stateMutability: "nonpayable",
|
|
428
|
-
type: "function"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
inputs: [],
|
|
432
|
-
name: "factory",
|
|
433
|
-
outputs: [{
|
|
434
|
-
internalType: "address",
|
|
435
|
-
name: "",
|
|
436
|
-
type: "address"
|
|
437
|
-
}],
|
|
438
|
-
stateMutability: "view",
|
|
439
|
-
type: "function"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
inputs: [],
|
|
443
|
-
name: "fee",
|
|
444
|
-
outputs: [{
|
|
445
|
-
internalType: "uint24",
|
|
446
|
-
name: "",
|
|
447
|
-
type: "uint24"
|
|
448
|
-
}],
|
|
449
|
-
stateMutability: "view",
|
|
450
|
-
type: "function"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
inputs: [],
|
|
454
|
-
name: "feeGrowthGlobal0X128",
|
|
455
|
-
outputs: [{
|
|
456
|
-
internalType: "uint256",
|
|
457
|
-
name: "",
|
|
458
|
-
type: "uint256"
|
|
459
|
-
}],
|
|
460
|
-
stateMutability: "view",
|
|
461
|
-
type: "function"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
inputs: [],
|
|
465
|
-
name: "feeGrowthGlobal1X128",
|
|
466
|
-
outputs: [{
|
|
467
|
-
internalType: "uint256",
|
|
468
|
-
name: "",
|
|
469
|
-
type: "uint256"
|
|
470
|
-
}],
|
|
471
|
-
stateMutability: "view",
|
|
472
|
-
type: "function"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
inputs: [
|
|
476
|
-
{
|
|
477
|
-
internalType: "address",
|
|
478
|
-
name: "recipient",
|
|
479
|
-
type: "address"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
internalType: "uint256",
|
|
483
|
-
name: "amount0",
|
|
484
|
-
type: "uint256"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
internalType: "uint256",
|
|
488
|
-
name: "amount1",
|
|
489
|
-
type: "uint256"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
internalType: "bytes",
|
|
493
|
-
name: "data",
|
|
494
|
-
type: "bytes"
|
|
495
|
-
}
|
|
496
|
-
],
|
|
497
|
-
name: "flash",
|
|
498
|
-
outputs: [],
|
|
499
|
-
stateMutability: "nonpayable",
|
|
500
|
-
type: "function"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
inputs: [{
|
|
504
|
-
internalType: "uint16",
|
|
505
|
-
name: "observationCardinalityNext",
|
|
506
|
-
type: "uint16"
|
|
507
|
-
}],
|
|
508
|
-
name: "increaseObservationCardinalityNext",
|
|
509
|
-
outputs: [],
|
|
510
|
-
stateMutability: "nonpayable",
|
|
511
|
-
type: "function"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
inputs: [{
|
|
515
|
-
internalType: "uint160",
|
|
516
|
-
name: "sqrtPriceX96",
|
|
517
|
-
type: "uint160"
|
|
518
|
-
}],
|
|
519
|
-
name: "initialize",
|
|
520
|
-
outputs: [],
|
|
521
|
-
stateMutability: "nonpayable",
|
|
522
|
-
type: "function"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
inputs: [],
|
|
526
|
-
name: "liquidity",
|
|
527
|
-
outputs: [{
|
|
528
|
-
internalType: "uint128",
|
|
529
|
-
name: "",
|
|
530
|
-
type: "uint128"
|
|
531
|
-
}],
|
|
532
|
-
stateMutability: "view",
|
|
533
|
-
type: "function"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
inputs: [],
|
|
537
|
-
name: "maxLiquidityPerTick",
|
|
538
|
-
outputs: [{
|
|
539
|
-
internalType: "uint128",
|
|
540
|
-
name: "",
|
|
541
|
-
type: "uint128"
|
|
542
|
-
}],
|
|
543
|
-
stateMutability: "view",
|
|
544
|
-
type: "function"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
inputs: [
|
|
548
|
-
{
|
|
549
|
-
internalType: "address",
|
|
550
|
-
name: "recipient",
|
|
551
|
-
type: "address"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
internalType: "int24",
|
|
555
|
-
name: "tickLower",
|
|
556
|
-
type: "int24"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
internalType: "int24",
|
|
560
|
-
name: "tickUpper",
|
|
561
|
-
type: "int24"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
internalType: "uint128",
|
|
565
|
-
name: "amount",
|
|
566
|
-
type: "uint128"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
internalType: "bytes",
|
|
570
|
-
name: "data",
|
|
571
|
-
type: "bytes"
|
|
572
|
-
}
|
|
573
|
-
],
|
|
574
|
-
name: "mint",
|
|
575
|
-
outputs: [{
|
|
576
|
-
internalType: "uint256",
|
|
577
|
-
name: "amount0",
|
|
578
|
-
type: "uint256"
|
|
579
|
-
}, {
|
|
580
|
-
internalType: "uint256",
|
|
581
|
-
name: "amount1",
|
|
582
|
-
type: "uint256"
|
|
583
|
-
}],
|
|
584
|
-
stateMutability: "nonpayable",
|
|
585
|
-
type: "function"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
inputs: [{
|
|
589
|
-
internalType: "uint256",
|
|
590
|
-
name: "index",
|
|
591
|
-
type: "uint256"
|
|
592
|
-
}],
|
|
593
|
-
name: "observations",
|
|
594
|
-
outputs: [
|
|
595
|
-
{
|
|
596
|
-
internalType: "uint32",
|
|
597
|
-
name: "blockTimestamp",
|
|
598
|
-
type: "uint32"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
internalType: "int56",
|
|
602
|
-
name: "tickCumulative",
|
|
603
|
-
type: "int56"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
internalType: "uint160",
|
|
607
|
-
name: "secondsPerLiquidityCumulativeX128",
|
|
608
|
-
type: "uint160"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
internalType: "bool",
|
|
612
|
-
name: "initialized",
|
|
613
|
-
type: "bool"
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
stateMutability: "view",
|
|
617
|
-
type: "function"
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
inputs: [{
|
|
621
|
-
internalType: "uint32[]",
|
|
622
|
-
name: "secondsAgos",
|
|
623
|
-
type: "uint32[]"
|
|
624
|
-
}],
|
|
625
|
-
name: "observe",
|
|
626
|
-
outputs: [{
|
|
627
|
-
internalType: "int56[]",
|
|
628
|
-
name: "tickCumulatives",
|
|
629
|
-
type: "int56[]"
|
|
630
|
-
}, {
|
|
631
|
-
internalType: "uint160[]",
|
|
632
|
-
name: "secondsPerLiquidityCumulativeX128s",
|
|
633
|
-
type: "uint160[]"
|
|
634
|
-
}],
|
|
635
|
-
stateMutability: "view",
|
|
636
|
-
type: "function"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
inputs: [{
|
|
640
|
-
internalType: "bytes32",
|
|
641
|
-
name: "key",
|
|
642
|
-
type: "bytes32"
|
|
643
|
-
}],
|
|
644
|
-
name: "positions",
|
|
645
|
-
outputs: [
|
|
646
|
-
{
|
|
647
|
-
internalType: "uint128",
|
|
648
|
-
name: "_liquidity",
|
|
649
|
-
type: "uint128"
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
internalType: "uint256",
|
|
653
|
-
name: "feeGrowthInside0LastX128",
|
|
654
|
-
type: "uint256"
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
internalType: "uint256",
|
|
658
|
-
name: "feeGrowthInside1LastX128",
|
|
659
|
-
type: "uint256"
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
internalType: "uint128",
|
|
663
|
-
name: "tokensOwed0",
|
|
664
|
-
type: "uint128"
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
internalType: "uint128",
|
|
668
|
-
name: "tokensOwed1",
|
|
669
|
-
type: "uint128"
|
|
670
|
-
}
|
|
671
|
-
],
|
|
672
|
-
stateMutability: "view",
|
|
673
|
-
type: "function"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
inputs: [],
|
|
677
|
-
name: "protocolFees",
|
|
678
|
-
outputs: [{
|
|
679
|
-
internalType: "uint128",
|
|
680
|
-
name: "token0",
|
|
681
|
-
type: "uint128"
|
|
682
|
-
}, {
|
|
683
|
-
internalType: "uint128",
|
|
684
|
-
name: "token1",
|
|
685
|
-
type: "uint128"
|
|
686
|
-
}],
|
|
687
|
-
stateMutability: "view",
|
|
688
|
-
type: "function"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
inputs: [{
|
|
692
|
-
internalType: "uint8",
|
|
693
|
-
name: "feeProtocol0",
|
|
694
|
-
type: "uint8"
|
|
695
|
-
}, {
|
|
696
|
-
internalType: "uint8",
|
|
697
|
-
name: "feeProtocol1",
|
|
698
|
-
type: "uint8"
|
|
699
|
-
}],
|
|
700
|
-
name: "setFeeProtocol",
|
|
701
|
-
outputs: [],
|
|
702
|
-
stateMutability: "nonpayable",
|
|
703
|
-
type: "function"
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
inputs: [],
|
|
707
|
-
name: "slot0",
|
|
708
|
-
outputs: [
|
|
709
|
-
{
|
|
710
|
-
internalType: "uint160",
|
|
711
|
-
name: "sqrtPriceX96",
|
|
712
|
-
type: "uint160"
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
internalType: "int24",
|
|
716
|
-
name: "tick",
|
|
717
|
-
type: "int24"
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
internalType: "uint16",
|
|
721
|
-
name: "observationIndex",
|
|
722
|
-
type: "uint16"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
internalType: "uint16",
|
|
726
|
-
name: "observationCardinality",
|
|
727
|
-
type: "uint16"
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
internalType: "uint16",
|
|
731
|
-
name: "observationCardinalityNext",
|
|
732
|
-
type: "uint16"
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
internalType: "uint8",
|
|
736
|
-
name: "feeProtocol",
|
|
737
|
-
type: "uint8"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
internalType: "bool",
|
|
741
|
-
name: "unlocked",
|
|
742
|
-
type: "bool"
|
|
743
|
-
}
|
|
744
|
-
],
|
|
745
|
-
stateMutability: "view",
|
|
746
|
-
type: "function"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
inputs: [{
|
|
750
|
-
internalType: "int24",
|
|
751
|
-
name: "tickLower",
|
|
752
|
-
type: "int24"
|
|
753
|
-
}, {
|
|
754
|
-
internalType: "int24",
|
|
755
|
-
name: "tickUpper",
|
|
756
|
-
type: "int24"
|
|
757
|
-
}],
|
|
758
|
-
name: "snapshotCumulativesInside",
|
|
759
|
-
outputs: [
|
|
760
|
-
{
|
|
761
|
-
internalType: "int56",
|
|
762
|
-
name: "tickCumulativeInside",
|
|
763
|
-
type: "int56"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
internalType: "uint160",
|
|
767
|
-
name: "secondsPerLiquidityInsideX128",
|
|
768
|
-
type: "uint160"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
internalType: "uint32",
|
|
772
|
-
name: "secondsInside",
|
|
773
|
-
type: "uint32"
|
|
774
|
-
}
|
|
775
|
-
],
|
|
776
|
-
stateMutability: "view",
|
|
777
|
-
type: "function"
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
inputs: [
|
|
781
|
-
{
|
|
782
|
-
internalType: "address",
|
|
783
|
-
name: "recipient",
|
|
784
|
-
type: "address"
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
internalType: "bool",
|
|
788
|
-
name: "zeroForOne",
|
|
789
|
-
type: "bool"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
internalType: "int256",
|
|
793
|
-
name: "amountSpecified",
|
|
794
|
-
type: "int256"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
internalType: "uint160",
|
|
798
|
-
name: "sqrtPriceLimitX96",
|
|
799
|
-
type: "uint160"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
internalType: "bytes",
|
|
803
|
-
name: "data",
|
|
804
|
-
type: "bytes"
|
|
805
|
-
}
|
|
806
|
-
],
|
|
807
|
-
name: "swap",
|
|
808
|
-
outputs: [{
|
|
809
|
-
internalType: "int256",
|
|
810
|
-
name: "amount0",
|
|
811
|
-
type: "int256"
|
|
812
|
-
}, {
|
|
813
|
-
internalType: "int256",
|
|
814
|
-
name: "amount1",
|
|
815
|
-
type: "int256"
|
|
816
|
-
}],
|
|
817
|
-
stateMutability: "nonpayable",
|
|
818
|
-
type: "function"
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
inputs: [{
|
|
822
|
-
internalType: "int16",
|
|
823
|
-
name: "wordPosition",
|
|
824
|
-
type: "int16"
|
|
825
|
-
}],
|
|
826
|
-
name: "tickBitmap",
|
|
827
|
-
outputs: [{
|
|
828
|
-
internalType: "uint256",
|
|
829
|
-
name: "",
|
|
830
|
-
type: "uint256"
|
|
831
|
-
}],
|
|
832
|
-
stateMutability: "view",
|
|
833
|
-
type: "function"
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
inputs: [],
|
|
837
|
-
name: "tickSpacing",
|
|
838
|
-
outputs: [{
|
|
839
|
-
internalType: "int24",
|
|
840
|
-
name: "",
|
|
841
|
-
type: "int24"
|
|
842
|
-
}],
|
|
843
|
-
stateMutability: "view",
|
|
844
|
-
type: "function"
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
inputs: [{
|
|
848
|
-
internalType: "int24",
|
|
849
|
-
name: "tick",
|
|
850
|
-
type: "int24"
|
|
851
|
-
}],
|
|
852
|
-
name: "ticks",
|
|
853
|
-
outputs: [
|
|
854
|
-
{
|
|
855
|
-
internalType: "uint128",
|
|
856
|
-
name: "liquidityGross",
|
|
857
|
-
type: "uint128"
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
internalType: "int128",
|
|
861
|
-
name: "liquidityNet",
|
|
862
|
-
type: "int128"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
internalType: "uint256",
|
|
866
|
-
name: "feeGrowthOutside0X128",
|
|
867
|
-
type: "uint256"
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
internalType: "uint256",
|
|
871
|
-
name: "feeGrowthOutside1X128",
|
|
872
|
-
type: "uint256"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
internalType: "int56",
|
|
876
|
-
name: "tickCumulativeOutside",
|
|
877
|
-
type: "int56"
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
internalType: "uint160",
|
|
881
|
-
name: "secondsPerLiquidityOutsideX128",
|
|
882
|
-
type: "uint160"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
internalType: "uint32",
|
|
886
|
-
name: "secondsOutside",
|
|
887
|
-
type: "uint32"
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "bool",
|
|
891
|
-
name: "initialized",
|
|
892
|
-
type: "bool"
|
|
893
|
-
}
|
|
894
|
-
],
|
|
895
|
-
stateMutability: "view",
|
|
896
|
-
type: "function"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
inputs: [],
|
|
900
|
-
name: "token0",
|
|
901
|
-
outputs: [{
|
|
902
|
-
internalType: "address",
|
|
903
|
-
name: "",
|
|
904
|
-
type: "address"
|
|
905
|
-
}],
|
|
906
|
-
stateMutability: "view",
|
|
907
|
-
type: "function"
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
inputs: [],
|
|
911
|
-
name: "token1",
|
|
912
|
-
outputs: [{
|
|
913
|
-
internalType: "address",
|
|
914
|
-
name: "",
|
|
915
|
-
type: "address"
|
|
916
|
-
}],
|
|
917
|
-
stateMutability: "view",
|
|
918
|
-
type: "function"
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
inputs: [],
|
|
922
|
-
name: "stable",
|
|
923
|
-
outputs: [{
|
|
924
|
-
internalType: "bool",
|
|
925
|
-
name: "",
|
|
926
|
-
type: "bool"
|
|
927
|
-
}],
|
|
928
|
-
stateMutability: "view",
|
|
929
|
-
type: "function"
|
|
930
|
-
}
|
|
931
|
-
],
|
|
932
|
-
bytecode: "0x",
|
|
933
|
-
deployedBytecode: "0x",
|
|
934
|
-
linkReferences: {},
|
|
935
|
-
deployedLinkReferences: {}
|
|
936
|
-
};
|
|
937
|
-
//#endregion
|
|
938
|
-
export { e as default };
|