@hinkal/common 0.2.8 → 0.2.10
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/API/API.cjs +1 -1
- package/API/API.d.ts +2 -1
- package/API/API.mjs +27 -26
- package/API/kycCalls.cjs +1 -1
- package/API/kycCalls.d.ts +4 -0
- package/API/kycCalls.mjs +15 -11
- package/constants/rewards.constants.cjs +1 -1
- package/constants/rewards.constants.d.ts +1 -0
- package/constants/rewards.constants.mjs +9 -8
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +1 -0
- package/constants/server.constants.mjs +5 -4
- package/data-structures/event-service/AbstractEventService.cjs +1 -1
- package/data-structures/event-service/AbstractEventService.mjs +42 -30
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +10 -5
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +10 -5
- package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +8 -3
- package/error-handling/error-codes.constants.cjs +1 -1
- package/error-handling/error-codes.constants.mjs +13 -13
- package/functions/web3/events/getShieldedBalance.cjs +2 -2
- package/functions/web3/events/getShieldedBalance.mjs +66 -58
- package/index.cjs +1 -1
- package/index.mjs +469 -468
- package/package.json +2 -1
- package/types/rewards.types.cjs +1 -1
- package/types/rewards.types.d.ts +4 -3
- package/types/rewards.types.mjs +12 -12
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +26 -21
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={CANNOT_CERTIFY_FOR_PAST_WEEK:"Certification for the past week is not available",ACTIVE_CODE_INVALID:"The code you entered does not exist. Please try again",REFERRE_CANT_USE_OWN:"You cannot use own referre code",USER_HAS_ACTIVE_CODE:"User already has an active code",SAME_REFERRAL_CODE:"You cannot add the same referral code",ALREADY_EXISTING_REFERRAL_CODE:"You cannot add already existing referral code",CYCLICAL_REFERRALS_FORBIDDEN:"Cyclical referrals are forbidden",WRONG_RECEIVING_TOKEN:"Currently you cannot receive rewards in the token you provided. Please select a different token or contact the Hinkal Team",INVALID_RECEIVING_ADDRESS:"The receiving wallet address you submitted is not a valid address. Please check and submit again",USER_IS_UNRANKED:"Please certify transactions to see rank",MULTI_VERIFICATION_FAILED:"Transaction Verification on multiple network failed. Please, try again."},t={WC_NO_MATCHING_KEY:`creating the transaction failed
|
|
2
|
-
version`},n={...a,...t,SOME_ERROR:"Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",TOO_HIGH_AMOUNT:"ApproxParamsInvalid",INSUFFICIENT_FUNDS:"Insufficient funds",INSUFFICIENT_FUNDS_WITHDRAW:"Not enough funds to withdraw",INSUFFICIENT_FUNDS_TRANSFER:"Not enough funds to transfer",INSUFFICIENT_FUNDS_TO_TRANSACT:"Not enough funds to transact",INSUFFICIENT_FUNDS_GAS:"Insufficient funds for gas * price",NOT_ENOUGH_TOKENS:"Transfer amount exceeds balance",TRANSACTION_NOT_CONFIRMED:"The transaction was not confirmed by the network. Please, try again.",RPC_PROVIDER_LIMIT_ERROR:"Non-200 status code: '429'",RELAYER_NOT_AVAILABLE:"All relayers are busy, please try in a few seconds",TRANSACTION_TIMEOUT:"Your transaction got stale. Please, try in a few seconds",CONNECT_ERROR:"Connection error",CONNECT_ERROR2:"DOMException: Failed",USER_REJECTED_TX:"Transaction rejected.",USER_REJECTED_SIGN:"User rejected signing",USER_REJECTED_TRANSACTION:"user rejected transaction",USER_REJECTED_SIGN2:"User rejected the request",SIGNING_FAILED:"The signing failed. Please, try again.",SIGNATURE_UNSUPPORTED_CHAINS:"Details: Unsupported chains.",SIGNATURE_UNSUPPORTED_CHAINS2:"User disapproved requested chains",SIGNATURE_REQUEST_EXPIRED:"Request expired. Please try again",SIGNATURE_UNSUPPORTED_PERSONAL_SIGN:"The method personal_sign does not exist",USER_DISAPPROVED_REQUESTED_METHODS:"User disapproved requested methods",INVALID_AUTHORIZATION:"The requested account and/or method has not been authorized by the user",INVALID_NULLIFIER:"Nullifier cannot be reused",SANCTIONED_ADDRESS:"Address is sanctioned",INVALID_AMOUNT:"Please, select correct amount",RECIPIENT_FORMAT_INCORRECT:"Recipient Information format is incorrect",INVALID_TOKEN:"Invalid token provided",STATE_TO_UPDATE:"Error in template Verifier_219 line: 121",HAS_TOKEN:"User already has an access token",INVALID_RECEIVER:"Receiver address doesn't match",INVALID_RELAYER:"Relayer address doesn't match",INVALID_RELAYER_FEE:"Relayer fee amount doesn't match",TIMESTAMP_STALE:"Timestamp provided does not align with current time",INVALID_ZKP:"Proof must be valid",NO_TRANSACTIONS_TO_CERTIFY:"This week, you do not have transactions to certify",UNSUPPORTED_NETWORK:"Unsupported network: please choose Polygon, BNB Chain",SIG_BY_OWNER:"Signature must be signed by the owner of the contract",AMOUNT_EMPTY:"Please, specify amount",UNVERIFIED_USER:"Please, pass KYC verification",RELAYER_ISSUE:"Relayer has some issues. Try again later",RELAYER_GAS_ESTIMATE:"Relayer was not able to estimate the gas costs of tx. Please, try later.",RECEIVER_EMPTY:"Please, enter recipient address",NOT_ETHEREUM_ADDRESS:"Please, input shielded address instead of ethereum address",NOT_SHIELDED_ADDRESS:"Please, input valid shielded address",VALID_ETHEREUM_ADDRESS:"Please, input valid ethereum address",METAMASK_NOT_INSTALLED:"Please, install Metamask Wallet",VIABLE_TX:"The transaction is not viable. Please increase the swap amount to swap with Relayer.",TRANSACTION_REPLACED:"transaction was replaced",TRANSACTION_REPLACED2:"replacement fee too low",TRANSACTION_CANCELED:"Transaction was cancelled. Please try again",NONCE_HIGH:"Nonce too high.",WALLET_CONNECT_MATCHING_KEYS:"No matching key. keychain",UNKNOWN_PROVIDER:"Unknown provider",SAFE_ERC:"SafeERC20: low-level call failed",SAFE_ERC_APPROVE:"SafeERC20: approve from non-zero to non-zero allowance",SWAP_RELAYER_MIN:"Relayer minimum fee is not satisfied",LOW_LEVEL_CALL:"low-level delegate call failed",INTEGRAL_CURVE_ZERO:"previous integral cannot be zero",ODOS_FETCH:"Odos API Fetch Error",PENDLE_SWAP_FAILED_BELOW_THRESHOLD:"Error: Cannot swap",PENDLE_SWAP_TOKENS_UNSUPPORTED:"No route found to swap",PENDLE_SWAP_TOKENS_UNSUPPORTED2:"tokenInAddr is not a valid SY token in",PENDLE_MINIMUM_AMOUNT_NOT_REACHED:"MinimumStakeAmountNotReached",SLIPPAGE_LIMIT:"Slippage Limit Exceeded",SLIPPAGE_LIMIT_1:"Slippage screwed you",QUOTE_EXPIRED:"Quote has expired",REVERT_NO_STRING:"Transaction reverted without a reason string",UNISWAP_NOT_ENOUGH_LIQUIDITY:"Not Enough Liquidity",CONNECTION_FAILED:"Failed to connect",FAILED_TO_SWITCH_NETWORKS:"Failed to switch network, Please switch networks using your wallet's settings",INVALID_FROM:"Invalid from token",INVALID_TO:"Invalid to token",Invalid_Password:"Invalid password",INTERNAL_ERROR:"Internal error: please, try again",INVALID_MERKLE_ROOT:"Invalid merkle tree root",ACCESS_TOKEN_INVALID_HASH:"Access Token not minted",MERLE_TREE_SNARK:"Error in template ForceEqualIfEnabled",DECIMALS_LIMIT:"Number of decimals exceed maximum",MERKLE_TREE_INCOMPLETE:"Merkle tree is incomplete",FAIL_ESTIMATE_GAS:"Failed to estimate gas: check the transaction parameters",ODOS_SWAP_FAILED:"Odos swap call failed",ONEINCH_SWAP_FAILED:"One inch swap failed",GAS_ESTIMATION_ERROR:"Failed Gas Estimates Response",GAS_ESTIMATE_INCORRECT_PARAMETERS:"Incorrect Parameters for Gas Estimate",CONNECTIVITY_ERROR:"Request failed with status code 500",TRANSACTION_FAILED:"Transaction Failed: Revert",NO_UNISWAP_PRICE:"Cannot get Uniswap Price",NO_ODOS_PRICE:"Cannot get Odos Price",NO_ONEINCH_PRICE:"Cannot get OneInch Price",FEES_OVER_TRANSACTION_VALUE:"Fees are over transaction value. Please, increase the amount.",GAS_STATION_NOT_AVAILABLE:"Gas Station Not Available",INBALANCE_IN_TOKEN:"Inbalance in token detected",BALANCE_EQUATION_FAILED:"Balance Diff Should be equal to sum of onchain and offchain created commitments",TOKEN_ADD_ERROR:"Error occoured while adding token. Please make sure you are adding a valid ERC-20 token",CANNOT_ESTIMATE_GAS:"transaction may require manual gas limit",NETWORK_ERROR:"Network Error",MAX_FEE_GAS_ERROR:"max fee per gas less than block base fee",CORS_ERROR:"has been blocked by CORS policy",CANNOT_ESTIMATE_GAS2:"transaction may fail or may require manual gas limit",NO_RESPONSE_PRIVATE:"No resonse from private relay",TRY_AGAIN_AFTER_TRANSACTION:"Please, try again",ALREADY_SUBSCRIBED:"User Already Subscribed",PREFERRED_TOKEN_OR_ADDRESS_MISSING:"Please, specify both the preferred token and public wallet address",SNAPSHOT_FILE_NOT_FOUND:"We are updating our servers. Please try again in some time.",API_KEY_DOES_NOT_MATCH:"Please provide a valid API Key for the wallet. If you do not have one, please contact the Hinkal team to get one.",SAME_ADDRESS_FORBIDDEN:"You cannot recieve staked tokens on the same ethereum address",NOT_VALID_ETHEREUM_ADDRESS:"Please enter a valid Ethereum address",MUST_STAKE_AT_LEAST_ONE_ETH:"Amount too low, Please stake at least 1 ETH",OUT_OF_MEMORY:"Out of memory: Cannot allocate Wasm memory",OUT_OF_MEMORY2:"could not allocate memory",OUT_OF_MEMORY3:"out of memory",UNKNOWN:"Unknown error"},e="Not enough memory. Please, close some tabs/applications to free up memory and try again.",r={USER_REJECTED_TRANSACTION:"Transaction rejected by user.",SOME_ERROR:"Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",TOO_HIGH_AMOUNT:"The amount you provided is too high, please adjust the amount",WC_NO_MATCHING_KEY:"Wallet Connect error. Please, try again",RPC_PROVIDER_LIMIT_ERROR:"Rate Limit: please, use different rpc provider in your wallet.",INSUFFICIENT_FUNDS_GAS:"Your balance is too low to cover the transaction fees. Please add funds to proceed.",INVALID_NULLIFIER:"There seems to be a temporary caching issue. Please press ‘Refresh your balance’ under your shielded address.",STATE_TO_UPDATE:"A technical issue has occurred. Please contact the Hinkal support team for assistance.",INVALID_ZKP:"The Zero Knowledge Proof provided is invalid. Please check and try again.",NONCE_HIGH:"To resolve this issue, please reset your wallet in the Settings.",UNKNOWN_PROVIDER:"The provider is not recognized. Please check your settings.",TRANSACTION_REPLACED:"Your transaction was replaced by another. Please submit your transaction again.",TRANSACTION_REPLACED2:"This transaction was replaced. Please try submitting again.",TRANSACTION_TIMEOUT:"Your transaction got stale. Please, try in a few seconds",SAFE_ERC:"The selected ERC20 Token could not be transferred. Please contact the Hinkal support team.",SAFE_ERC_APPROVE:"The selected ERC20 Token could not be approved. Please contact the Hinkal support team.",INTEGRAL_CURVE_ZERO:"There's an issue with the pool's staking function. Please contact the Hinkal support team for assistance.",LOW_LEVEL_CALL:"A technical issue occurred. Please contact the Hinkal team for assistance.",ODOS_FETCH:"Current Odos price is unavailable. Please try again.",ODOS_SWAP_FAILED:"Your Odos Swap transaction didn’t go through. Please try again.",ONEINCH_SWAP_FAILED:"Your 1inch Swap transaction didn’t go through. Please try again.",PENDLE_SWAP_FAILED_BELOW_THRESHOLD:"The amount is below the minimum required. Try a higher amount.",PENDLE_SWAP_FAILED:"Your Pendle Swap transaction didn’t go through. Please try again.",PENDLE_SWAP_TOKENS_UNSUPPORTED:"You can't use Pendle to swap between those tokens. Try a different pair.",PENDLE_SWAP_TOKENS_UNSUPPORTED2:"You can't use Pendle to swap between those tokens. Try a different pair.",PENDLE_MINIMUM_AMOUNT_NOT_REACHED:"The amount is below the minimum required. Try a higher amount.",CONNECT_ERROR2:"Oops, there are connectivity issues. Please check your internet connection and try again.",WALLET_CONNECT_MATCHING_KEYS:"An internal WalletConnect error occurred. Please try reconnecting.",SIGNATURE_UNSUPPORTED_CHAINS:"The transaction couldn’t be signed: this network is not supported.",SIGNATURE_UNSUPPORTED_CHAINS2:"The transaction couldn’t be signed: this network is not supported.",SIGNATURE_UNSUPPORTED_PERSONAL_SIGN:"Your active wallet doesn't support personal signatures. Please use a different wallet.",REVERT_NO_STRING:"Your transaction didn’t go through due to technical issues. Please contact Hinkal support.",INVALID_MERKLE_ROOT:"There's an issue with the merkle tree root. Please contact Hinkal support.",MERLE_TREE_SNARK:"An error occurred in the circuit processing. Contact Hinkal support for assistance.",MAX_FEE_GAS_ERROR:"Your transaction was rejected due to high network congestion.",MERKLE_TREE_INCOMPLETE:"A technical issue has occurred. Please contact the Hinkal team for assistance.",CORS_ERROR:"Unable to reach the remote client. Please contact Hinkal support.",NETWORK_ERROR:"Connection error. Please, check back later.",CONNECTIVITY_ERROR:"A connectivity issue occurred. Please check your network connection.",INBALANCE_IN_TOKEN:"Your transaction didn’t go through due to price slippage. Try increasing your slippage tolerance.",BALANCE_EQUATION_FAILED:"There's an issue with the balance calculation. Please adjust your transaction parameters.",SLIPPAGE_LIMIT_1:"Your transaction didn’t go through due to price slippage. Adjust slippage settings and retry.",CANNOT_ESTIMATE_GAS:"Unable to estimate the gas required. Please set the gas limit manually.",CANNOT_ESTIMATE_GAS2:"Your transaction didn’t go through. Please try setting gas limit manually.",GAS_STATION_NOT_AVAILABLE:"The Gas Station service is currently unavailable. Please contact the Hinkal team.",TIMESTAMP_STALE:"This transaction is outdated. Please initiate a new transaction.",ALREADY_SUBSCRIBED:"This email is already subscribed to the Hinkal newsletter.",OUT_OF_MEMORY:e,OUT_OF_MEMORY2:e,OUT_OF_MEMORY3:e};exports.UserFriendlyErrorCodes=r;exports.transactionErrorCodes=n;
|
|
2
|
+
version`},r={...a,...t,SOME_ERROR:"Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",TOO_HIGH_AMOUNT:"ApproxParamsInvalid",INSUFFICIENT_FUNDS:"Insufficient funds",INSUFFICIENT_FUNDS_WITHDRAW:"Not enough funds to withdraw",INSUFFICIENT_FUNDS_TRANSFER:"Not enough funds to transfer",INSUFFICIENT_FUNDS_TO_TRANSACT:"Not enough funds to transact",INSUFFICIENT_FUNDS_GAS:"Insufficient funds for gas * price",NOT_ENOUGH_TOKENS:"Transfer amount exceeds balance",TRANSACTION_NOT_CONFIRMED:"The transaction was not confirmed by the network. Please, try again.",RPC_PROVIDER_LIMIT_ERROR:"Non-200 status code: '429'",RELAYER_NOT_AVAILABLE:"All relayers are busy, please try in a few seconds",TRANSACTION_TIMEOUT:"Your transaction got stale. Please, try in a few seconds",CONNECT_ERROR:"Connection error",CONNECT_ERROR2:"DOMException: Failed",USER_REJECTED_TX:"Transaction rejected.",USER_REJECTED_SIGN:"User rejected signing",USER_REJECTED_TRANSACTION:"user rejected transaction",USER_REJECTED_SIGN2:"User rejected the request",SIGNING_FAILED:"The signing failed. Please, try again.",SIGNATURE_UNSUPPORTED_CHAINS:"Details: Unsupported chains.",SIGNATURE_UNSUPPORTED_CHAINS2:"User disapproved requested chains",SIGNATURE_REQUEST_EXPIRED:"Request expired. Please try again",SIGNATURE_UNSUPPORTED_PERSONAL_SIGN:"The method personal_sign does not exist",USER_DISAPPROVED_REQUESTED_METHODS:"User disapproved requested methods",INVALID_AUTHORIZATION:"The requested account and/or method has not been authorized by the user",INVALID_NULLIFIER:"Nullifier cannot be reused",SANCTIONED_ADDRESS:"Address is sanctioned",INVALID_AMOUNT:"Please, select correct amount",RECIPIENT_FORMAT_INCORRECT:"Recipient Information format is incorrect",INVALID_TOKEN:"Invalid token provided",STATE_TO_UPDATE:"Error in template Verifier_219 line: 121",HAS_TOKEN:"User already has an access token",INVALID_RECEIVER:"Receiver address doesn't match",INVALID_RELAYER:"Relayer address doesn't match",INVALID_RELAYER_FEE:"Relayer fee amount doesn't match",TIMESTAMP_STALE:"Timestamp provided does not align with current time",INVALID_ZKP:"Proof must be valid",NO_TRANSACTIONS_TO_CERTIFY:"This week, you do not have transactions to certify",UNSUPPORTED_NETWORK:"Unsupported network: please choose Polygon, BNB Chain",SIG_BY_OWNER:"Signature must be signed by the owner of the contract",AMOUNT_EMPTY:"Please, specify amount",UNVERIFIED_USER:"Please, pass KYC verification",RELAYER_ISSUE:"Relayer has some issues. Try again later",RELAYER_GAS_ESTIMATE:"Relayer was not able to estimate the gas costs of tx. Please, try later.",RECEIVER_EMPTY:"Please, enter recipient address",NOT_ETHEREUM_ADDRESS:"Please, input shielded address instead of ethereum address",NOT_SHIELDED_ADDRESS:"Please, input valid shielded address",VALID_ETHEREUM_ADDRESS:"Please, input valid ethereum address",METAMASK_NOT_INSTALLED:"Please, install Metamask Wallet",VIABLE_TX:"The transaction is not viable. Please increase the swap amount to swap with Relayer.",TRANSACTION_REPLACED:"transaction was replaced",TRANSACTION_REPLACED2:"replacement fee too low",TRANSACTION_CANCELED:"Transaction was cancelled. Please try again",NONCE_HIGH:"Nonce too high.",WALLET_CONNECT_MATCHING_KEYS:"No matching key. keychain",UNKNOWN_PROVIDER:"Unknown provider",SAFE_ERC:"SafeERC20: low-level call failed",SAFE_ERC_APPROVE:"SafeERC20: approve from non-zero to non-zero allowance",SWAP_RELAYER_MIN:"Relayer minimum fee is not satisfied",LOW_LEVEL_CALL:"low-level delegate call failed",INTEGRAL_CURVE_ZERO:"previous integral cannot be zero",ODOS_FETCH:"Odos API Fetch Error",PENDLE_SWAP_FAILED_BELOW_THRESHOLD:"Error: Cannot swap",PENDLE_SWAP_TOKENS_UNSUPPORTED:"No route found to swap",PENDLE_SWAP_TOKENS_UNSUPPORTED2:"tokenInAddr is not a valid SY token in",PENDLE_MINIMUM_AMOUNT_NOT_REACHED:"MinimumStakeAmountNotReached",SLIPPAGE_LIMIT:"Slippage Limit Exceeded",SLIPPAGE_LIMIT_1:"Slippage screwed you",QUOTE_EXPIRED:"Quote has expired",REVERT_NO_STRING:"Transaction reverted without a reason string",UNISWAP_NOT_ENOUGH_LIQUIDITY:"Not Enough Liquidity",CONNECTION_FAILED:"Failed to connect",FAILED_TO_SWITCH_NETWORKS:"Failed to switch network, Please switch networks using your wallet's settings",INVALID_FROM:"Invalid from token",INVALID_TO:"Invalid to token",Invalid_Password:"Invalid password",INTERNAL_ERROR:"Internal error: please, try again",INVALID_MERKLE_ROOT:"Invalid merkle tree root",ACCESS_TOKEN_INVALID_HASH:"Access Token not minted",MERLE_TREE_SNARK:"Error in template ForceEqualIfEnabled",DECIMALS_LIMIT:"Number of decimals exceed maximum",MERKLE_TREE_INCOMPLETE:"Merkle tree is incomplete",FAIL_ESTIMATE_GAS:"Failed to estimate gas: check the transaction parameters",ODOS_SWAP_FAILED:"Odos swap call failed",ONEINCH_SWAP_FAILED:"One inch swap failed",GAS_ESTIMATION_ERROR:"Failed Gas Estimates Response",GAS_ESTIMATE_INCORRECT_PARAMETERS:"Incorrect Parameters for Gas Estimate",CONNECTIVITY_ERROR:"Request failed with status code 500",TRANSACTION_FAILED:"Transaction Failed: Revert",NO_UNISWAP_PRICE:"Cannot get Uniswap Price",NO_ODOS_PRICE:"Cannot get Odos Price",NO_ONEINCH_PRICE:"Cannot get OneInch Price",FEES_OVER_TRANSACTION_VALUE:"Fees are over transaction value. Please, increase the amount.",GAS_STATION_NOT_AVAILABLE:"Gas Station Not Available",INBALANCE_IN_TOKEN:"Inbalance in token detected",BALANCE_EQUATION_FAILED:"Balance Diff Should be equal to sum of onchain and offchain created commitments",TOKEN_ADD_ERROR:"Error occoured while adding token. Please make sure you are adding a valid ERC-20 token",CANNOT_ESTIMATE_GAS:"transaction may require manual gas limit",NETWORK_ERROR:"Network Error",MAX_FEE_GAS_ERROR:"max fee per gas less than block base fee",CORS_ERROR:"has been blocked by CORS policy",CANNOT_ESTIMATE_GAS2:"transaction may fail or may require manual gas limit",NO_RESPONSE_PRIVATE:"No resonse from private relay",TRY_AGAIN_AFTER_TRANSACTION:"Please, try again",ALREADY_SUBSCRIBED:"User Already Subscribed",PREFERRED_TOKEN_OR_ADDRESS_MISSING:"Please, specify both the preferred token and public wallet address",SNAPSHOT_FILE_NOT_FOUND:"We are updating our servers. Please try again in some time.",API_KEY_DOES_NOT_MATCH:"Please provide a valid API Key for the wallet. If you do not have one, please contact the Hinkal team to get one.",SAME_ADDRESS_FORBIDDEN:"You cannot recieve staked tokens on the same ethereum address",NOT_VALID_ETHEREUM_ADDRESS:"Please enter a valid Ethereum address",MUST_STAKE_AT_LEAST_ONE_ETH:"Amount too low, Please stake at least 1 ETH",OUT_OF_MEMORY:"Out of memory: Cannot allocate Wasm memory",OUT_OF_MEMORY2:"could not allocate memory",OUT_OF_MEMORY3:"out of memory",UNKNOWN:"Unknown error"},e="Not enough memory. Please, close some tabs/applications to free up memory and try again.",s={USER_REJECTED_TRANSACTION:"Transaction rejected by user.",SOME_ERROR:"Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",TOO_HIGH_AMOUNT:"The amount you provided is too high, please adjust the amount",WC_NO_MATCHING_KEY:"Wallet Connect error. Please, try again",RPC_PROVIDER_LIMIT_ERROR:"Rate Limit: please, use different rpc provider in your wallet.",INSUFFICIENT_FUNDS_GAS:"Your balance is too low to cover the transaction fees. Please add funds to proceed.",INVALID_NULLIFIER:"There seems to be a temporary caching issue. Please press ‘Refresh your balance’ under your shielded address.",STATE_TO_UPDATE:"A technical issue has occurred. Please create a ticket on Hinkal discord server.",INVALID_ZKP:"The Zero Knowledge Proof provided is invalid. Please check and try again.",NONCE_HIGH:"To resolve this issue, please reset your wallet in the Settings.",UNKNOWN_PROVIDER:"The provider is not recognized. Please check your settings.",TRANSACTION_REPLACED:"Your transaction was replaced by another. Please submit your transaction again.",TRANSACTION_REPLACED2:"This transaction was replaced. Please try submitting again.",TRANSACTION_TIMEOUT:"Your transaction got stale. Please, try in a few seconds",SAFE_ERC:"The selected token couldn’t be deposited. Please submit a ticket on Hinkal discord server.",SAFE_ERC_APPROVE:"The selected ERC20 Token could not be approved. Please submit a ticket on Hinkal discord server.",INTEGRAL_CURVE_ZERO:"There's an issue with the pool's staking function. Please submit a ticket on Hinkal discord server.",LOW_LEVEL_CALL:"A technical issue occurred. Please submit a ticket on Hinkal discord server.",ODOS_FETCH:"Current Odos price is unavailable. Please try again.",ODOS_SWAP_FAILED:"Your Odos Swap transaction didn’t go through. Please try again.",ONEINCH_SWAP_FAILED:"Your 1inch Swap transaction didn’t go through. Please try again.",PENDLE_SWAP_FAILED_BELOW_THRESHOLD:"The amount is below the minimum required. Try a higher amount.",PENDLE_SWAP_FAILED:"Your Pendle Swap transaction didn’t go through. Please try again.",PENDLE_SWAP_TOKENS_UNSUPPORTED:"You can't use Pendle to swap between those tokens. Try a different pair.",PENDLE_SWAP_TOKENS_UNSUPPORTED2:"You can't use Pendle to swap between those tokens. Try a different pair.",PENDLE_MINIMUM_AMOUNT_NOT_REACHED:"The amount is below the minimum required. Try a higher amount.",CONNECT_ERROR2:"Oops, there are connectivity issues. Please check your internet connection and try again.",WALLET_CONNECT_MATCHING_KEYS:"An internal WalletConnect error occurred. Please try reconnecting.",SIGNATURE_UNSUPPORTED_CHAINS:"The transaction couldn’t be signed: this network is not supported.",SIGNATURE_UNSUPPORTED_CHAINS2:"The transaction couldn’t be signed: this network is not supported.",SIGNATURE_UNSUPPORTED_PERSONAL_SIGN:"Your active wallet doesn't support personal signatures. Please use a different wallet.",REVERT_NO_STRING:"Your transaction didn’t go through due to technical issues. Please submit a ticket on Hinkal discord server.",INVALID_MERKLE_ROOT:"There's an issue with the merkle tree root. Please submit a ticket on Hinkal discord server.",MERLE_TREE_SNARK:"An error occurred in the circuit processing. Please submit a ticket on Hinkal discord server.",MAX_FEE_GAS_ERROR:"Your transaction was rejected due to high network congestion.",MERKLE_TREE_INCOMPLETE:"A technical issue has occurred. Please submit a ticket on Hinkal discord server.",CORS_ERROR:"Unable to reach the remote client. Please submit a ticket on Hinkal discord server.",NETWORK_ERROR:"Connection error. Please, check back later.",CONNECTIVITY_ERROR:"A connectivity issue occurred. Please check your network connection.",INBALANCE_IN_TOKEN:"Your transaction didn’t go through due to price slippage. Try increasing your slippage tolerance.",BALANCE_EQUATION_FAILED:"There's an issue with the balance calculation. Please adjust your transaction parameters.",SLIPPAGE_LIMIT_1:"Your transaction didn’t go through due to price slippage. Adjust slippage settings and retry.",CANNOT_ESTIMATE_GAS:"Unable to estimate the gas required. Please set the gas limit manually.",CANNOT_ESTIMATE_GAS2:"Your transaction didn’t go through. Please try setting gas limit manually.",GAS_STATION_NOT_AVAILABLE:"The Gas Station service is currently unavailable. Please submit a ticket on Hinkal discord server.",TIMESTAMP_STALE:"This transaction is outdated. Please initiate a new transaction.",ALREADY_SUBSCRIBED:"This email is already subscribed to the Hinkal newsletter.",OUT_OF_MEMORY:e,OUT_OF_MEMORY2:e,OUT_OF_MEMORY3:e};exports.UserFriendlyErrorCodes=s;exports.transactionErrorCodes=r;
|
|
@@ -13,7 +13,7 @@ const a = {
|
|
|
13
13
|
}, t = {
|
|
14
14
|
WC_NO_MATCHING_KEY: `creating the transaction failed
|
|
15
15
|
version`
|
|
16
|
-
},
|
|
16
|
+
}, r = {
|
|
17
17
|
...a,
|
|
18
18
|
...t,
|
|
19
19
|
SOME_ERROR: "Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",
|
|
@@ -140,17 +140,17 @@ version`
|
|
|
140
140
|
RPC_PROVIDER_LIMIT_ERROR: "Rate Limit: please, use different rpc provider in your wallet.",
|
|
141
141
|
INSUFFICIENT_FUNDS_GAS: "Your balance is too low to cover the transaction fees. Please add funds to proceed.",
|
|
142
142
|
INVALID_NULLIFIER: "There seems to be a temporary caching issue. Please press ‘Refresh your balance’ under your shielded address.",
|
|
143
|
-
STATE_TO_UPDATE: "A technical issue has occurred. Please
|
|
143
|
+
STATE_TO_UPDATE: "A technical issue has occurred. Please create a ticket on Hinkal discord server.",
|
|
144
144
|
INVALID_ZKP: "The Zero Knowledge Proof provided is invalid. Please check and try again.",
|
|
145
145
|
NONCE_HIGH: "To resolve this issue, please reset your wallet in the Settings.",
|
|
146
146
|
UNKNOWN_PROVIDER: "The provider is not recognized. Please check your settings.",
|
|
147
147
|
TRANSACTION_REPLACED: "Your transaction was replaced by another. Please submit your transaction again.",
|
|
148
148
|
TRANSACTION_REPLACED2: "This transaction was replaced. Please try submitting again.",
|
|
149
149
|
TRANSACTION_TIMEOUT: "Your transaction got stale. Please, try in a few seconds",
|
|
150
|
-
SAFE_ERC: "The selected
|
|
151
|
-
SAFE_ERC_APPROVE: "The selected ERC20 Token could not be approved. Please
|
|
152
|
-
INTEGRAL_CURVE_ZERO: "There's an issue with the pool's staking function. Please
|
|
153
|
-
LOW_LEVEL_CALL: "A technical issue occurred. Please
|
|
150
|
+
SAFE_ERC: "The selected token couldn’t be deposited. Please submit a ticket on Hinkal discord server.",
|
|
151
|
+
SAFE_ERC_APPROVE: "The selected ERC20 Token could not be approved. Please submit a ticket on Hinkal discord server.",
|
|
152
|
+
INTEGRAL_CURVE_ZERO: "There's an issue with the pool's staking function. Please submit a ticket on Hinkal discord server.",
|
|
153
|
+
LOW_LEVEL_CALL: "A technical issue occurred. Please submit a ticket on Hinkal discord server.",
|
|
154
154
|
ODOS_FETCH: "Current Odos price is unavailable. Please try again.",
|
|
155
155
|
ODOS_SWAP_FAILED: "Your Odos Swap transaction didn’t go through. Please try again.",
|
|
156
156
|
ONEINCH_SWAP_FAILED: "Your 1inch Swap transaction didn’t go through. Please try again.",
|
|
@@ -164,12 +164,12 @@ version`
|
|
|
164
164
|
SIGNATURE_UNSUPPORTED_CHAINS: "The transaction couldn’t be signed: this network is not supported.",
|
|
165
165
|
SIGNATURE_UNSUPPORTED_CHAINS2: "The transaction couldn’t be signed: this network is not supported.",
|
|
166
166
|
SIGNATURE_UNSUPPORTED_PERSONAL_SIGN: "Your active wallet doesn't support personal signatures. Please use a different wallet.",
|
|
167
|
-
REVERT_NO_STRING: "Your transaction didn’t go through due to technical issues. Please
|
|
168
|
-
INVALID_MERKLE_ROOT: "There's an issue with the merkle tree root. Please
|
|
169
|
-
MERLE_TREE_SNARK: "An error occurred in the circuit processing.
|
|
167
|
+
REVERT_NO_STRING: "Your transaction didn’t go through due to technical issues. Please submit a ticket on Hinkal discord server.",
|
|
168
|
+
INVALID_MERKLE_ROOT: "There's an issue with the merkle tree root. Please submit a ticket on Hinkal discord server.",
|
|
169
|
+
MERLE_TREE_SNARK: "An error occurred in the circuit processing. Please submit a ticket on Hinkal discord server.",
|
|
170
170
|
MAX_FEE_GAS_ERROR: "Your transaction was rejected due to high network congestion.",
|
|
171
|
-
MERKLE_TREE_INCOMPLETE: "A technical issue has occurred. Please
|
|
172
|
-
CORS_ERROR: "Unable to reach the remote client. Please
|
|
171
|
+
MERKLE_TREE_INCOMPLETE: "A technical issue has occurred. Please submit a ticket on Hinkal discord server.",
|
|
172
|
+
CORS_ERROR: "Unable to reach the remote client. Please submit a ticket on Hinkal discord server.",
|
|
173
173
|
NETWORK_ERROR: "Connection error. Please, check back later.",
|
|
174
174
|
CONNECTIVITY_ERROR: "A connectivity issue occurred. Please check your network connection.",
|
|
175
175
|
INBALANCE_IN_TOKEN: "Your transaction didn’t go through due to price slippage. Try increasing your slippage tolerance.",
|
|
@@ -177,7 +177,7 @@ version`
|
|
|
177
177
|
SLIPPAGE_LIMIT_1: "Your transaction didn’t go through due to price slippage. Adjust slippage settings and retry.",
|
|
178
178
|
CANNOT_ESTIMATE_GAS: "Unable to estimate the gas required. Please set the gas limit manually.",
|
|
179
179
|
CANNOT_ESTIMATE_GAS2: "Your transaction didn’t go through. Please try setting gas limit manually.",
|
|
180
|
-
GAS_STATION_NOT_AVAILABLE: "The Gas Station service is currently unavailable. Please
|
|
180
|
+
GAS_STATION_NOT_AVAILABLE: "The Gas Station service is currently unavailable. Please submit a ticket on Hinkal discord server.",
|
|
181
181
|
TIMESTAMP_STALE: "This transaction is outdated. Please initiate a new transaction.",
|
|
182
182
|
ALREADY_SUBSCRIBED: "This email is already subscribed to the Hinkal newsletter.",
|
|
183
183
|
OUT_OF_MEMORY: e,
|
|
@@ -186,5 +186,5 @@ version`
|
|
|
186
186
|
};
|
|
187
187
|
export {
|
|
188
188
|
s as UserFriendlyErrorCodes,
|
|
189
|
-
|
|
189
|
+
r as transactionErrorCodes
|
|
190
190
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("async-mutex"),q=require("../../../constants/token-data/ERC20Registry.cjs"),I=require("../../utils/erc20tokenFunctions.cjs"),
|
|
2
|
-
Please try again with ${g.symbol}`;throw new
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("async-mutex"),q=require("../../../constants/token-data/ERC20Registry.cjs"),I=require("../../utils/erc20tokenFunctions.cjs"),f=require("../../utils/caseInsensitive.utils.cjs"),k=require("../../utils/volatile-patcher.utils.cjs"),w=require("../../../data-structures/utxo/Utxo.cjs"),U=require("../../../data-structures/custom-token-registry/CustomTokenRegistry.cjs"),x=require("../../../data-structures/volatile-helper/VolatileHelper.cjs"),P=require("../etherFunctions.cjs"),b=require("../../../error-handling/customErrors/ErrorWithAmount.cjs"),y=require("./getInputUtxoAndBalance.cjs"),E=new A.Mutex,S=async a=>{const i=await E.acquire();try{const{inputUtxos:r}=await y.getInputUtxoAndBalance({hinkal:a,sliceIfMore6:!1}),s=a.getCurrentChainId(),u=[...q.getERC20Registry(s),...U.customTokenRegistry.getCustomTokens(s)];await k.patchRegistry(s);const h=u.map(e=>({token:e,balance:r.reduce((t,c)=>{const n=e.isVolatile?e.sharedAddress:e.erc20TokenAddress;return f.caseInsensitiveEqual(n,c.erc20TokenAddress)?t+c.amount:t},0n),timestamp:r.filter(t=>f.caseInsensitiveEqual(t.erc20TokenAddress,e.erc20TokenAddress))[0]?.timeStamp,nfts:r.filter(t=>f.caseInsensitiveEqual(t.erc20TokenAddress,e.erc20TokenAddress)&&t.tokenId!==0).map(t=>({tokenId:t.tokenId,timestamp:t.timeStamp}))}));return await Promise.all(h.map(async e=>{if(!e.token.isVolatile)return e;e.token?.sharedAddress||console.log("VolatileToken must have a corresponding sharedAddress");let t=0n;return e.balance>0n&&(t=await x.VolatileHelper.getVolatileTokenBalance(s,e.token.sharedAddress,e.balance)),{...e,balance:BigInt(t)}}))}catch(r){console.log("Error while processing shielded balance:",r)}finally{i()}return[]},v=async(a,i,r,s=6,u=i.map(()=>0),h=!1)=>{const{userKeys:p}=a,e=[],t=[];let c=0;for(let n=0;n<i.length;n+=1)if(h===!1){const{inputUtxos:o}=await y.getInputUtxoAndBalance({hinkal:a,erc20TokenAddress:i[n],tokenId:u[n],sliceIfMore6:!1});c=Math.max(o.length,c),t.push(o)}else t.push([]);return c===2?t:(t.forEach((n,o)=>{if(n.length>s){const l=n.slice(0,s),d=l.reduce((g,m)=>g+m.amount,0n);if(r[o]<0n&&d<-r[o]){const g=I.getERC20Token(i[o],a.getCurrentChainId()),m=Number(P.getAmountWithPrecision(d,g,2)),T=`Unfortunately your transaction did not go through due to UTXOs limitations.
|
|
2
|
+
Please try again with ${g.symbol}`;throw new b.ErrorWithAmount(m,T)}e.push(l)}else if(n.length<=s){const l=[...n];let d=s-n.length;for(;d>0;)d-=1,l.push(new w.Utxo({amount:0n,erc20TokenAddress:i[o],shieldedPrivateKey:p.getShieldedPrivateKey(),tokenId:u[o]}));e.push(l)}}),e)};exports.addPaddingToUtxos=v;exports.getShieldedBalance=S;
|
|
@@ -1,82 +1,90 @@
|
|
|
1
1
|
import { Mutex as A } from "async-mutex";
|
|
2
2
|
import { getERC20Registry as w } from "../../../constants/token-data/ERC20Registry.mjs";
|
|
3
3
|
import { getERC20Token as k } from "../../utils/erc20tokenFunctions.mjs";
|
|
4
|
-
import { caseInsensitiveEqual as
|
|
4
|
+
import { caseInsensitiveEqual as u } from "../../utils/caseInsensitive.utils.mjs";
|
|
5
5
|
import { patchRegistry as I } from "../../utils/volatile-patcher.utils.mjs";
|
|
6
6
|
import { Utxo as U } from "../../../data-structures/utxo/Utxo.mjs";
|
|
7
|
-
import { customTokenRegistry as
|
|
8
|
-
import { VolatileHelper as
|
|
7
|
+
import { customTokenRegistry as b } from "../../../data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
8
|
+
import { VolatileHelper as P } from "../../../data-structures/volatile-helper/VolatileHelper.mjs";
|
|
9
9
|
import { getAmountWithPrecision as x } from "../etherFunctions.mjs";
|
|
10
10
|
import { ErrorWithAmount as S } from "../../../error-handling/customErrors/ErrorWithAmount.mjs";
|
|
11
|
-
import { getInputUtxoAndBalance as
|
|
11
|
+
import { getInputUtxoAndBalance as y } from "./getInputUtxoAndBalance.mjs";
|
|
12
12
|
const C = new A(), O = async (i) => {
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
e.balance
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
13
|
+
const a = await C.acquire();
|
|
14
|
+
try {
|
|
15
|
+
const { inputUtxos: s } = await y({ hinkal: i, sliceIfMore6: !1 }), r = i.getCurrentChainId(), m = [...w(r), ...b.getCustomTokens(r)];
|
|
16
|
+
await I(r);
|
|
17
|
+
const p = m.map((e) => ({
|
|
18
|
+
token: e,
|
|
19
|
+
balance: s.reduce((t, d) => {
|
|
20
|
+
const o = e.isVolatile ? e.sharedAddress : e.erc20TokenAddress;
|
|
21
|
+
return u(o, d.erc20TokenAddress) ? t + d.amount : t;
|
|
22
|
+
}, 0n),
|
|
23
|
+
timestamp: s.filter(
|
|
24
|
+
(t) => u(t.erc20TokenAddress, e.erc20TokenAddress)
|
|
25
|
+
)[0]?.timeStamp,
|
|
26
|
+
nfts: s.filter(
|
|
27
|
+
(t) => u(t.erc20TokenAddress, e.erc20TokenAddress) && t.tokenId !== 0
|
|
28
|
+
).map((t) => ({ tokenId: t.tokenId, timestamp: t.timeStamp }))
|
|
29
|
+
}));
|
|
30
|
+
return await Promise.all(
|
|
31
|
+
p.map(async (e) => {
|
|
32
|
+
if (!e.token.isVolatile)
|
|
33
|
+
return e;
|
|
34
|
+
e.token?.sharedAddress || console.log("VolatileToken must have a corresponding sharedAddress");
|
|
35
|
+
let t = 0n;
|
|
36
|
+
return e.balance > 0n && (t = await P.getVolatileTokenBalance(
|
|
37
|
+
r,
|
|
38
|
+
e.token.sharedAddress,
|
|
39
|
+
e.balance
|
|
40
|
+
)), {
|
|
41
|
+
...e,
|
|
42
|
+
balance: BigInt(t)
|
|
43
|
+
};
|
|
44
|
+
})
|
|
45
|
+
);
|
|
46
|
+
} catch (s) {
|
|
47
|
+
console.log("Error while processing shielded balance:", s);
|
|
48
|
+
} finally {
|
|
49
|
+
a();
|
|
50
|
+
}
|
|
51
|
+
return [];
|
|
52
|
+
}, X = async (i, a, s, r = 6, m = a.map(() => 0), p = !1) => {
|
|
53
|
+
const { userKeys: g } = i, e = [], t = [];
|
|
46
54
|
let d = 0;
|
|
47
|
-
for (let o = 0; o <
|
|
55
|
+
for (let o = 0; o < a.length; o += 1)
|
|
48
56
|
if (p === !1) {
|
|
49
|
-
const { inputUtxos:
|
|
57
|
+
const { inputUtxos: n } = await y({
|
|
50
58
|
hinkal: i,
|
|
51
|
-
erc20TokenAddress:
|
|
52
|
-
tokenId:
|
|
59
|
+
erc20TokenAddress: a[o],
|
|
60
|
+
tokenId: m[o],
|
|
53
61
|
sliceIfMore6: !1
|
|
54
62
|
});
|
|
55
|
-
d = Math.max(
|
|
63
|
+
d = Math.max(n.length, d), t.push(n);
|
|
56
64
|
} else
|
|
57
65
|
t.push([]);
|
|
58
|
-
return d === 2 ? t : (t.forEach((o,
|
|
59
|
-
if (o.length >
|
|
60
|
-
const
|
|
61
|
-
if (
|
|
62
|
-
const f = k(n
|
|
66
|
+
return d === 2 ? t : (t.forEach((o, n) => {
|
|
67
|
+
if (o.length > r) {
|
|
68
|
+
const l = o.slice(0, r), c = l.reduce((f, h) => f + h.amount, 0n);
|
|
69
|
+
if (s[n] < 0n && c < -s[n]) {
|
|
70
|
+
const f = k(a[n], i.getCurrentChainId()), h = Number(x(c, f, 2)), T = `Unfortunately your transaction did not go through due to UTXOs limitations.
|
|
63
71
|
Please try again with ${f.symbol}`;
|
|
64
|
-
throw new S(h,
|
|
72
|
+
throw new S(h, T);
|
|
65
73
|
}
|
|
66
|
-
e.push(
|
|
67
|
-
} else if (o.length <=
|
|
68
|
-
const
|
|
69
|
-
let
|
|
70
|
-
for (;
|
|
71
|
-
|
|
74
|
+
e.push(l);
|
|
75
|
+
} else if (o.length <= r) {
|
|
76
|
+
const l = [...o];
|
|
77
|
+
let c = r - o.length;
|
|
78
|
+
for (; c > 0; )
|
|
79
|
+
c -= 1, l.push(
|
|
72
80
|
new U({
|
|
73
81
|
amount: 0n,
|
|
74
|
-
erc20TokenAddress: n
|
|
75
|
-
shieldedPrivateKey:
|
|
76
|
-
tokenId:
|
|
82
|
+
erc20TokenAddress: a[n],
|
|
83
|
+
shieldedPrivateKey: g.getShieldedPrivateKey(),
|
|
84
|
+
tokenId: m[n]
|
|
77
85
|
})
|
|
78
86
|
);
|
|
79
|
-
e.push(
|
|
87
|
+
e.push(l);
|
|
80
88
|
}
|
|
81
89
|
}), e);
|
|
82
90
|
};
|
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("./API/getServerURL.cjs"),q=require("./API/getCoingeckoPrice.cjs"),ue=require("./API/callOneInchAPI.cjs"),ge=require("./API/callBeefyGraphAPI.cjs"),pe=require("./API/callRelayer.cjs"),Ae=require("./API/getAxelarGasEstimate.cjs"),ye=require("./API/getGasEstimates.cjs"),f=require("./API/getTokenPrice.cjs"),Pe=require("./API/checkRisk.cjs"),Te=require("./API/relayCalls.cjs"),ke=require("./API/API.cjs"),S=require("./API/callCurveAPI.cjs"),me=require("./API/getRelayerURL.cjs"),Re=require("./API/duneAPI.cjs"),he=require("./constants/assets.constants.cjs"),r=require("./constants/token-data/index.cjs"),Se=require("./constants/deploy-data/deploy-data-bnbMainnet.json.cjs"),Ce=require("./constants/deploy-data/deploy-data-arbMainnet.json.cjs"),Ee=require("./constants/deploy-data/deploy-data-ethMainnet.json.cjs"),Ie=require("./constants/deploy-data/deploy-data-optimism.json.cjs"),be=require("./constants/deploy-data/deploy-data-polygon.json.cjs"),qe=require("./constants/deploy-data/deploy-data-avalanche.json.cjs"),_e=require("./constants/deploy-data/deploy-data-base.json.cjs"),ve=require("./constants/deploy-data/deploy-data-localhost.json.cjs"),De=require("./constants/deploy-data/deploy-data-axelar1.json.cjs"),xe=require("./constants/deploy-data/deploy-data-axelar2.json.cjs"),c=require("./constants/chains.constants.cjs"),d=require("./constants/fees.constants.cjs"),R=require("./constants/contracts.constants.cjs"),A=require("./constants/kyc.constants.cjs"),i=require("./constants/server.constants.cjs"),y=require("./constants/vite.constants.cjs"),n=require("./constants/protocol.constants.cjs"),P=require("./constants/coingecko.constants.cjs"),Le=require("./constants/axelar.constants.cjs"),H=require("./constants/backend.constants.cjs"),m=require("./constants/crvCvx.registry.cjs"),fe=require("./constants/crvDynamic.registry.cjs"),u=require("./constants/lido.constants.cjs"),g=require("./constants/rewards.constants.cjs"),Fe=require("./constants/reorg-depths.constants.cjs"),G=require("./constants/beefy.registry.cjs"),k=require("./constants/pendle.registry.cjs"),F=require("./crypto/poseidon.cjs"),K=require("./crypto/babyJub.cjs"),Ue=require("./crypto/preProcessing.cjs"),Me=require("./data-structures/ValueCache/ValueCache.cjs"),_=require("./data-structures/crypto-keys/decodeUTXO.cjs"),U=require("./data-structures/crypto-keys/encryptDecryptUtxo.cjs"),Y=require("./data-structures/crypto-keys/keys.cjs"),Z=require("./data-structures/crypto-keys/keyUtils.cjs"),Oe=require("./data-structures/Hinkal/Hinkal.cjs"),Ne=require("./data-structures/Hinkal/hinkalActionBeefy.cjs"),Be=require("./data-structures/Hinkal/hinkalActionConvex.cjs"),we=require("./data-structures/Hinkal/hinkalActionCurve.cjs"),Ve=require("./data-structures/Hinkal/hinkalActionPendle.cjs"),z=require("./data-structures/Hinkal/hinkalDeposit.cjs"),We=require("./data-structures/Hinkal/hinkalSwap.cjs"),He=require("./data-structures/Hinkal/hinkalTransfer.cjs"),Ge=require("./data-structures/Hinkal/hinkalWithdraw.cjs"),Ke=require("./data-structures/Hinkal/hinkalPrivateWallet.cjs"),Ye=require("./data-structures/Hinkal/resetMerkleTrees.cjs"),Ze=require("./data-structures/merkle-tree/MerkleTree.cjs"),ze=require("./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs"),je=require("./data-structures/merkle-tree/MerkleTreeIncompleteError.cjs"),Qe=require("./data-structures/event-service/AbstractAccessTokenSnapshotService.cjs"),Xe=require("./data-structures/event-service/AbstractCommitmentsSnapshotService.cjs"),Je=require("./data-structures/event-service/AbstractNullifierSnapshotService.cjs"),$e=require("./data-structures/event-service/AbstractSnapshotService.cjs"),et=require("./data-structures/event-service/AbstractEventService.cjs"),tt=require("./data-structures/utxo/Utxo.cjs"),rt=require("./data-structures/custom-token-registry/CustomTokenRegistry.cjs"),ot=require("./data-structures/token-price-fetcher/TokenChecker.cjs"),it=require("./data-structures/transactions-manager/TransactionsManager.cjs"),j=require("./data-structures/transactions-manager/history/history.types.cjs"),nt=require("./data-structures/volatile-helper/VolatileHelper.cjs"),at=require("./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs"),st=require("./data-structures/cacheDevices/FileCacheDevice.cjs"),ct=require("./data-structures/cacheDevices/LocalStorageCacheDevice.cjs"),lt=require("./error-handling/customErrors/FeeOverTransactionValueError.cjs"),Q=require("./error-handling/customErrors/customErrors.helpers.cjs"),X=require("./error-handling/error-codes.constants.cjs"),J=require("./error-handling/get-error.message.cjs"),dt=require("./error-handling/handleErrorRestore.cjs"),ut=require("./error-handling/logError.cjs"),gt=require("./error-handling/types.cjs"),p=require("./externalABIs/index.cjs"),M=require("./functions/web3/functionCalls/accessTokenCalls.cjs"),pt=require("./functions/kyc/passportHelper.cjs"),At=require("./functions/kyc/openDefaultPassportWindow.cjs"),e=require("./functions/utils/amounts.utils.cjs"),h=require("./functions/utils/cacheFunctions.cjs"),yt=require("./functions/utils/create-provider.cjs"),C=require("./functions/utils/external-action.utils.cjs"),O=require("./functions/utils/erc20tokenFunctions.cjs"),Pt=require("./functions/utils/requireEnv.cjs"),N=require("./functions/utils/resolve-sync.utils.cjs"),Tt=require("./functions/utils/convertIntegrationProviderToExternalActionId.cjs"),kt=require("./functions/pre-transaction/interaction-to-action.cjs"),mt=require("./functions/pre-transaction/outputUtxoProcessing.cjs"),Rt=require("./functions/pre-transaction/process-gas-estimates.cjs"),ht=require("./functions/pre-transaction/processAmountChanges.cjs"),St=require("./functions/pre-transaction/getFlatFees.cjs"),$=require("./functions/utils/evmNetworkFunctions.cjs"),Ct=require("./functions/utils/axelar.utils.cjs"),ee=require("./functions/utils/userAgent.cjs"),v=require("./functions/utils/getDataFromTransaction.cjs"),Et=require("./functions/utils/reloadPage.cjs"),B=require("./functions/utils/string.utils.cjs"),It=require("./functions/utils/nickname.utils.cjs"),w=require("./functions/utils/caseInsensitive.utils.cjs"),bt=require("./functions/utils/time.utils.cjs"),qt=require("./functions/utils/volatile-patcher.utils.cjs"),_t=require("./functions/utils/cacheDevice.utils.cjs"),te=require("./functions/utils/process.utils.cjs"),T=require("./functions/web3/etherFunctions.cjs"),re=require("./functions/web3/events/getInputUtxoAndBalance.cjs"),oe=require("./functions/web3/events/getShieldedBalance.cjs"),ie=require("./functions/web3/events/web3RetrieveEvents.cjs"),vt=require("./functions/web3/events/balanceChangedHandler.cjs"),D=require("./functions/web3/uniswapAPI.cjs"),Dt=require("./functions/web3/odosAPI.cjs"),xt=require("./functions/web3/oneInchAPI.cjs"),Lt=require("./functions/web3/runContractFunction.cjs"),ft=require("./functions/snarkjs/constructGeneralZkProof.cjs"),Ft=require("./functions/snarkjs/constructEmporiumProof.cjs"),l=require("./functions/snarkjs/common.snarkjs.cjs"),Ut=require("./functions/snarkjs/generateZkProof.cjs"),Mt=require("./functions/protocols/curve.protocols.cjs"),Ot=require("./functions/protocols/convex.protocols.cjs"),E=require("./functions/protocols/pendle.helpers.cjs"),I=require("./functions/staking/index.cjs"),ne=require("./functions/private-wallet/emporium.helpers.cjs"),ae=require("./functions/private-wallet/opProducer.cjs"),se=require("./types/beefy.types.cjs"),x=require("./types/circom-data.types.cjs"),Nt=require("./types/ethereum-network.types.cjs"),Bt=require("./types/external-action.types.cjs"),a=require("./types/hinkal.types.cjs"),b=require("./types/kyc.types.cjs"),wt=require("./types/token.types.cjs"),ce=require("./types/slippage.types.cjs"),Vt=require("./types/transactions.types.cjs"),o=require("./types/time.types.cjs"),t=require("./types/rewards.types.cjs"),s=require("./types/pendle.types.cjs"),L=require("./types/curve.types.cjs"),Wt=require("./types/hinkal.stake.types.cjs"),le=require("./types/admin.types.cjs"),de=require("./constants/token-data/ERC20Registry.cjs"),V=require("./constants/token-data/tokenPricing.consts.cjs"),Ht=require("./constants/token-data/popularTokens.constants.cjs"),Gt=require("./externalABIs/amToken.cjs"),Kt=require("./externalABIs/USDC.cjs"),Yt=require("./externalABIs/DAI.cjs"),Zt=require("./externalABIs/USDR.cjs"),zt=require("./externalABIs/USDR3CRV.cjs"),jt=require("./externalABIs/USDT.cjs"),Qt=require("./externalABIs/WETH.cjs"),Xt=require("./externalABIs/BUSD.cjs"),Jt=require("./externalABIs/SanctionsList.cjs"),$t=require("./externalABIs/LidoStEthAbi.json.cjs"),er=require("./externalABIs/LidoStMaticAbi.json.cjs"),tr=require("./externalABIs/LidoWithdrawalQueueERC721Abi.json.cjs"),rr=require("./externalABIs/LidoWstEthAbi.json.cjs"),or=require("./externalABIs/PoLidoNftAbi.json.cjs"),ir=require("./externalABIs/LidoStakeManagerAbi.json.cjs"),nr=require("./externalABIs/OptimismGasPriceOracle.json.cjs");exports.getDataServerURL=W.getDataServerURL;exports.getServerURL=W.getServerURL;exports.getCoingeckoPrice=q.getCoingeckoPrice;exports.getCoingeckoPrice2=q.getCoingeckoPrice2;exports.getCoingeckoPrices=q.getCoingeckoPrices;exports.getCoingeckoTokenList=q.getCoingeckoTokenList;exports.callOneInchAPI=ue.callOneInchAPI;exports.getBeefyHistoricalChartData=ge.getBeefyHistoricalChartData;exports.callRelayerTransactAPI=pe.callRelayerTransactAPI;exports.getAxelarGasEstimate=Ae.getAxelarGasEstimate;exports.getGasEstimates=ye.getGasEstimates;exports.getTokenPrice=f.getTokenPrice;exports.getTokenPriceEth=f.getTokenPriceEth;exports.getTokenPrices=f.getTokenPrices;exports.checkRisk=Pe.checkRisk;exports.getIdleRelay=Te.getIdleRelay;exports.API=ke.API;exports.getCurvePools=S.getCurvePools;exports.getCurvePoolsforPriceFetching=S.getCurvePoolsforPriceFetching;exports.getExtendedPoolInfo=S.getExtendedPoolInfo;exports.lpTokens=S.lpTokens;exports.lpTokensToBasePool=S.lpTokensToBasePool;exports.getRelayerURL=me.getRelayerURL;exports.getPublicWalletBalance=Re.getPublicWalletBalance;exports.IMAGE_PATHS=he.IMAGE_PATHS;exports.arbMainnetRegistry=r.arbMainnetRegistry;exports.arbMainnetRegistryFixed=r.arbMainnetRegistryFixed;exports.avalancheRegistry=r.avalancheRegistry;exports.avalancheRegistryFixed=r.avalancheRegistryFixed;exports.baseRegistry=r.baseRegistry;exports.baseRegistryFixed=r.baseRegistryFixed;exports.bnbMainnetRegistry=r.bnbMainnetRegistry;exports.bnbMainnetRegistryFixed=r.bnbMainnetRegistryFixed;exports.ethMainnetRegistry=r.ethMainnetRegistry;exports.ethMainnetRegistryFixed=r.ethMainnetRegistryFixed;exports.localhostRegistry=r.localhostRegistry;exports.optimismRegistry=r.optimismRegistry;exports.optimismRegistryFixed=r.optimismRegistryFixed;exports.polygonRegistry=r.polygonRegistry;exports.polygonRegistryFixed=r.polygonRegistryFixed;exports.bnbMainnetData=Se.default;exports.arbMainnetData=Ce.default;exports.ethMainnetData=Ee.default;exports.optimismData=Ie.default;exports.polygonData=be.default;exports.avalancheData=qe.default;exports.baseData=_e.default;exports.localhostData=ve.default;exports.axelar1Data=De.default;exports.axelar2Data=xe.default;exports.EthereumNetworkType=c.EthereumNetworkType;exports.chainIds=c.chainIds;exports.chainIdsByType=c.chainIdsByType;exports.crossChainAccessTokenNetworks=c.crossChainAccessTokenNetworks;exports.getNonLocalhostChainId=c.getNonLocalhostChainId;exports.isLocalNetwork=c.isLocalNetwork;exports.isOptimismBedrockLike=c.isOptimismBedrockLike;exports.isOptimismEcotoneLike=c.isOptimismEcotoneLike;exports.isOptimismLike=c.isOptimismLike;exports.localhostNetwork=c.localhostNetwork;exports.networkRegistry=c.networkRegistry;exports.HINKAL_EXTERNAL_ACTION_FEE=d.HINKAL_EXTERNAL_ACTION_FEE;exports.HINKAL_UNIVERSAL_FEE=d.HINKAL_UNIVERSAL_FEE;exports.getAmountAfterRelayAndFlatFees=d.getAmountAfterRelayAndFlatFees;exports.getAmountAfterRelayAndFlatFeesAndSlippage=d.getAmountAfterRelayAndFlatFeesAndSlippage;exports.getAmountAfterRelayFee=d.getAmountAfterRelayFee;exports.getAmountAfterSlippage=d.getAmountAfterSlippage;exports.getAmountWithoutFee=d.getAmountWithoutFee;exports.getHinkalFeeRateInBeeps=d.getHinkalFeeRateInBeeps;exports.getRelayFee=d.getRelayFee;exports.getSlippageFee=d.getSlippageFee;exports.contractMetadataMapping=R.contractMetadataMapping;exports.getHinkalParameters=R.getHinkalParameters;exports.uniswapV2PoolData=R.uniswapV2PoolData;exports.uniswapV3FactoryData=R.uniswapV3FactoryData;exports.uniswapV3PoolData=R.uniswapV3PoolData;exports.uniswapV3QuoterData=R.uniswapV3QuoterData;exports.AIPRISE_KYB_TEMPLATE_ID_PROD=A.AIPRISE_KYB_TEMPLATE_ID_PROD;exports.AIPRISE_KYC_TEMPLATE_ID_PROD=A.AIPRISE_KYC_TEMPLATE_ID_PROD;exports.RECLAIM_MESSAGE_TO_SIGN=A.RECLAIM_MESSAGE_TO_SIGN;exports.ReclaimPassports=A.ReclaimPassports;exports.StandardPassports=A.StandardPassports;exports.SupportedPassports=A.SupportedPassports;exports.aipriseBaseOnboardingProductionUrl=A.aipriseBaseOnboardingProductionUrl;exports.aipriseBaseOnboardingSandboxUrl=A.aipriseBaseOnboardingSandboxUrl;exports.supportedPassportLinks=A.supportedPassportLinks;exports.API_CONFIG=i.API_CONFIG;exports.DATA_SERVER_CONFIG=i.DATA_SERVER_CONFIG;exports.DATA_SERVER_PORT=i.DATA_SERVER_PORT;exports.DATA_SERVER_URL_LOCAL=i.DATA_SERVER_URL_LOCAL;exports.DATA_SERVER_URL_PRODUCTION=i.DATA_SERVER_URL_PRODUCTION;exports.PLAYGROUND_RELAYER_URLS=i.PLAYGROUND_RELAYER_URLS;exports.PLAYGROUND_SERVER_URLS=i.PLAYGROUND_SERVER_URLS;exports.PLAYGROUND_URL=i.PLAYGROUND_URL;exports.RELAYER_CONFIG=i.RELAYER_CONFIG;exports.RELAYER_URLS=i.RELAYER_URLS;exports.SERVER_URLS=i.SERVER_URLS;exports.STAGING_RELAYER_URLS=i.STAGING_RELAYER_URLS;exports.STAGING_SERVER_URLS=i.STAGING_SERVER_URLS;exports.STAGING_URL=i.STAGING_URL;exports.DEPLOYMENT_MODE=y.DEPLOYMENT_MODE;exports.deploymentMode=y.deploymentMode;exports.isDevelopment=y.isDevelopment;exports.isNode=y.isNode;exports.isNotClientProduction=y.isNotClientProduction;exports.isNotProduction=y.isNotProduction;exports.isPlayground=y.isPlayground;exports.isStaging=y.isStaging;exports.isWebpack=y.isWebpack;exports.CIRCOM_P=n.CIRCOM_P;exports.CIRCOM_P_HALF=n.CIRCOM_P_HALF;exports.beefyChainIds=n.beefyChainIds;exports.crvSymbol=n.crvSymbol;exports.curveWithdrawGasTokenAddress=n.curveWithdrawGasTokenAddress;exports.curveZeroAddress=n.curveZeroAddress;exports.cvxSymbol=n.cvxSymbol;exports.ethVolatileAddress=n.ethVolatileAddress;exports.oneInchZeroAddress=n.oneInchZeroAddress;exports.ownerPublicKey=n.ownerPublicKey;exports.permitSignatureValidFor=n.permitSignatureValidFor;exports.signaturePhrase=n.signaturePhrase;exports.threePoolSymbol=n.threePoolSymbol;exports.zeroAddress=n.zeroAddress;exports.COINGECKO_API_KEY=P.COINGECKO_API_KEY;exports.CoinGeckoChainLabels=P.CoinGeckoChainLabels;exports.coingeckoPriceUrl=P.coingeckoPriceUrl;exports.coingeckoPriceUrl2=P.coingeckoPriceUrl2;exports.coingeckoTokenListUrl=P.coingeckoTokenListUrl;exports.getCoingeckoIdForNativeTokens=P.getCoingeckoIdForNativeTokens;exports.getCoingeckoPlatform=P.getCoingeckoPlatform;exports.proCoingeckoUrl=P.proCoingeckoUrl;exports.proHeader=P.proHeader;exports.AxelarRegistry=Le.AxelarRegistry;exports.NETWORKS=H.NETWORKS;exports.getGasStationUrl=H.getGasStationUrl;exports.arbMainnetCrvCvxRegistry=m.arbMainnetCrvCvxRegistry;exports.avalancheCrvCvxRegistry=m.avalancheCrvCvxRegistry;exports.baseCrvCvxRegistry=m.baseCrvCvxRegistry;exports.ethCrvCvxRegistry=m.ethCrvCvxRegistry;exports.getCrvCvxWithChainId=m.getCrvCvxWithChainId;exports.optimismCrvCvxRegistry=m.optimismCrvCvxRegistry;exports.polygonCrvCvxRegistry=m.polygonCrvCvxRegistry;exports.getCalcTokenAmountWithDynamicArray=fe.getCalcTokenAmountWithDynamicArray;exports.ethSymbol=u.ethSymbol;exports.lidoStEthContractAddress=u.lidoStEthContractAddress;exports.lidoStMaticAddress=u.lidoStMaticAddress;exports.lidoStakeManagerAddress=u.lidoStakeManagerAddress;exports.lidoWithdrawalQueueERC721Address=u.lidoWithdrawalQueueERC721Address;exports.lidoWstEthContractAddress=u.lidoWstEthContractAddress;exports.maticSymbol=u.maticSymbol;exports.poLidoNftAddress=u.poLidoNftAddress;exports.stMaticSymbol=u.stMaticSymbol;exports.wstEthSymbol=u.wstEthSymbol;exports.ACCESS_TOKEN_MINTING_POINTS=g.ACCESS_TOKEN_MINTING_POINTS;exports.CERTIFICATION_DISABLE_WEEK=g.CERTIFICATION_DISABLE_WEEK;exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=g.REWARD_RECEIVABLE_TOKEN_SYMBOLS;exports.RafflePrizePoints=g.RafflePrizePoints;exports.boostAmounts=g.boostAmounts;exports.lpLink=g.lpLink;exports.lpProgramStartWeek=g.lpProgramStartWeek;exports.pointsLink=g.pointsLink;exports.raffleProgramStartWeek=g.raffleProgramStartWeek;exports.referralLink=g.referralLink;exports.blockReorgDepth=Fe.blockReorgDepth;exports.ethBeefyRegistry=G.ethBeefyRegistry;exports.getBeefyRegistryWithChainId=G.getBeefyRegistryWithChainId;exports.arbPendleRegistry=k.arbPendleRegistry;exports.bnbPendleRegistry=k.bnbPendleRegistry;exports.ethPendleRegistry=k.ethPendleRegistry;exports.findSyAddress=k.findSyAddress;exports.getPendleRegistryWithChainId=k.getPendleRegistryWithChainId;exports.getYtTokensWithChainId=k.getYtTokensWithChainId;exports.isYtToken=k.isYtToken;exports.optimismPendleRegistry=k.optimismPendleRegistry;exports.poseidonFunction=F.poseidonFunction;exports.poseidonHash=F.poseidonHash;exports.poseidonHolder=F.poseidonHolder;exports.babyJubInstance=K.babyJubInstance;exports.jubHolder=K.jubHolder;exports.preProcessing=Ue.preProcessing;exports.ValueCache=Me.ValueCache;exports.abiDecodeUtxo=_.abiDecodeUtxo;exports.checkUtxoSignature=_.checkUtxoSignature;exports.decodeUtxo=_.decodeUtxo;exports.decodeUtxoConstructorArgs=_.decodeUtxoConstructorArgs;exports.decryptUtxo=U.decryptUtxo;exports.decryptUtxoConstructorArgs=U.decryptUtxoConstructorArgs;exports.encryptUtxo=U.encryptUtxo;exports.EncryptionKeyPairDefaultValue=Y.EncryptionKeyPairDefaultValue;exports.UserKeys=Y.UserKeys;exports.getCircomSign=Z.getCircomSign;exports.isCircomNegative=Z.isCircomNegative;exports.Hinkal=Oe.Hinkal;exports.hinkalActionBeefy=Ne.hinkalActionBeefy;exports.hinkalActionConvex=Be.hinkalActionConvex;exports.hinkalActionCurve=we.hinkalActionCurve;exports.hinkalActionPendle=Ve.hinkalActionPendle;exports.hinkalDeposit=z.hinkalDeposit;exports.hinkalDepositForOther=z.hinkalDepositForOther;exports.hinkalSwap=We.hinkalSwap;exports.hinkalTransfer=He.hinkalTransfer;exports.hinkalWithdraw=Ge.hinkalWithdraw;exports.hinkalPrivateWallet=Ke.hinkalPrivateWallet;exports.resetMerkleTrees=Ye.resetMerkleTrees;exports.MerkleTree=Ze.MerkleTree;exports.getPatchedAccessTokenMerkleTree=ze.getPatchedAccessTokenMerkleTree;exports.MerkleTreeIncompleteError=je.MerkleTreeIncompleteError;exports.AbstractAccessTokenSnapshotService=Qe.AbstractAccessTokenSnapshotService;exports.AbstractCommitmentsSnapshotService=Xe.AbstractCommitmentsSnapshotService;exports.AbstractNullifierSnapshotService=Je.AbstractNullifierSnapshotService;exports.AbstractSnapshotService=$e.AbstractSnapshotService;exports.AbstractEventService=et.AbstractEventService;exports.Utxo=tt.Utxo;exports.customTokenRegistry=rt.customTokenRegistry;exports.TokenChecker=ot.TokenChecker;exports.TransactionsManager=it.TransactionsManager;exports.TransactionType=j.TransactionType;exports.externalActionToTransactionType=j.externalActionToTransactionType;exports.VolatileHelper=nt.VolatileHelper;exports.MultiThreadedUtxoUtils=at.MultiThreadedUtxoUtils;exports.FileCacheDevice=st.FileCacheDevice;exports.LocalStorageCacheDevice=ct.LocalStorageCacheDevice;exports.FeeOverTransactionValueError=lt.FeeOverTransactionValueError;exports.getGenericFeeOverTransactionValueErrorMessage=Q.getGenericFeeOverTransactionValueErrorMessage;exports.rethrowKnownGasErrorIfPossible=Q.rethrowKnownGasErrorIfPossible;exports.UserFriendlyErrorCodes=X.UserFriendlyErrorCodes;exports.transactionErrorCodes=X.transactionErrorCodes;exports.extractMessage=J.extractMessage;exports.getErrorMessage=J.getErrorMessage;exports.checkErrorForSnapshotRestore=dt.checkErrorForSnapshotRestore;exports.logError=ut.logError;exports.ErrorCategory=gt.ErrorCategory;exports.BabABI=p.BabABI;exports.BeefyVaultABI=p.BeefyVaultABI;exports.CurveReadingWrapperABI=p.CurveReadingWrapperABI;exports.CurveWrappedMainPoolABI=p.CurveWrappedMainPoolABI;exports.ERC20ABI=p.ERC20ABI;exports.GalxeABI=p.GalxeABI;exports.ISwapRouterABI=p.ISwapRouterABI;exports.factoryABI=p.factoryABI;exports.quoterV2ABI=p.quoterV2ABI;exports.transactionProverABI=p.transactionProverABI;exports.checkHinkalAccessToken=M.checkHinkalAccessToken;exports.mintAccessToken=M.mintAccessToken;exports.mintTokenCrossChain=M.mintTokenCrossChain;exports.openPassportWindow=pt.openPassportWindow;exports.openDefaultPassportWindow=At.openDefaultPassportWindow;exports.absBigInt=e.absBigInt;exports.beepsToPercentage=e.beepsToPercentage;exports.bigintApplySugar=e.bigintApplySugar;exports.bigintMax=e.bigintMax;exports.calculateAmountUsingBeeps=e.calculateAmountUsingBeeps;exports.calculateSum=e.calculateSum;exports.fixDecimalsAmount=e.fixDecimalsAmount;exports.getValueFirstNDigit=e.getValueFirstNDigit;exports.minBigInt=e.minBigInt;exports.toBigInt=e.toBigInt;exports.toBigIntOrUndefined=e.toBigIntOrUndefined;exports.toCommaSeparatedNumberString=e.toCommaSeparatedNumberString;exports.toInt=e.toInt;exports.toNumberOrUndefined=e.toNumberOrUndefined;exports.trimLeadingZeros=e.trimLeadingZeros;exports.truncateTo18DecimalPlaces=e.truncateTo18DecimalPlaces;exports.getFilePath=h.getFilePath;exports.getHinkalCache=h.getHinkalCache;exports.loadTxsCache=h.loadTxsCache;exports.resetCache=h.resetCache;exports.saveTxsCache=h.saveTxsCache;exports.setHinkalCache=h.setHinkalCache;exports.createProvider=yt.createProvider;exports.decodeMetadata=C.decodeMetadata;exports.getActionFromMetadata=C.getActionFromMetadata;exports.getExternalActionIdFromNumber=C.getExternalActionIdFromNumber;exports.getExternalActionIdHash=C.getExternalActionIdHash;exports.getExternalMetadataHash=C.getExternalMetadataHash;exports.getERC20Token=O.getERC20Token;exports.getERC20TokenBySymbol=O.getERC20TokenBySymbol;exports.getHToken=O.getHToken;exports.requireEnv=Pt.requireEnv;exports.getSequence=N.getSequence;exports.promisify=N.promisify;exports.resolveSync=N.resolveSync;exports.convertIntegrationProviderToExternalActionId=Tt.convertIntegrationProviderToExternalActionId;exports.getInteractionFromAction=kt.getInteractionFromAction;exports.outputUtxoProcessing=mt.outputUtxoProcessing;exports.processGasEstimates=Rt.processGasEstimates;exports.processAmountChanges=ht.processAmountChanges;exports.getFlatFees=St.getFlatFees;exports.getNetworkObject=$.getNetworkObject;exports.getNetworkType=$.getNetworkType;exports.getAxelarMigrationInfo=Ct.getAxelarMigrationInfo;exports.browserSupported=ee.browserSupported;exports.walletSupported=ee.walletSupported;exports.decodeTxInput=v.decodeTxInput;exports.decodeTxLogs=v.decodeTxLogs;exports.deserializeDecodedTxs=v.deserializeDecodedTxs;exports.serializeDecodedTxs=v.serializeDecodedTxs;exports.reloadPage=Et.reloadPage;exports.capitalizeFirstLetter=B.capitalizeFirstLetter;exports.isNullOrEmpty=B.isNullOrEmpty;exports.toTitleCase=B.toTitleCase;exports.isNicknameValid=It.isNicknameValid;exports.caseInsensitiveEqual=w.caseInsensitiveEqual;exports.lowerCaseIncludes=w.lowerCaseIncludes;exports.lowerCaseStartsWith=w.lowerCaseStartsWith;exports.waitLittle=bt.waitLittle;exports.patchRegistry=qt.patchRegistry;exports.createCacheDevice=_t.createCacheDevice;exports.debounce=te.debounce;exports.wait=te.wait;exports.calculateDollarValue=T.calculateDollarValue;exports.ethToWei=T.ethToWei;exports.getAmountInToken=T.getAmountInToken;exports.getAmountInWei=T.getAmountInWei;exports.getAmountInWeiOrZero=T.getAmountInWeiOrZero;exports.getAmountWithPrecision=T.getAmountWithPrecision;exports.getAmountWithPrecisionOrZero=T.getAmountWithPrecisionOrZero;exports.randomBigInt=T.randomBigInt;exports.toBigIntWithDecimals=T.toBigIntWithDecimals;exports.getInputUtxoAndBalance=re.getInputUtxoAndBalance;exports.getInputUtxosFromEncryptedOutputs=re.getInputUtxosFromEncryptedOutputs;exports.addPaddingToUtxos=oe.addPaddingToUtxos;exports.getShieldedBalance=oe.getShieldedBalance;exports.getDepositEvents=ie.getDepositEvents;exports.retrieveEvents=ie.retrieveEvents;exports.balanceChangedHandler=vt.balanceChangedHandler;exports.getUniswapFee=D.getUniswapFee;exports.getUniswapPrice=D.getUniswapPrice;exports.getUniswapPriceHelper=D.getUniswapPriceHelper;exports.searchPoolAndFee=D.searchPoolAndFee;exports.getOdosPrice=Dt.getOdosPrice;exports.getOneInchPrice=xt.getOneInchPrice;exports.runContractFunction=Lt.runContractFunction;exports.constructZkProof=ft.constructZkProof;exports.constructEmporiumProof=Ft.constructEmporiumProof;exports.buildInNullifiers=l.buildInNullifiers;exports.buildOutCommitments=l.buildOutCommitments;exports.calcAccessTokenSiblingsAndSides=l.calcAccessTokenSiblingsAndSides;exports.calcAmountChanges=l.calcAmountChanges;exports.calcCommitmentsSiblingAndSides=l.calcCommitmentsSiblingAndSides;exports.calcEncryptedOutputs=l.calcEncryptedOutputs;exports.calcPublicSignalCount=l.calcPublicSignalCount;exports.calcStealthAddressStructure=l.calcStealthAddressStructure;exports.createCallDataHash=l.createCallDataHash;exports.deserializeCircomData=l.deserializeCircomData;exports.serializeCircomData=l.serializeCircomData;exports.generateZkProof=Ut.generateZkProof;exports.getCRV=Mt.getCRV;exports.getCVX=Ot.getCVX;exports.determinePendleSwapType=E.determinePendleSwapType;exports.determinePendleSwapTypeApiRoute=E.determinePendleSwapTypeApiRoute;exports.erc20TokenFromPendleAsset=E.erc20TokenFromPendleAsset;exports.getAssetTypeFromPendleMarket=E.getAssetTypeFromPendleMarket;exports.getTokenIndexForPendleFlatFee=E.getTokenIndexForPendleFlatFee;exports.calculateStakeNullifier=I.calculateStakeNullifier;exports.createStakeCommitment=I.createStakeCommitment;exports.decryptStake=I.decryptStake;exports.encodeHStakeMetadata=I.encodeHStakeMetadata;exports.encryptStake=I.encryptStake;exports.emporiumOp=ne.emporiumOp;exports.encodeEmporiumMetadata=ne.encodeEmporiumMetadata;exports.OpType=ae.OpType;exports.produceOp=ae.produceOp;exports.dataBeefyApiConfig=se.dataBeefyApiConfig;exports.isBeefyDeposit=se.isBeefyDeposit;exports.defaultHookData=x.defaultHookData;exports.defaultHookDataArray=x.defaultHookDataArray;exports.defaultStealthAddressStructure=x.defaultStealthAddressStructure;exports.emptyStealthAddressStructure=x.emptyStealthAddressStructure;exports.ContractType=Nt.ContractType;exports.ExternalActionId=Bt.ExternalActionId;exports.BeefyAction=a.BeefyAction;exports.ConvexAction=a.ConvexAction;exports.CurveAction=a.CurveAction;exports.EventType=a.EventType;exports.HinkalStakeAction=a.HinkalStakeAction;exports.INTERACTION=a.INTERACTION;exports.IntegrationProvider=a.IntegrationProvider;exports.LidoAction=a.LidoAction;exports.LidoVariant=a.LidoVariant;exports.PendleAction=a.PendleAction;exports.PendleLPAction=a.PendleLPAction;exports.StakeProvider=a.StakeProvider;exports.UserProgress=a.UserProgress;exports.VolatileAction=a.VolatileAction;exports.KycVerificationResult=b.KycVerificationResult;exports.KycVerificationStatus=b.KycVerificationStatus;exports.Passports=b.Passports;exports.VERIFICATION_TYPE=b.VERIFICATION_TYPE;exports.VerificationTypes=b.VerificationTypes;exports.ApprovalType=wt.ApprovalType;exports.SlippageType=ce.SlippageType;exports.slippageLevels=ce.slippageLevels;exports.emptyDecodedTx=Vt.emptyDecodedTx;exports.MONTHS=o.MONTHS;exports.dayInMilliseconds=o.dayInMilliseconds;exports.divideMonthOnIntervals=o.divideMonthOnIntervals;exports.getCurrentWeek=o.getCurrentWeek;exports.getDateFromWeek=o.getDateFromWeek;exports.getNextDay=o.getNextDay;exports.getWeekTimestamps=o.getWeekTimestamps;exports.hasCertificationPeriodExpired=o.hasCertificationPeriodExpired;exports.hourInMilliseconds=o.hourInMilliseconds;exports.isWeekCurrent=o.isWeekCurrent;exports.minuteInMilliseconds=o.minuteInMilliseconds;exports.parseWeek=o.parseWeek;exports.secondInMilliseconds=o.secondInMilliseconds;exports.toDateString=o.toDateString;exports.weekInMilliseconds=o.weekInMilliseconds;exports.BonusType=t.BonusType;exports.CertifyType=t.CertifyType;exports.LP_TIER=t.LP_TIER;exports.PaymentStatus=t.PaymentStatus;exports.PointType=t.PointType;exports.RafflePrizeType=t.RafflePrizeType;exports.RewardPage=t.RewardPage;exports.RewardsHistoryDistribution=t.RewardsHistoryDistribution;exports.RewardsHistoryEligibility=t.RewardsHistoryEligibility;exports.RewardsHistorySnapshots=t.RewardsHistorySnapshots;exports.RewardsHistoryStatuses=t.RewardsHistoryStatuses;exports.RewardsPageTabs=t.RewardsPageTabs;exports.TIER_LEVEL=t.TIER_LEVEL;exports.Timeline=t.Timeline;exports.emptyUserPointsBreakdown=t.emptyUserPointsBreakdown;exports.emptyUserPointsResponse=t.emptyUserPointsResponse;exports.PendleAssetType=s.PendleAssetType;exports.PendleChains=s.PendleChains;exports.PendleDashboardTabs=s.PendleDashboardTabs;exports.PendleEarnTabs=s.PendleEarnTabs;exports.PendleMarketTransactionTypes=s.PendleMarketTransactionTypes;exports.PendlePoolManualTabs=s.PendlePoolManualTabs;exports.PendlePoolTabs=s.PendlePoolTabs;exports.PendlePoolZapTabs=s.PendlePoolZapTabs;exports.PendleSwapType=s.PendleSwapType;exports.PendleTabs=s.PendleTabs;exports.PendleTradeGeneralTabs=s.PendleTradeGeneralTabs;exports.PendleTradeTabs=s.PendleTradeTabs;exports.StatType=L.StatType;exports.UpperTabPossibleValues=L.UpperTabPossibleValues;exports.curveNetworkNames=L.curveNetworkNames;exports.curvePools=L.curvePools;exports.HinkalStakeMode=Wt.HinkalStakeMode;exports.AdminActionType=le.AdminActionType;exports.AdminDetailedActionType=le.AdminDetailedActionType;exports.getERC20Registry=de.getERC20Registry;exports.getFixedRegistry=de.getFixedRegistry;exports.urlForBeefyVaultTokens=V.urlForBeefyVaultTokens;exports.urlForBeefyVaultTotalInUSD=V.urlForBeefyVaultTotalInUSD;exports.urlForRegularTokenPricesInBeefy=V.urlForRegularTokenPricesInBeefy;exports.PopularTokenSymbols=Ht.PopularTokenSymbols;exports.AmTokenABI=Gt.abi;exports.USDCABI=Kt.abi;exports.daiABI=Yt.abi;exports.USDRABI=Zt.abi;exports.USDR3CRVABI=zt.abi;exports.USDTABI=jt.abi;exports.WETHABI=Qt.abi;exports.BUSDABI=Xt.abi;exports.sanctionsListABI=Jt.abi;exports.lidoStEthAbi=$t;exports.lidoStMaticAbi=er;exports.lidoWithdrawalQueueERC721Abi=tr;exports.lidoWstEthAbi=rr;exports.poLidoNftAbi=or;exports.lidoStakeManagerAbi=ir;exports.optimismGasPriceOracleAbi=nr;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("./API/getServerURL.cjs"),_=require("./API/getCoingeckoPrice.cjs"),ue=require("./API/callOneInchAPI.cjs"),ge=require("./API/callBeefyGraphAPI.cjs"),pe=require("./API/callRelayer.cjs"),Ae=require("./API/getAxelarGasEstimate.cjs"),ye=require("./API/getGasEstimates.cjs"),f=require("./API/getTokenPrice.cjs"),Pe=require("./API/checkRisk.cjs"),Te=require("./API/relayCalls.cjs"),ke=require("./API/API.cjs"),h=require("./API/callCurveAPI.cjs"),me=require("./API/getRelayerURL.cjs"),Re=require("./API/duneAPI.cjs"),Se=require("./constants/assets.constants.cjs"),r=require("./constants/token-data/index.cjs"),he=require("./constants/deploy-data/deploy-data-bnbMainnet.json.cjs"),Ce=require("./constants/deploy-data/deploy-data-arbMainnet.json.cjs"),Ee=require("./constants/deploy-data/deploy-data-ethMainnet.json.cjs"),Ie=require("./constants/deploy-data/deploy-data-optimism.json.cjs"),be=require("./constants/deploy-data/deploy-data-polygon.json.cjs"),_e=require("./constants/deploy-data/deploy-data-avalanche.json.cjs"),qe=require("./constants/deploy-data/deploy-data-base.json.cjs"),ve=require("./constants/deploy-data/deploy-data-localhost.json.cjs"),De=require("./constants/deploy-data/deploy-data-axelar1.json.cjs"),xe=require("./constants/deploy-data/deploy-data-axelar2.json.cjs"),c=require("./constants/chains.constants.cjs"),u=require("./constants/fees.constants.cjs"),R=require("./constants/contracts.constants.cjs"),A=require("./constants/kyc.constants.cjs"),i=require("./constants/server.constants.cjs"),y=require("./constants/vite.constants.cjs"),n=require("./constants/protocol.constants.cjs"),P=require("./constants/coingecko.constants.cjs"),Le=require("./constants/axelar.constants.cjs"),H=require("./constants/backend.constants.cjs"),m=require("./constants/crvCvx.registry.cjs"),fe=require("./constants/crvDynamic.registry.cjs"),g=require("./constants/lido.constants.cjs"),l=require("./constants/rewards.constants.cjs"),Fe=require("./constants/reorg-depths.constants.cjs"),G=require("./constants/beefy.registry.cjs"),k=require("./constants/pendle.registry.cjs"),F=require("./crypto/poseidon.cjs"),K=require("./crypto/babyJub.cjs"),Ue=require("./crypto/preProcessing.cjs"),Me=require("./data-structures/ValueCache/ValueCache.cjs"),q=require("./data-structures/crypto-keys/decodeUTXO.cjs"),U=require("./data-structures/crypto-keys/encryptDecryptUtxo.cjs"),Y=require("./data-structures/crypto-keys/keys.cjs"),Z=require("./data-structures/crypto-keys/keyUtils.cjs"),Oe=require("./data-structures/Hinkal/Hinkal.cjs"),Ne=require("./data-structures/Hinkal/hinkalActionBeefy.cjs"),Be=require("./data-structures/Hinkal/hinkalActionConvex.cjs"),we=require("./data-structures/Hinkal/hinkalActionCurve.cjs"),Ve=require("./data-structures/Hinkal/hinkalActionPendle.cjs"),z=require("./data-structures/Hinkal/hinkalDeposit.cjs"),We=require("./data-structures/Hinkal/hinkalSwap.cjs"),He=require("./data-structures/Hinkal/hinkalTransfer.cjs"),Ge=require("./data-structures/Hinkal/hinkalWithdraw.cjs"),Ke=require("./data-structures/Hinkal/hinkalPrivateWallet.cjs"),Ye=require("./data-structures/Hinkal/resetMerkleTrees.cjs"),Ze=require("./data-structures/merkle-tree/MerkleTree.cjs"),ze=require("./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs"),je=require("./data-structures/merkle-tree/MerkleTreeIncompleteError.cjs"),Qe=require("./data-structures/event-service/AbstractAccessTokenSnapshotService.cjs"),Xe=require("./data-structures/event-service/AbstractCommitmentsSnapshotService.cjs"),Je=require("./data-structures/event-service/AbstractNullifierSnapshotService.cjs"),$e=require("./data-structures/event-service/AbstractSnapshotService.cjs"),et=require("./data-structures/event-service/AbstractEventService.cjs"),tt=require("./data-structures/utxo/Utxo.cjs"),rt=require("./data-structures/custom-token-registry/CustomTokenRegistry.cjs"),ot=require("./data-structures/token-price-fetcher/TokenChecker.cjs"),it=require("./data-structures/transactions-manager/TransactionsManager.cjs"),j=require("./data-structures/transactions-manager/history/history.types.cjs"),nt=require("./data-structures/volatile-helper/VolatileHelper.cjs"),at=require("./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs"),st=require("./data-structures/cacheDevices/FileCacheDevice.cjs"),ct=require("./data-structures/cacheDevices/LocalStorageCacheDevice.cjs"),lt=require("./error-handling/customErrors/FeeOverTransactionValueError.cjs"),Q=require("./error-handling/customErrors/customErrors.helpers.cjs"),X=require("./error-handling/error-codes.constants.cjs"),J=require("./error-handling/get-error.message.cjs"),dt=require("./error-handling/handleErrorRestore.cjs"),ut=require("./error-handling/logError.cjs"),gt=require("./error-handling/types.cjs"),p=require("./externalABIs/index.cjs"),M=require("./functions/web3/functionCalls/accessTokenCalls.cjs"),pt=require("./functions/kyc/passportHelper.cjs"),At=require("./functions/kyc/openDefaultPassportWindow.cjs"),e=require("./functions/utils/amounts.utils.cjs"),S=require("./functions/utils/cacheFunctions.cjs"),yt=require("./functions/utils/create-provider.cjs"),C=require("./functions/utils/external-action.utils.cjs"),O=require("./functions/utils/erc20tokenFunctions.cjs"),Pt=require("./functions/utils/requireEnv.cjs"),N=require("./functions/utils/resolve-sync.utils.cjs"),Tt=require("./functions/utils/convertIntegrationProviderToExternalActionId.cjs"),kt=require("./functions/pre-transaction/interaction-to-action.cjs"),mt=require("./functions/pre-transaction/outputUtxoProcessing.cjs"),Rt=require("./functions/pre-transaction/process-gas-estimates.cjs"),St=require("./functions/pre-transaction/processAmountChanges.cjs"),ht=require("./functions/pre-transaction/getFlatFees.cjs"),$=require("./functions/utils/evmNetworkFunctions.cjs"),Ct=require("./functions/utils/axelar.utils.cjs"),ee=require("./functions/utils/userAgent.cjs"),v=require("./functions/utils/getDataFromTransaction.cjs"),Et=require("./functions/utils/reloadPage.cjs"),B=require("./functions/utils/string.utils.cjs"),It=require("./functions/utils/nickname.utils.cjs"),w=require("./functions/utils/caseInsensitive.utils.cjs"),bt=require("./functions/utils/time.utils.cjs"),_t=require("./functions/utils/volatile-patcher.utils.cjs"),qt=require("./functions/utils/cacheDevice.utils.cjs"),te=require("./functions/utils/process.utils.cjs"),T=require("./functions/web3/etherFunctions.cjs"),re=require("./functions/web3/events/getInputUtxoAndBalance.cjs"),oe=require("./functions/web3/events/getShieldedBalance.cjs"),ie=require("./functions/web3/events/web3RetrieveEvents.cjs"),vt=require("./functions/web3/events/balanceChangedHandler.cjs"),D=require("./functions/web3/uniswapAPI.cjs"),Dt=require("./functions/web3/odosAPI.cjs"),xt=require("./functions/web3/oneInchAPI.cjs"),Lt=require("./functions/web3/runContractFunction.cjs"),ft=require("./functions/snarkjs/constructGeneralZkProof.cjs"),Ft=require("./functions/snarkjs/constructEmporiumProof.cjs"),d=require("./functions/snarkjs/common.snarkjs.cjs"),Ut=require("./functions/snarkjs/generateZkProof.cjs"),Mt=require("./functions/protocols/curve.protocols.cjs"),Ot=require("./functions/protocols/convex.protocols.cjs"),E=require("./functions/protocols/pendle.helpers.cjs"),I=require("./functions/staking/index.cjs"),ne=require("./functions/private-wallet/emporium.helpers.cjs"),ae=require("./functions/private-wallet/opProducer.cjs"),se=require("./types/beefy.types.cjs"),x=require("./types/circom-data.types.cjs"),Nt=require("./types/ethereum-network.types.cjs"),Bt=require("./types/external-action.types.cjs"),a=require("./types/hinkal.types.cjs"),b=require("./types/kyc.types.cjs"),wt=require("./types/token.types.cjs"),ce=require("./types/slippage.types.cjs"),Vt=require("./types/transactions.types.cjs"),o=require("./types/time.types.cjs"),t=require("./types/rewards.types.cjs"),s=require("./types/pendle.types.cjs"),L=require("./types/curve.types.cjs"),Wt=require("./types/hinkal.stake.types.cjs"),le=require("./types/admin.types.cjs"),de=require("./constants/token-data/ERC20Registry.cjs"),V=require("./constants/token-data/tokenPricing.consts.cjs"),Ht=require("./constants/token-data/popularTokens.constants.cjs"),Gt=require("./externalABIs/amToken.cjs"),Kt=require("./externalABIs/USDC.cjs"),Yt=require("./externalABIs/DAI.cjs"),Zt=require("./externalABIs/USDR.cjs"),zt=require("./externalABIs/USDR3CRV.cjs"),jt=require("./externalABIs/USDT.cjs"),Qt=require("./externalABIs/WETH.cjs"),Xt=require("./externalABIs/BUSD.cjs"),Jt=require("./externalABIs/SanctionsList.cjs"),$t=require("./externalABIs/LidoStEthAbi.json.cjs"),er=require("./externalABIs/LidoStMaticAbi.json.cjs"),tr=require("./externalABIs/LidoWithdrawalQueueERC721Abi.json.cjs"),rr=require("./externalABIs/LidoWstEthAbi.json.cjs"),or=require("./externalABIs/PoLidoNftAbi.json.cjs"),ir=require("./externalABIs/LidoStakeManagerAbi.json.cjs"),nr=require("./externalABIs/OptimismGasPriceOracle.json.cjs");exports.getDataServerURL=W.getDataServerURL;exports.getServerURL=W.getServerURL;exports.getCoingeckoPrice=_.getCoingeckoPrice;exports.getCoingeckoPrice2=_.getCoingeckoPrice2;exports.getCoingeckoPrices=_.getCoingeckoPrices;exports.getCoingeckoTokenList=_.getCoingeckoTokenList;exports.callOneInchAPI=ue.callOneInchAPI;exports.getBeefyHistoricalChartData=ge.getBeefyHistoricalChartData;exports.callRelayerTransactAPI=pe.callRelayerTransactAPI;exports.getAxelarGasEstimate=Ae.getAxelarGasEstimate;exports.getGasEstimates=ye.getGasEstimates;exports.getTokenPrice=f.getTokenPrice;exports.getTokenPriceEth=f.getTokenPriceEth;exports.getTokenPrices=f.getTokenPrices;exports.checkRisk=Pe.checkRisk;exports.getIdleRelay=Te.getIdleRelay;exports.API=ke.API;exports.getCurvePools=h.getCurvePools;exports.getCurvePoolsforPriceFetching=h.getCurvePoolsforPriceFetching;exports.getExtendedPoolInfo=h.getExtendedPoolInfo;exports.lpTokens=h.lpTokens;exports.lpTokensToBasePool=h.lpTokensToBasePool;exports.getRelayerURL=me.getRelayerURL;exports.getPublicWalletBalance=Re.getPublicWalletBalance;exports.IMAGE_PATHS=Se.IMAGE_PATHS;exports.arbMainnetRegistry=r.arbMainnetRegistry;exports.arbMainnetRegistryFixed=r.arbMainnetRegistryFixed;exports.avalancheRegistry=r.avalancheRegistry;exports.avalancheRegistryFixed=r.avalancheRegistryFixed;exports.baseRegistry=r.baseRegistry;exports.baseRegistryFixed=r.baseRegistryFixed;exports.bnbMainnetRegistry=r.bnbMainnetRegistry;exports.bnbMainnetRegistryFixed=r.bnbMainnetRegistryFixed;exports.ethMainnetRegistry=r.ethMainnetRegistry;exports.ethMainnetRegistryFixed=r.ethMainnetRegistryFixed;exports.localhostRegistry=r.localhostRegistry;exports.optimismRegistry=r.optimismRegistry;exports.optimismRegistryFixed=r.optimismRegistryFixed;exports.polygonRegistry=r.polygonRegistry;exports.polygonRegistryFixed=r.polygonRegistryFixed;exports.bnbMainnetData=he.default;exports.arbMainnetData=Ce.default;exports.ethMainnetData=Ee.default;exports.optimismData=Ie.default;exports.polygonData=be.default;exports.avalancheData=_e.default;exports.baseData=qe.default;exports.localhostData=ve.default;exports.axelar1Data=De.default;exports.axelar2Data=xe.default;exports.EthereumNetworkType=c.EthereumNetworkType;exports.chainIds=c.chainIds;exports.chainIdsByType=c.chainIdsByType;exports.crossChainAccessTokenNetworks=c.crossChainAccessTokenNetworks;exports.getNonLocalhostChainId=c.getNonLocalhostChainId;exports.isLocalNetwork=c.isLocalNetwork;exports.isOptimismBedrockLike=c.isOptimismBedrockLike;exports.isOptimismEcotoneLike=c.isOptimismEcotoneLike;exports.isOptimismLike=c.isOptimismLike;exports.localhostNetwork=c.localhostNetwork;exports.networkRegistry=c.networkRegistry;exports.HINKAL_EXTERNAL_ACTION_FEE=u.HINKAL_EXTERNAL_ACTION_FEE;exports.HINKAL_UNIVERSAL_FEE=u.HINKAL_UNIVERSAL_FEE;exports.getAmountAfterRelayAndFlatFees=u.getAmountAfterRelayAndFlatFees;exports.getAmountAfterRelayAndFlatFeesAndSlippage=u.getAmountAfterRelayAndFlatFeesAndSlippage;exports.getAmountAfterRelayFee=u.getAmountAfterRelayFee;exports.getAmountAfterSlippage=u.getAmountAfterSlippage;exports.getAmountWithoutFee=u.getAmountWithoutFee;exports.getHinkalFeeRateInBeeps=u.getHinkalFeeRateInBeeps;exports.getRelayFee=u.getRelayFee;exports.getSlippageFee=u.getSlippageFee;exports.contractMetadataMapping=R.contractMetadataMapping;exports.getHinkalParameters=R.getHinkalParameters;exports.uniswapV2PoolData=R.uniswapV2PoolData;exports.uniswapV3FactoryData=R.uniswapV3FactoryData;exports.uniswapV3PoolData=R.uniswapV3PoolData;exports.uniswapV3QuoterData=R.uniswapV3QuoterData;exports.AIPRISE_KYB_TEMPLATE_ID_PROD=A.AIPRISE_KYB_TEMPLATE_ID_PROD;exports.AIPRISE_KYC_TEMPLATE_ID_PROD=A.AIPRISE_KYC_TEMPLATE_ID_PROD;exports.RECLAIM_MESSAGE_TO_SIGN=A.RECLAIM_MESSAGE_TO_SIGN;exports.ReclaimPassports=A.ReclaimPassports;exports.StandardPassports=A.StandardPassports;exports.SupportedPassports=A.SupportedPassports;exports.aipriseBaseOnboardingProductionUrl=A.aipriseBaseOnboardingProductionUrl;exports.aipriseBaseOnboardingSandboxUrl=A.aipriseBaseOnboardingSandboxUrl;exports.supportedPassportLinks=A.supportedPassportLinks;exports.API_CONFIG=i.API_CONFIG;exports.DATA_SERVER_CONFIG=i.DATA_SERVER_CONFIG;exports.DATA_SERVER_PORT=i.DATA_SERVER_PORT;exports.DATA_SERVER_URL_LOCAL=i.DATA_SERVER_URL_LOCAL;exports.DATA_SERVER_URL_PRODUCTION=i.DATA_SERVER_URL_PRODUCTION;exports.PLAYGROUND_RELAYER_URLS=i.PLAYGROUND_RELAYER_URLS;exports.PLAYGROUND_SERVER_URLS=i.PLAYGROUND_SERVER_URLS;exports.PLAYGROUND_URL=i.PLAYGROUND_URL;exports.RELAYER_CONFIG=i.RELAYER_CONFIG;exports.RELAYER_URLS=i.RELAYER_URLS;exports.SERVER_URLS=i.SERVER_URLS;exports.STAGING_RELAYER_URLS=i.STAGING_RELAYER_URLS;exports.STAGING_SERVER_URLS=i.STAGING_SERVER_URLS;exports.STAGING_URL=i.STAGING_URL;exports.DEPLOYMENT_MODE=y.DEPLOYMENT_MODE;exports.deploymentMode=y.deploymentMode;exports.isDevelopment=y.isDevelopment;exports.isNode=y.isNode;exports.isNotClientProduction=y.isNotClientProduction;exports.isNotProduction=y.isNotProduction;exports.isPlayground=y.isPlayground;exports.isStaging=y.isStaging;exports.isWebpack=y.isWebpack;exports.CIRCOM_P=n.CIRCOM_P;exports.CIRCOM_P_HALF=n.CIRCOM_P_HALF;exports.beefyChainIds=n.beefyChainIds;exports.crvSymbol=n.crvSymbol;exports.curveWithdrawGasTokenAddress=n.curveWithdrawGasTokenAddress;exports.curveZeroAddress=n.curveZeroAddress;exports.cvxSymbol=n.cvxSymbol;exports.ethVolatileAddress=n.ethVolatileAddress;exports.oneInchZeroAddress=n.oneInchZeroAddress;exports.ownerPublicKey=n.ownerPublicKey;exports.permitSignatureValidFor=n.permitSignatureValidFor;exports.signaturePhrase=n.signaturePhrase;exports.threePoolSymbol=n.threePoolSymbol;exports.zeroAddress=n.zeroAddress;exports.COINGECKO_API_KEY=P.COINGECKO_API_KEY;exports.CoinGeckoChainLabels=P.CoinGeckoChainLabels;exports.coingeckoPriceUrl=P.coingeckoPriceUrl;exports.coingeckoPriceUrl2=P.coingeckoPriceUrl2;exports.coingeckoTokenListUrl=P.coingeckoTokenListUrl;exports.getCoingeckoIdForNativeTokens=P.getCoingeckoIdForNativeTokens;exports.getCoingeckoPlatform=P.getCoingeckoPlatform;exports.proCoingeckoUrl=P.proCoingeckoUrl;exports.proHeader=P.proHeader;exports.AxelarRegistry=Le.AxelarRegistry;exports.NETWORKS=H.NETWORKS;exports.getGasStationUrl=H.getGasStationUrl;exports.arbMainnetCrvCvxRegistry=m.arbMainnetCrvCvxRegistry;exports.avalancheCrvCvxRegistry=m.avalancheCrvCvxRegistry;exports.baseCrvCvxRegistry=m.baseCrvCvxRegistry;exports.ethCrvCvxRegistry=m.ethCrvCvxRegistry;exports.getCrvCvxWithChainId=m.getCrvCvxWithChainId;exports.optimismCrvCvxRegistry=m.optimismCrvCvxRegistry;exports.polygonCrvCvxRegistry=m.polygonCrvCvxRegistry;exports.getCalcTokenAmountWithDynamicArray=fe.getCalcTokenAmountWithDynamicArray;exports.ethSymbol=g.ethSymbol;exports.lidoStEthContractAddress=g.lidoStEthContractAddress;exports.lidoStMaticAddress=g.lidoStMaticAddress;exports.lidoStakeManagerAddress=g.lidoStakeManagerAddress;exports.lidoWithdrawalQueueERC721Address=g.lidoWithdrawalQueueERC721Address;exports.lidoWstEthContractAddress=g.lidoWstEthContractAddress;exports.maticSymbol=g.maticSymbol;exports.poLidoNftAddress=g.poLidoNftAddress;exports.stMaticSymbol=g.stMaticSymbol;exports.wstEthSymbol=g.wstEthSymbol;exports.ACCESS_TOKEN_MINTING_POINTS=l.ACCESS_TOKEN_MINTING_POINTS;exports.ACCESS_TOKEN_RECLAIM_POINTS=l.ACCESS_TOKEN_RECLAIM_POINTS;exports.CERTIFICATION_DISABLE_WEEK=l.CERTIFICATION_DISABLE_WEEK;exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=l.REWARD_RECEIVABLE_TOKEN_SYMBOLS;exports.RafflePrizePoints=l.RafflePrizePoints;exports.boostAmounts=l.boostAmounts;exports.lpLink=l.lpLink;exports.lpProgramStartWeek=l.lpProgramStartWeek;exports.pointsLink=l.pointsLink;exports.raffleProgramStartWeek=l.raffleProgramStartWeek;exports.referralLink=l.referralLink;exports.blockReorgDepth=Fe.blockReorgDepth;exports.ethBeefyRegistry=G.ethBeefyRegistry;exports.getBeefyRegistryWithChainId=G.getBeefyRegistryWithChainId;exports.arbPendleRegistry=k.arbPendleRegistry;exports.bnbPendleRegistry=k.bnbPendleRegistry;exports.ethPendleRegistry=k.ethPendleRegistry;exports.findSyAddress=k.findSyAddress;exports.getPendleRegistryWithChainId=k.getPendleRegistryWithChainId;exports.getYtTokensWithChainId=k.getYtTokensWithChainId;exports.isYtToken=k.isYtToken;exports.optimismPendleRegistry=k.optimismPendleRegistry;exports.poseidonFunction=F.poseidonFunction;exports.poseidonHash=F.poseidonHash;exports.poseidonHolder=F.poseidonHolder;exports.babyJubInstance=K.babyJubInstance;exports.jubHolder=K.jubHolder;exports.preProcessing=Ue.preProcessing;exports.ValueCache=Me.ValueCache;exports.abiDecodeUtxo=q.abiDecodeUtxo;exports.checkUtxoSignature=q.checkUtxoSignature;exports.decodeUtxo=q.decodeUtxo;exports.decodeUtxoConstructorArgs=q.decodeUtxoConstructorArgs;exports.decryptUtxo=U.decryptUtxo;exports.decryptUtxoConstructorArgs=U.decryptUtxoConstructorArgs;exports.encryptUtxo=U.encryptUtxo;exports.EncryptionKeyPairDefaultValue=Y.EncryptionKeyPairDefaultValue;exports.UserKeys=Y.UserKeys;exports.getCircomSign=Z.getCircomSign;exports.isCircomNegative=Z.isCircomNegative;exports.Hinkal=Oe.Hinkal;exports.hinkalActionBeefy=Ne.hinkalActionBeefy;exports.hinkalActionConvex=Be.hinkalActionConvex;exports.hinkalActionCurve=we.hinkalActionCurve;exports.hinkalActionPendle=Ve.hinkalActionPendle;exports.hinkalDeposit=z.hinkalDeposit;exports.hinkalDepositForOther=z.hinkalDepositForOther;exports.hinkalSwap=We.hinkalSwap;exports.hinkalTransfer=He.hinkalTransfer;exports.hinkalWithdraw=Ge.hinkalWithdraw;exports.hinkalPrivateWallet=Ke.hinkalPrivateWallet;exports.resetMerkleTrees=Ye.resetMerkleTrees;exports.MerkleTree=Ze.MerkleTree;exports.getPatchedAccessTokenMerkleTree=ze.getPatchedAccessTokenMerkleTree;exports.MerkleTreeIncompleteError=je.MerkleTreeIncompleteError;exports.AbstractAccessTokenSnapshotService=Qe.AbstractAccessTokenSnapshotService;exports.AbstractCommitmentsSnapshotService=Xe.AbstractCommitmentsSnapshotService;exports.AbstractNullifierSnapshotService=Je.AbstractNullifierSnapshotService;exports.AbstractSnapshotService=$e.AbstractSnapshotService;exports.AbstractEventService=et.AbstractEventService;exports.Utxo=tt.Utxo;exports.customTokenRegistry=rt.customTokenRegistry;exports.TokenChecker=ot.TokenChecker;exports.TransactionsManager=it.TransactionsManager;exports.TransactionType=j.TransactionType;exports.externalActionToTransactionType=j.externalActionToTransactionType;exports.VolatileHelper=nt.VolatileHelper;exports.MultiThreadedUtxoUtils=at.MultiThreadedUtxoUtils;exports.FileCacheDevice=st.FileCacheDevice;exports.LocalStorageCacheDevice=ct.LocalStorageCacheDevice;exports.FeeOverTransactionValueError=lt.FeeOverTransactionValueError;exports.getGenericFeeOverTransactionValueErrorMessage=Q.getGenericFeeOverTransactionValueErrorMessage;exports.rethrowKnownGasErrorIfPossible=Q.rethrowKnownGasErrorIfPossible;exports.UserFriendlyErrorCodes=X.UserFriendlyErrorCodes;exports.transactionErrorCodes=X.transactionErrorCodes;exports.extractMessage=J.extractMessage;exports.getErrorMessage=J.getErrorMessage;exports.checkErrorForSnapshotRestore=dt.checkErrorForSnapshotRestore;exports.logError=ut.logError;exports.ErrorCategory=gt.ErrorCategory;exports.BabABI=p.BabABI;exports.BeefyVaultABI=p.BeefyVaultABI;exports.CurveReadingWrapperABI=p.CurveReadingWrapperABI;exports.CurveWrappedMainPoolABI=p.CurveWrappedMainPoolABI;exports.ERC20ABI=p.ERC20ABI;exports.GalxeABI=p.GalxeABI;exports.ISwapRouterABI=p.ISwapRouterABI;exports.factoryABI=p.factoryABI;exports.quoterV2ABI=p.quoterV2ABI;exports.transactionProverABI=p.transactionProverABI;exports.checkHinkalAccessToken=M.checkHinkalAccessToken;exports.mintAccessToken=M.mintAccessToken;exports.mintTokenCrossChain=M.mintTokenCrossChain;exports.openPassportWindow=pt.openPassportWindow;exports.openDefaultPassportWindow=At.openDefaultPassportWindow;exports.absBigInt=e.absBigInt;exports.beepsToPercentage=e.beepsToPercentage;exports.bigintApplySugar=e.bigintApplySugar;exports.bigintMax=e.bigintMax;exports.calculateAmountUsingBeeps=e.calculateAmountUsingBeeps;exports.calculateSum=e.calculateSum;exports.fixDecimalsAmount=e.fixDecimalsAmount;exports.getValueFirstNDigit=e.getValueFirstNDigit;exports.minBigInt=e.minBigInt;exports.toBigInt=e.toBigInt;exports.toBigIntOrUndefined=e.toBigIntOrUndefined;exports.toCommaSeparatedNumberString=e.toCommaSeparatedNumberString;exports.toInt=e.toInt;exports.toNumberOrUndefined=e.toNumberOrUndefined;exports.trimLeadingZeros=e.trimLeadingZeros;exports.truncateTo18DecimalPlaces=e.truncateTo18DecimalPlaces;exports.getFilePath=S.getFilePath;exports.getHinkalCache=S.getHinkalCache;exports.loadTxsCache=S.loadTxsCache;exports.resetCache=S.resetCache;exports.saveTxsCache=S.saveTxsCache;exports.setHinkalCache=S.setHinkalCache;exports.createProvider=yt.createProvider;exports.decodeMetadata=C.decodeMetadata;exports.getActionFromMetadata=C.getActionFromMetadata;exports.getExternalActionIdFromNumber=C.getExternalActionIdFromNumber;exports.getExternalActionIdHash=C.getExternalActionIdHash;exports.getExternalMetadataHash=C.getExternalMetadataHash;exports.getERC20Token=O.getERC20Token;exports.getERC20TokenBySymbol=O.getERC20TokenBySymbol;exports.getHToken=O.getHToken;exports.requireEnv=Pt.requireEnv;exports.getSequence=N.getSequence;exports.promisify=N.promisify;exports.resolveSync=N.resolveSync;exports.convertIntegrationProviderToExternalActionId=Tt.convertIntegrationProviderToExternalActionId;exports.getInteractionFromAction=kt.getInteractionFromAction;exports.outputUtxoProcessing=mt.outputUtxoProcessing;exports.processGasEstimates=Rt.processGasEstimates;exports.processAmountChanges=St.processAmountChanges;exports.getFlatFees=ht.getFlatFees;exports.getNetworkObject=$.getNetworkObject;exports.getNetworkType=$.getNetworkType;exports.getAxelarMigrationInfo=Ct.getAxelarMigrationInfo;exports.browserSupported=ee.browserSupported;exports.walletSupported=ee.walletSupported;exports.decodeTxInput=v.decodeTxInput;exports.decodeTxLogs=v.decodeTxLogs;exports.deserializeDecodedTxs=v.deserializeDecodedTxs;exports.serializeDecodedTxs=v.serializeDecodedTxs;exports.reloadPage=Et.reloadPage;exports.capitalizeFirstLetter=B.capitalizeFirstLetter;exports.isNullOrEmpty=B.isNullOrEmpty;exports.toTitleCase=B.toTitleCase;exports.isNicknameValid=It.isNicknameValid;exports.caseInsensitiveEqual=w.caseInsensitiveEqual;exports.lowerCaseIncludes=w.lowerCaseIncludes;exports.lowerCaseStartsWith=w.lowerCaseStartsWith;exports.waitLittle=bt.waitLittle;exports.patchRegistry=_t.patchRegistry;exports.createCacheDevice=qt.createCacheDevice;exports.debounce=te.debounce;exports.wait=te.wait;exports.calculateDollarValue=T.calculateDollarValue;exports.ethToWei=T.ethToWei;exports.getAmountInToken=T.getAmountInToken;exports.getAmountInWei=T.getAmountInWei;exports.getAmountInWeiOrZero=T.getAmountInWeiOrZero;exports.getAmountWithPrecision=T.getAmountWithPrecision;exports.getAmountWithPrecisionOrZero=T.getAmountWithPrecisionOrZero;exports.randomBigInt=T.randomBigInt;exports.toBigIntWithDecimals=T.toBigIntWithDecimals;exports.getInputUtxoAndBalance=re.getInputUtxoAndBalance;exports.getInputUtxosFromEncryptedOutputs=re.getInputUtxosFromEncryptedOutputs;exports.addPaddingToUtxos=oe.addPaddingToUtxos;exports.getShieldedBalance=oe.getShieldedBalance;exports.getDepositEvents=ie.getDepositEvents;exports.retrieveEvents=ie.retrieveEvents;exports.balanceChangedHandler=vt.balanceChangedHandler;exports.getUniswapFee=D.getUniswapFee;exports.getUniswapPrice=D.getUniswapPrice;exports.getUniswapPriceHelper=D.getUniswapPriceHelper;exports.searchPoolAndFee=D.searchPoolAndFee;exports.getOdosPrice=Dt.getOdosPrice;exports.getOneInchPrice=xt.getOneInchPrice;exports.runContractFunction=Lt.runContractFunction;exports.constructZkProof=ft.constructZkProof;exports.constructEmporiumProof=Ft.constructEmporiumProof;exports.buildInNullifiers=d.buildInNullifiers;exports.buildOutCommitments=d.buildOutCommitments;exports.calcAccessTokenSiblingsAndSides=d.calcAccessTokenSiblingsAndSides;exports.calcAmountChanges=d.calcAmountChanges;exports.calcCommitmentsSiblingAndSides=d.calcCommitmentsSiblingAndSides;exports.calcEncryptedOutputs=d.calcEncryptedOutputs;exports.calcPublicSignalCount=d.calcPublicSignalCount;exports.calcStealthAddressStructure=d.calcStealthAddressStructure;exports.createCallDataHash=d.createCallDataHash;exports.deserializeCircomData=d.deserializeCircomData;exports.serializeCircomData=d.serializeCircomData;exports.generateZkProof=Ut.generateZkProof;exports.getCRV=Mt.getCRV;exports.getCVX=Ot.getCVX;exports.determinePendleSwapType=E.determinePendleSwapType;exports.determinePendleSwapTypeApiRoute=E.determinePendleSwapTypeApiRoute;exports.erc20TokenFromPendleAsset=E.erc20TokenFromPendleAsset;exports.getAssetTypeFromPendleMarket=E.getAssetTypeFromPendleMarket;exports.getTokenIndexForPendleFlatFee=E.getTokenIndexForPendleFlatFee;exports.calculateStakeNullifier=I.calculateStakeNullifier;exports.createStakeCommitment=I.createStakeCommitment;exports.decryptStake=I.decryptStake;exports.encodeHStakeMetadata=I.encodeHStakeMetadata;exports.encryptStake=I.encryptStake;exports.emporiumOp=ne.emporiumOp;exports.encodeEmporiumMetadata=ne.encodeEmporiumMetadata;exports.OpType=ae.OpType;exports.produceOp=ae.produceOp;exports.dataBeefyApiConfig=se.dataBeefyApiConfig;exports.isBeefyDeposit=se.isBeefyDeposit;exports.defaultHookData=x.defaultHookData;exports.defaultHookDataArray=x.defaultHookDataArray;exports.defaultStealthAddressStructure=x.defaultStealthAddressStructure;exports.emptyStealthAddressStructure=x.emptyStealthAddressStructure;exports.ContractType=Nt.ContractType;exports.ExternalActionId=Bt.ExternalActionId;exports.BeefyAction=a.BeefyAction;exports.ConvexAction=a.ConvexAction;exports.CurveAction=a.CurveAction;exports.EventType=a.EventType;exports.HinkalStakeAction=a.HinkalStakeAction;exports.INTERACTION=a.INTERACTION;exports.IntegrationProvider=a.IntegrationProvider;exports.LidoAction=a.LidoAction;exports.LidoVariant=a.LidoVariant;exports.PendleAction=a.PendleAction;exports.PendleLPAction=a.PendleLPAction;exports.StakeProvider=a.StakeProvider;exports.UserProgress=a.UserProgress;exports.VolatileAction=a.VolatileAction;exports.KycVerificationResult=b.KycVerificationResult;exports.KycVerificationStatus=b.KycVerificationStatus;exports.Passports=b.Passports;exports.VERIFICATION_TYPE=b.VERIFICATION_TYPE;exports.VerificationTypes=b.VerificationTypes;exports.ApprovalType=wt.ApprovalType;exports.SlippageType=ce.SlippageType;exports.slippageLevels=ce.slippageLevels;exports.emptyDecodedTx=Vt.emptyDecodedTx;exports.MONTHS=o.MONTHS;exports.dayInMilliseconds=o.dayInMilliseconds;exports.divideMonthOnIntervals=o.divideMonthOnIntervals;exports.getCurrentWeek=o.getCurrentWeek;exports.getDateFromWeek=o.getDateFromWeek;exports.getNextDay=o.getNextDay;exports.getWeekTimestamps=o.getWeekTimestamps;exports.hasCertificationPeriodExpired=o.hasCertificationPeriodExpired;exports.hourInMilliseconds=o.hourInMilliseconds;exports.isWeekCurrent=o.isWeekCurrent;exports.minuteInMilliseconds=o.minuteInMilliseconds;exports.parseWeek=o.parseWeek;exports.secondInMilliseconds=o.secondInMilliseconds;exports.toDateString=o.toDateString;exports.weekInMilliseconds=o.weekInMilliseconds;exports.BonusType=t.BonusType;exports.CertifyType=t.CertifyType;exports.LP_TIER=t.LP_TIER;exports.PaymentStatus=t.PaymentStatus;exports.PointType=t.PointType;exports.RafflePrizeType=t.RafflePrizeType;exports.RewardPage=t.RewardPage;exports.RewardsHistoryDistribution=t.RewardsHistoryDistribution;exports.RewardsHistoryEligibility=t.RewardsHistoryEligibility;exports.RewardsHistorySnapshots=t.RewardsHistorySnapshots;exports.RewardsHistoryStatuses=t.RewardsHistoryStatuses;exports.RewardsPageTabs=t.RewardsPageTabs;exports.TIER_LEVEL=t.TIER_LEVEL;exports.Timeline=t.Timeline;exports.emptyUserPointsBreakdown=t.emptyUserPointsBreakdown;exports.emptyUserPointsResponse=t.emptyUserPointsResponse;exports.PendleAssetType=s.PendleAssetType;exports.PendleChains=s.PendleChains;exports.PendleDashboardTabs=s.PendleDashboardTabs;exports.PendleEarnTabs=s.PendleEarnTabs;exports.PendleMarketTransactionTypes=s.PendleMarketTransactionTypes;exports.PendlePoolManualTabs=s.PendlePoolManualTabs;exports.PendlePoolTabs=s.PendlePoolTabs;exports.PendlePoolZapTabs=s.PendlePoolZapTabs;exports.PendleSwapType=s.PendleSwapType;exports.PendleTabs=s.PendleTabs;exports.PendleTradeGeneralTabs=s.PendleTradeGeneralTabs;exports.PendleTradeTabs=s.PendleTradeTabs;exports.StatType=L.StatType;exports.UpperTabPossibleValues=L.UpperTabPossibleValues;exports.curveNetworkNames=L.curveNetworkNames;exports.curvePools=L.curvePools;exports.HinkalStakeMode=Wt.HinkalStakeMode;exports.AdminActionType=le.AdminActionType;exports.AdminDetailedActionType=le.AdminDetailedActionType;exports.getERC20Registry=de.getERC20Registry;exports.getFixedRegistry=de.getFixedRegistry;exports.urlForBeefyVaultTokens=V.urlForBeefyVaultTokens;exports.urlForBeefyVaultTotalInUSD=V.urlForBeefyVaultTotalInUSD;exports.urlForRegularTokenPricesInBeefy=V.urlForRegularTokenPricesInBeefy;exports.PopularTokenSymbols=Ht.PopularTokenSymbols;exports.AmTokenABI=Gt.abi;exports.USDCABI=Kt.abi;exports.daiABI=Yt.abi;exports.USDRABI=Zt.abi;exports.USDR3CRVABI=zt.abi;exports.USDTABI=jt.abi;exports.WETHABI=Qt.abi;exports.BUSDABI=Xt.abi;exports.sanctionsListABI=Jt.abi;exports.lidoStEthAbi=$t;exports.lidoStMaticAbi=er;exports.lidoWithdrawalQueueERC721Abi=tr;exports.lidoWstEthAbi=rr;exports.poLidoNftAbi=or;exports.lidoStakeManagerAbi=ir;exports.optimismGasPriceOracleAbi=nr;
|