@sabaaa1/common 0.1.6 → 0.1.14
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 +16 -12
- package/API/API.mjs +73 -69
- package/API/accessCodeCalls.cjs +1 -0
- package/API/accessCodeCalls.d.ts +23 -0
- package/API/accessCodeCalls.mjs +23 -0
- package/API/admin-calls.cjs +1 -1
- package/API/admin-calls.mjs +5 -7
- package/API/ai-calls.cjs +1 -1
- package/API/ai-calls.mjs +11 -10
- package/API/brotherhoodCalls.cjs +1 -1
- package/API/brotherhoodCalls.mjs +43 -69
- package/API/callLifiAPI.cjs +1 -1
- package/API/callLifiAPI.mjs +8 -7
- package/API/callOdosAPI.cjs +1 -1
- package/API/callOdosAPI.mjs +16 -16
- package/API/callOkxAPI.cjs +1 -0
- package/API/callOkxAPI.d.ts +10 -0
- package/API/callOkxAPI.mjs +13 -0
- package/API/callOneInchAPI.cjs +1 -1
- package/API/callOneInchAPI.mjs +8 -7
- package/API/callRelayer.cjs +1 -1
- package/API/callRelayer.d.ts +11 -0
- package/API/callRelayer.mjs +15 -7
- package/API/checkRisk.cjs +1 -1
- package/API/checkRisk.mjs +5 -4
- package/API/duneAPI.cjs +1 -1
- package/API/duneAPI.mjs +2 -3
- package/API/enclaveCalls.cjs +1 -1
- package/API/enclaveCalls.mjs +9 -11
- package/API/fetchCommitmentsCache.cjs +1 -1
- package/API/fetchCommitmentsCache.d.ts +2 -2
- package/API/fetchCommitmentsCache.mjs +13 -10
- package/API/generate-trading-points.cjs +1 -1
- package/API/generate-trading-points.mjs +34 -39
- package/API/get-token-data.cjs +1 -1
- package/API/get-token-data.mjs +5 -4
- package/API/getBridgeProtocols.cjs +1 -1
- package/API/getBridgeProtocols.mjs +4 -3
- package/API/getGasEstimates.cjs +1 -1
- package/API/getGasEstimates.d.ts +2 -1
- package/API/getGasEstimates.mjs +14 -16
- package/API/getLifiStatus.cjs +1 -1
- package/API/getLifiStatus.mjs +11 -10
- package/API/getRelayerURL.cjs +1 -1
- package/API/getRelayerURL.mjs +4 -4
- package/API/getServerURL.cjs +1 -1
- package/API/getServerURL.mjs +42 -36
- package/API/getTokenPrice.cjs +1 -1
- package/API/getTokenPrice.d.ts +0 -11
- package/API/getTokenPrice.mjs +8 -23
- package/API/getWebsiteURL.cjs +1 -1
- package/API/getWebsiteURL.d.ts +1 -1
- package/API/getWebsiteURL.mjs +6 -7
- package/API/index.d.ts +2 -1
- package/API/is-tx-stateless.cjs +1 -1
- package/API/is-tx-stateless.mjs +17 -22
- package/API/kycCalls.cjs +1 -1
- package/API/kycCalls.d.ts +2 -2
- package/API/kycCalls.mjs +31 -30
- package/API/leaderboardCalls.cjs +1 -1
- package/API/leaderboardCalls.mjs +11 -16
- package/API/proxyAccountsCalls.cjs +1 -1
- package/API/proxyAccountsCalls.mjs +19 -18
- package/API/referralsCalls.cjs +1 -1
- package/API/referralsCalls.mjs +16 -24
- package/API/relayCalls.cjs +1 -1
- package/API/relayCalls.mjs +6 -8
- package/API/resolve-sns.cjs +1 -0
- package/API/resolve-sns.d.ts +1 -0
- package/API/resolve-sns.mjs +12 -0
- package/API/restoreSnapshots.cjs +1 -1
- package/API/restoreSnapshots.mjs +5 -5
- package/API/rewardsUserCalls.cjs +1 -1
- package/API/rewardsUserCalls.mjs +37 -54
- package/API/seedless-calls.cjs +1 -0
- package/API/seedless-calls.d.ts +53 -0
- package/API/seedless-calls.mjs +12 -0
- package/API/send-telegram-callback.cjs +1 -1
- package/API/send-telegram-callback.mjs +9 -11
- package/API/simulate-batch-tx.cjs +1 -1
- package/API/simulate-batch-tx.mjs +11 -13
- package/API/solana-calls.cjs +1 -0
- package/API/solana-calls.d.ts +34 -0
- package/API/solana-calls.mjs +19 -0
- package/API/tenderly.api.cjs +1 -1
- package/API/tenderly.api.mjs +48 -59
- package/API/token-calls.cjs +1 -1
- package/API/token-calls.mjs +11 -13
- package/API/weeklyAnalyticCalls.cjs +1 -1
- package/API/weeklyAnalyticCalls.mjs +9 -14
- package/README.md +164 -0
- package/_virtual/_commonjsHelpers.cjs +1 -0
- package/_virtual/_commonjsHelpers.mjs +30 -0
- package/_virtual/bn.cjs +1 -0
- package/_virtual/bn.mjs +4 -0
- package/_virtual/bn2.cjs +1 -0
- package/_virtual/bn2.mjs +4 -0
- package/_virtual/common.cjs +1 -0
- package/_virtual/common.mjs +4 -0
- package/_virtual/common2.cjs +1 -0
- package/_virtual/common2.mjs +4 -0
- package/_virtual/hash.cjs +1 -0
- package/_virtual/hash.mjs +4 -0
- package/_virtual/index.cjs +1 -0
- package/_virtual/index.mjs +6 -0
- package/_virtual/index10.cjs +1 -0
- package/_virtual/index10.mjs +6 -0
- package/_virtual/index11.cjs +1 -0
- package/_virtual/index11.mjs +6 -0
- package/_virtual/index12.cjs +1 -0
- package/_virtual/index12.mjs +6 -0
- package/_virtual/index13.cjs +1 -0
- package/_virtual/index13.mjs +6 -0
- package/_virtual/index14.cjs +1 -0
- package/_virtual/index14.mjs +6 -0
- package/_virtual/index15.cjs +1 -0
- package/_virtual/index15.mjs +6 -0
- package/_virtual/index16.cjs +1 -0
- package/_virtual/index16.mjs +6 -0
- package/_virtual/index17.cjs +1 -0
- package/_virtual/index17.mjs +6 -0
- package/_virtual/index18.cjs +1 -0
- package/_virtual/index18.mjs +6 -0
- package/_virtual/index19.cjs +1 -0
- package/_virtual/index19.mjs +6 -0
- package/_virtual/index2.cjs +1 -0
- package/_virtual/index2.mjs +6 -0
- package/_virtual/index20.cjs +1 -0
- package/_virtual/index20.mjs +6 -0
- package/_virtual/index21.cjs +1 -0
- package/_virtual/index21.mjs +6 -0
- package/_virtual/index22.cjs +1 -0
- package/_virtual/index22.mjs +4 -0
- package/_virtual/index3.cjs +1 -0
- package/_virtual/index3.mjs +6 -0
- package/_virtual/index4.cjs +1 -0
- package/_virtual/index4.mjs +6 -0
- package/_virtual/index5.cjs +1 -0
- package/_virtual/index5.mjs +6 -0
- package/_virtual/index6.cjs +1 -0
- package/_virtual/index6.mjs +6 -0
- package/_virtual/index7.cjs +1 -0
- package/_virtual/index7.mjs +6 -0
- package/_virtual/index8.cjs +1 -0
- package/_virtual/index8.mjs +6 -0
- package/_virtual/index9.cjs +1 -0
- package/_virtual/index9.mjs +6 -0
- package/_virtual/inherits_browser.cjs +1 -0
- package/_virtual/inherits_browser.mjs +4 -0
- package/_virtual/ripemd.cjs +1 -0
- package/_virtual/ripemd.mjs +4 -0
- package/_virtual/scrypt.cjs +1 -0
- package/_virtual/scrypt.mjs +4 -0
- package/_virtual/sha.cjs +1 -0
- package/_virtual/sha.mjs +4 -0
- package/_virtual/sha3.cjs +1 -0
- package/_virtual/sha3.mjs +4 -0
- package/_virtual/utils.cjs +1 -0
- package/_virtual/utils.mjs +4 -0
- package/_virtual/utils2.cjs +1 -0
- package/_virtual/utils2.mjs +4 -0
- package/constants/backend.constants.cjs +1 -1
- package/constants/backend.constants.d.ts +2 -1
- package/constants/backend.constants.mjs +5 -7
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.d.ts +5 -0
- package/constants/chains.constants.mjs +63 -35
- package/constants/coingecko.constants.cjs +1 -1
- package/constants/coingecko.constants.d.ts +1 -1
- package/constants/coingecko.constants.mjs +18 -11
- package/constants/contracts.constants.cjs +1 -1
- package/constants/contracts.constants.mjs +19 -15
- package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +1218 -8
- package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +1214 -4
- package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-base.json.mjs +1218 -8
- package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +1213 -3
- package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-optimism.json.mjs +1218 -8
- package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-polygon.json.mjs +1218 -8
- package/constants/deploy-data/deploy-data-solana.json.cjs +1 -0
- package/constants/deploy-data/deploy-data-solana.json.mjs +6111 -0
- package/constants/deploy-data/index.d.ts +2 -1
- package/constants/index.d.ts +1 -1
- package/constants/mediaUrls.constants.cjs +1 -1
- package/constants/mediaUrls.constants.d.ts +9 -0
- package/constants/mediaUrls.constants.mjs +13 -4
- package/constants/okx.constants.cjs +1 -0
- package/constants/okx.constants.d.ts +2 -0
- package/constants/okx.constants.mjs +5 -0
- package/constants/protocol.constants.cjs +1 -1
- package/constants/protocol.constants.d.ts +12 -1
- package/constants/protocol.constants.mjs +37 -29
- package/constants/save-depths.cjs +1 -1
- package/constants/save-depths.mjs +4 -1
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +23 -10
- package/constants/server.constants.mjs +102 -89
- package/constants/token-data/ERC20Registry.cjs +1 -1
- package/constants/token-data/ERC20Registry.mjs +49 -35
- package/constants/token-data/index.cjs +1 -1
- package/constants/token-data/index.d.ts +17 -1
- package/constants/token-data/index.mjs +29 -25
- package/constants/token-data/solanaLocalnetRegistry.json.cjs +1 -0
- package/constants/token-data/solanaLocalnetRegistry.json.mjs +24 -0
- package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -0
- package/constants/token-data/solanaMainnetRegistry.json.mjs +560 -0
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -1
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +41 -41
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +19 -10
- package/data-structures/Hinkal/Hinkal.mjs +290 -125
- package/data-structures/Hinkal/IHinkal.d.ts +18 -11
- package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
- package/data-structures/Hinkal/handleAutoDepositBack.mjs +36 -32
- package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +24 -23
- package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionReceive.mjs +13 -12
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.cjs +1 -0
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.d.ts +3 -0
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +28 -0
- package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -1
- package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +11 -8
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +4 -0
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +167 -0
- package/data-structures/Hinkal/hinkalGetRecipientInfo.cjs +1 -1
- package/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +1 -1
- package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +4 -4
- package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -1
- package/data-structures/Hinkal/hinkalMultiSend.mjs +6 -6
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +2 -2
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +109 -93
- package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalProxySwap.mjs +23 -22
- package/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -0
- package/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +6 -0
- package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +45 -0
- package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -1
- package/data-structures/Hinkal/hinkalSignSubAccount.mjs +11 -9
- package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +4 -0
- package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +133 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +216 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +6 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +55 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +6 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +99 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +5 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +96 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +4 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.mjs +120 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +90 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +106 -0
- package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalSwap.mjs +33 -27
- package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
- package/data-structures/Hinkal/hinkalTransfer.mjs +20 -14
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.mjs +15 -9
- package/data-structures/Hinkal/index.d.ts +4 -0
- package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
- package/data-structures/Hinkal/resetMerkleTrees.mjs +56 -23
- package/data-structures/IndexedDB/activity-db.cjs +1 -1
- package/data-structures/IndexedDB/activity-db.d.ts +0 -1
- package/data-structures/IndexedDB/activity-db.mjs +86 -86
- package/data-structures/IndexedDB/balances-db.cjs +1 -1
- package/data-structures/IndexedDB/balances-db.mjs +15 -12
- package/data-structures/IndexedDB/contact-db.cjs +1 -1
- package/data-structures/IndexedDB/contact-db.mjs +29 -26
- package/data-structures/IndexedDB/signatures-db.cjs +1 -1
- package/data-structures/IndexedDB/signatures-db.mjs +14 -10
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +2 -2
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +32 -31
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +6 -1
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +154 -79
- package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +24 -21
- package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/PrivateTokensDB.mjs +39 -34
- package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
- package/data-structures/crypto-keys/decodeUTXO.d.ts +15 -3
- package/data-structures/crypto-keys/decodeUTXO.mjs +84 -26
- package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
- package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +36 -30
- package/data-structures/crypto-keys/keys.cjs +1 -1
- package/data-structures/crypto-keys/keys.d.ts +19 -5
- package/data-structures/crypto-keys/keys.mjs +117 -60
- package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractAccessTokenSnapshotService.d.ts → evm/AbstractAccessTokenSnapshotService.d.ts} +2 -2
- package/data-structures/event-service/{AbstractAccessTokenSnapshotService.mjs → evm/AbstractAccessTokenSnapshotService.mjs} +6 -6
- package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractApprovalsSnapshotService.d.ts → evm/AbstractApprovalsSnapshotService.d.ts} +2 -2
- package/data-structures/event-service/{AbstractApprovalsSnapshotService.mjs → evm/AbstractApprovalsSnapshotService.mjs} +2 -2
- package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractCommitmentsSnapshotService.d.ts → evm/AbstractCommitmentsSnapshotService.d.ts} +3 -3
- package/data-structures/event-service/{AbstractCommitmentsSnapshotService.mjs → evm/AbstractCommitmentsSnapshotService.mjs} +24 -21
- package/data-structures/event-service/evm/AbstractEventService.cjs +1 -0
- package/data-structures/event-service/{AbstractEventService.d.ts → evm/AbstractEventService.d.ts} +1 -1
- package/data-structures/event-service/evm/AbstractEventService.mjs +37 -0
- package/data-structures/event-service/{AbstractNullifierSnapshotService.d.ts → evm/AbstractNullifierSnapshotService.d.ts} +1 -1
- package/data-structures/event-service/evm/AbstractSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractSnapshotService.mjs → evm/AbstractSnapshotService.mjs} +1 -1
- package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -0
- package/data-structures/event-service/{BlockchainEventEmitter.d.ts → evm/BlockchainEventEmitter.d.ts} +2 -1
- package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +89 -0
- package/data-structures/event-service/index.d.ts +13 -7
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +34 -0
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +87 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +29 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +96 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.d.ts +22 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +33 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +21 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +49 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.d.ts +22 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +33 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +39 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +153 -0
- package/data-structures/http/BasicHttpClient.cjs +1 -0
- package/data-structures/http/BasicHttpClient.d.ts +11 -0
- package/data-structures/http/BasicHttpClient.mjs +25 -0
- package/data-structures/http/HttpClient.cjs +1 -0
- package/data-structures/http/HttpClient.d.ts +10 -0
- package/data-structures/http/HttpClient.mjs +15 -0
- package/data-structures/http/index.d.ts +2 -0
- package/data-structures/index.d.ts +1 -0
- package/data-structures/provider-adapter/IProviderAdapter.d.ts +1 -3
- package/data-structures/snapshot/SnapshotFetcherService.d.ts +1 -1
- package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientAccessTokenSnapshotService.d.ts → evm-snapshots/ClientAccessTokenSnapshotService.d.ts} +2 -2
- package/data-structures/snapshot/{ClientAccessTokenSnapshotService.mjs → evm-snapshots/ClientAccessTokenSnapshotService.mjs} +13 -9
- package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientApprovalsSnapshotService.d.ts → evm-snapshots/ClientApprovalsSnapshotService.d.ts} +2 -3
- package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +43 -0
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientCommitmentsSnapshotService.d.ts → evm-snapshots/ClientCommitmentsSnapshotService.d.ts} +2 -2
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +35 -0
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientNullifierSnapshotService.d.ts → evm-snapshots/ClientNullifierSnapshotService.d.ts} +2 -2
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +34 -0
- package/data-structures/snapshot/index.d.ts +7 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +42 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +34 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +34 -0
- package/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
- package/data-structures/token-price-fetcher/TokenChecker.mjs +5 -4
- package/data-structures/utxo/Utxo.cjs +1 -1
- package/data-structures/utxo/Utxo.d.ts +6 -1
- package/data-structures/utxo/Utxo.mjs +37 -24
- package/error-handling/error-codes.constants.cjs +1 -1
- package/error-handling/error-codes.constants.d.ts +2 -0
- package/error-handling/error-codes.constants.mjs +4 -2
- package/functions/connectors.types.d.ts +14 -0
- package/functions/index.d.ts +1 -0
- package/functions/pre-transaction/addressTableLookup.cjs +1 -0
- package/functions/pre-transaction/addressTableLookup.d.ts +4 -0
- package/functions/pre-transaction/addressTableLookup.mjs +44 -0
- package/functions/pre-transaction/constructAdminData.cjs +1 -1
- package/functions/pre-transaction/constructAdminData.d.ts +2 -1
- package/functions/pre-transaction/constructAdminData.mjs +30 -12
- package/functions/pre-transaction/convert-okx-instructions.cjs +1 -0
- package/functions/pre-transaction/convert-okx-instructions.d.ts +12 -0
- package/functions/pre-transaction/convert-okx-instructions.mjs +30 -0
- package/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -0
- package/functions/pre-transaction/getSolanaCalldataHash.d.ts +4 -0
- package/functions/pre-transaction/getSolanaCalldataHash.mjs +36 -0
- package/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -1
- package/functions/pre-transaction/getVolatileTransferAmount.mjs +11 -7
- package/functions/pre-transaction/index.d.ts +10 -0
- package/functions/pre-transaction/initTokenLimitIfNeeded.cjs +1 -0
- package/functions/pre-transaction/initTokenLimitIfNeeded.d.ts +3 -0
- package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +20 -0
- package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.mjs +14 -13
- package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
- package/functions/pre-transaction/process-gas-estimates.d.ts +2 -2
- package/functions/pre-transaction/process-gas-estimates.mjs +13 -12
- package/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -0
- package/functions/pre-transaction/recipientUtxoProcessing.d.ts +3 -0
- package/functions/pre-transaction/recipientUtxoProcessing.mjs +36 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.d.ts +11 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +41 -0
- package/functions/pre-transaction/sendV0Transaction.cjs +1 -0
- package/functions/pre-transaction/sendV0Transaction.d.ts +22 -0
- package/functions/pre-transaction/sendV0Transaction.mjs +121 -0
- package/functions/pre-transaction/solana-public-signals.cjs +1 -0
- package/functions/pre-transaction/solana-public-signals.d.ts +19 -0
- package/functions/pre-transaction/solana-public-signals.mjs +60 -0
- package/functions/pre-transaction/solana.cjs +1 -0
- package/functions/pre-transaction/solana.d.ts +17 -0
- package/functions/pre-transaction/solana.mjs +96 -0
- package/functions/pre-transaction/solanaTransfer.utils.cjs +1 -0
- package/functions/pre-transaction/solanaTransfer.utils.d.ts +6 -0
- package/functions/pre-transaction/solanaTransfer.utils.mjs +38 -0
- package/functions/pre-transaction/store-instructions.cjs +1 -0
- package/functions/pre-transaction/store-instructions.d.ts +4 -0
- package/functions/pre-transaction/store-instructions.mjs +9 -0
- package/functions/pre-transaction/store-proof.cjs +1 -0
- package/functions/pre-transaction/store-proof.d.ts +7 -0
- package/functions/pre-transaction/store-proof.mjs +55 -0
- package/functions/private-wallet/emporium.helpers.cjs +1 -1
- package/functions/private-wallet/emporium.helpers.mjs +33 -29
- package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
- package/functions/private-wallet/emporium.swap.helpers.d.ts +1 -1
- package/functions/private-wallet/emporium.swap.helpers.mjs +79 -69
- package/functions/snarkjs/constant.cjs +1 -1
- package/functions/snarkjs/constant.d.ts +40 -0
- package/functions/snarkjs/constant.mjs +66 -23
- package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
- package/functions/snarkjs/constructEmporiumProof.mjs +32 -32
- package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
- package/functions/snarkjs/constructGeneralZkProof.mjs +63 -61
- package/functions/snarkjs/constructSolanaZkProof.cjs +1 -0
- package/functions/snarkjs/constructSolanaZkProof.d.ts +13 -0
- package/functions/snarkjs/constructSolanaZkProof.mjs +109 -0
- package/functions/snarkjs/generateCircomData.cjs +1 -1
- package/functions/snarkjs/generateCircomData.d.ts +1 -1
- package/functions/snarkjs/generateCircomData.mjs +9 -9
- package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
- package/functions/snarkjs/generateZkProofEnclave.mjs +10 -9
- package/functions/snarkjs/getZKFiles.cjs +1 -1
- package/functions/snarkjs/getZKFiles.mjs +13 -13
- package/functions/snarkjs/index.d.ts +1 -0
- package/functions/utils/addresses.cjs +1 -1
- package/functions/utils/addresses.d.ts +1 -1
- package/functions/utils/addresses.mjs +21 -17
- package/functions/utils/amounts.utils.cjs +1 -1
- package/functions/utils/amounts.utils.d.ts +1 -0
- package/functions/utils/amounts.utils.mjs +53 -40
- package/functions/utils/bytes32.utils.cjs +1 -0
- package/functions/utils/bytes32.utils.d.ts +2 -0
- package/functions/utils/bytes32.utils.mjs +10 -0
- package/functions/utils/cacheDevice.utils.cjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +2 -3
- package/functions/utils/cacheFunctions.cjs +1 -1
- package/functions/utils/cacheFunctions.mjs +53 -52
- package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
- package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -0
- package/functions/utils/create-provider.cjs +1 -1
- package/functions/utils/create-provider.d.ts +4 -1
- package/functions/utils/create-provider.mjs +8 -6
- package/functions/utils/encodeTokenWithId.cjs +1 -1
- package/functions/utils/encodeTokenWithId.d.ts +1 -1
- package/functions/utils/encodeTokenWithId.mjs +6 -2
- package/functions/utils/encryptInputForEnclave.cjs +1 -1
- package/functions/utils/encryptInputForEnclave.mjs +29 -28
- package/functions/utils/erc20tokenFunctions.cjs +1 -1
- package/functions/utils/erc20tokenFunctions.mjs +29 -29
- package/functions/utils/ethers-formatter.utils.cjs +1 -1
- package/functions/utils/ethers-formatter.utils.d.ts +2 -0
- package/functions/utils/ethers-formatter.utils.mjs +45 -15
- package/functions/utils/evmNetworkFunctions.cjs +1 -1
- package/functions/utils/evmNetworkFunctions.mjs +3 -4
- package/functions/utils/fees.utils.cjs +1 -1
- package/functions/utils/fees.utils.d.ts +1 -0
- package/functions/utils/fees.utils.mjs +19 -9
- package/functions/utils/get-hinkal-approvals.cjs +1 -1
- package/functions/utils/get-hinkal-approvals.mjs +1 -1
- package/functions/utils/getBlockExplorerUrl.cjs +1 -1
- package/functions/utils/getBlockExplorerUrl.mjs +2 -2
- package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
- package/functions/utils/getRecipientInfoFromUserKeys.d.ts +0 -1
- package/functions/utils/getRecipientInfoFromUserKeys.mjs +10 -13
- package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -0
- package/functions/utils/getUtxosFromReceipt.utils.d.ts +4 -0
- package/functions/utils/getUtxosFromReceipt.utils.mjs +29 -0
- package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -0
- package/functions/utils/getUtxosFromReceiptSolana.d.ts +5 -0
- package/functions/utils/getUtxosFromReceiptSolana.mjs +19 -0
- package/functions/utils/index.d.ts +5 -1
- package/functions/utils/networks.utils.cjs +1 -1
- package/functions/utils/networks.utils.mjs +2 -3
- package/functions/utils/nftTokenFunctions.cjs +1 -1
- package/functions/utils/nftTokenFunctions.mjs +8 -4
- package/functions/utils/prepareHinkal.cjs +1 -0
- package/functions/utils/prepareHinkal.d.ts +7 -1
- package/functions/utils/prepareHinkal.mjs +88 -0
- package/functions/utils/publicBalance.utils.cjs +1 -1
- package/functions/utils/publicBalance.utils.d.ts +1 -0
- package/functions/utils/publicBalance.utils.mjs +75 -45
- package/functions/utils/solanaMint.utils.cjs +1 -0
- package/functions/utils/solanaMint.utils.d.ts +10 -0
- package/functions/utils/solanaMint.utils.mjs +14 -0
- package/functions/utils/time.utils.cjs +1 -1
- package/functions/utils/time.utils.d.ts +1 -1
- package/functions/utils/time.utils.mjs +11 -11
- package/functions/utils/userAgent.cjs +1 -1
- package/functions/utils/userAgent.mjs +6 -7
- package/functions/utils/walletBalances.utils.cjs +1 -1
- package/functions/utils/walletBalances.utils.d.ts +2 -1
- package/functions/utils/walletBalances.utils.mjs +18 -17
- package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.mjs +98 -91
- package/functions/web3/events/getInputUtxosEnclave.cjs +1 -1
- package/functions/web3/events/getInputUtxosEnclave.mjs +38 -16
- package/functions/web3/events/getShieldedBalance.cjs +2 -2
- package/functions/web3/events/getShieldedBalance.mjs +70 -62
- package/functions/web3/events/getTransactionLogEvents.cjs +1 -1
- package/functions/web3/events/getTransactionLogEvents.d.ts +3 -2
- package/functions/web3/events/getTransactionLogEvents.mjs +12 -9
- package/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -0
- package/functions/web3/fetchSolanaMerkleTreeRootHash.d.ts +4 -0
- package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +45 -0
- package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
- package/functions/web3/functionCalls/accessTokenCalls.d.ts +2 -0
- package/functions/web3/functionCalls/accessTokenCalls.mjs +25 -7
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.d.ts +20 -0
- package/functions/web3/functionCalls/transactCallRelayer.mjs +61 -19
- package/functions/web3/getContractMetadata.cjs +1 -1
- package/functions/web3/getContractMetadata.mjs +20 -50
- package/functions/web3/getTokenHolder.cjs +1 -1
- package/functions/web3/getTokenHolder.mjs +29 -24
- package/functions/web3/index.d.ts +2 -0
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.mjs +11 -8
- package/functions/web3/okxAPI.cjs +1 -0
- package/functions/web3/okxAPI.d.ts +8 -0
- package/functions/web3/okxAPI.mjs +43 -0
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.mjs +7 -4
- package/functions/web3/runContractFunction.cjs +1 -1
- package/functions/web3/runContractFunction.mjs +22 -18
- package/functions/web3/signAndSendSerializedTransaction.cjs +1 -0
- package/functions/web3/signAndSendSerializedTransaction.d.ts +2 -0
- package/functions/web3/signAndSendSerializedTransaction.mjs +11 -0
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.mjs +7 -4
- package/index.cjs +1 -1
- package/index.mjs +922 -810
- package/package.json +12 -16
- package/providers/CustomEthersProvider.cjs +1 -0
- package/providers/{TorExternalProvider.d.ts → CustomEthersProvider.d.ts} +2 -2
- package/providers/CustomEthersProvider.mjs +29 -0
- package/providers/CustomSolanaConnection.cjs +1 -0
- package/providers/CustomSolanaConnection.d.ts +4 -0
- package/providers/CustomSolanaConnection.mjs +33 -0
- package/providers/EthersProviderAdapter.cjs +1 -1
- package/providers/EthersProviderAdapter.d.ts +1 -2
- package/providers/EthersProviderAdapter.mjs +8 -48
- package/providers/SolanaProviderAdapter.cjs +1 -0
- package/providers/SolanaProviderAdapter.d.ts +44 -0
- package/providers/SolanaProviderAdapter.mjs +125 -0
- package/providers/WagmiProviderAdapter.cjs +1 -1
- package/providers/WagmiProviderAdapter.d.ts +1 -2
- package/providers/WagmiProviderAdapter.mjs +26 -24
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +10 -7
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +9 -6
- package/types/IMultiThreadedUtxoUtils.d.ts +2 -2
- package/types/TransactionSimulator.types.d.ts +1 -0
- package/types/activities.types.cjs +1 -1
- package/types/activities.types.d.ts +1 -0
- package/types/activities.types.mjs +6 -4
- package/types/admin.types.cjs +1 -1
- package/types/admin.types.d.ts +16 -0
- package/types/admin.types.mjs +1 -1
- package/types/all-points.types.d.ts +0 -1
- package/types/cache.types.cjs +1 -1
- package/types/cache.types.d.ts +8 -1
- package/types/cache.types.mjs +1 -1
- package/types/circom-data.types.d.ts +6 -0
- package/types/commitments.types.d.ts +12 -0
- package/types/ethereum-network.types.cjs +1 -1
- package/types/ethereum-network.types.d.ts +9 -3
- package/types/ethereum-network.types.mjs +1 -1
- package/types/external-action.types.cjs +1 -1
- package/types/external-action.types.d.ts +3 -1
- package/types/external-action.types.mjs +2 -2
- package/types/hinkal.types.cjs +1 -1
- package/types/hinkal.types.d.ts +3 -2
- package/types/hinkal.types.mjs +8 -8
- package/types/http.types.d.ts +8 -0
- package/types/index.d.ts +3 -2
- package/types/new-rewards.type.d.ts +2 -9
- package/types/offscreen.types.cjs +1 -1
- package/types/offscreen.types.d.ts +2 -1
- package/types/offscreen.types.mjs +2 -2
- package/types/okx.types.d.ts +57 -0
- package/types/rewards.types.d.ts +0 -11
- package/types/sandbox.types.cjs +1 -1
- package/types/sandbox.types.d.ts +19 -2
- package/types/sandbox.types.mjs +2 -2
- package/types/solana.types.d.ts +75 -0
- package/types/token.types.d.ts +6 -0
- 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.d.ts +0 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +28 -30
- package/webworker/utxoWorker/utxoWorker.types.d.ts +2 -0
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.mjs +33 -31
- package/webworker/viteWorkerURL.constant.cjs +21 -1
- package/webworker/viteWorkerURL.constant.mjs +21 -12
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
- package/API/mysteryBoxesCalls.cjs +0 -1
- package/API/mysteryBoxesCalls.d.ts +0 -60
- package/API/mysteryBoxesCalls.mjs +0 -66
- package/assets/snarkjsWorkerLauncher-CWaDqRaL.js +0 -14803
- package/assets/utxoWorkerLauncher-BUhBaUSg.js +0 -115868
- package/assets/zkProofWorkerLauncher-DlWQP3l9.js +0 -115360
- package/constants/mystery-boxes.constants.cjs +0 -1
- package/constants/mystery-boxes.constants.d.ts +0 -63
- package/constants/mystery-boxes.constants.mjs +0 -355
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractApprovalsSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractEventService.cjs +0 -1
- package/data-structures/event-service/AbstractEventService.mjs +0 -33
- package/data-structures/event-service/AbstractSnapshotService.cjs +0 -1
- package/data-structures/event-service/BlockchainEventEmitter.cjs +0 -1
- package/data-structures/event-service/BlockchainEventEmitter.mjs +0 -80
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientApprovalsSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientApprovalsSnapshotService.mjs +0 -23
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +0 -31
- package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +0 -30
- package/functions/utils/mystery-box-auction.utils.cjs +0 -1
- package/functions/utils/mystery-box-auction.utils.d.ts +0 -8
- package/functions/utils/mystery-box-auction.utils.mjs +0 -51
- package/providers/TorExternalProvider.cjs +0 -1
- package/providers/TorExternalProvider.mjs +0 -29
- package/types/merch-order.types.cjs +0 -1
- package/types/merch-order.types.d.ts +0 -16
- package/types/merch-order.types.mjs +0 -4
- package/types/mystery-boxes.types.cjs +0 -1
- package/types/mystery-boxes.types.d.ts +0 -43
- package/types/mystery-boxes.types.mjs +0 -6
- /package/data-structures/event-service/{AbstractNullifierSnapshotService.cjs → evm/AbstractNullifierSnapshotService.cjs} +0 -0
- /package/data-structures/event-service/{AbstractNullifierSnapshotService.mjs → evm/AbstractNullifierSnapshotService.mjs} +0 -0
- /package/data-structures/event-service/{AbstractSnapshotService.d.ts → evm/AbstractSnapshotService.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BD7ycVagzvCbKU9xb8DkzZJHViwSLy1CLkGG6NPc95ER",a={address:"BD7ycVagzvCbKU9xb8DkzZJHViwSLy1CLkGG6NPc95ER",metadata:{name:"hinkal",version:"0.1.0",spec:"0.1.0",description:"Created with Anchor"},instructions:[{name:"accept_ownership",discriminator:[172,23,43,13,238,213,85,150],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}}],args:[]},{name:"add_access_token",discriminator:[237,41,189,178,135,37,9,178],accounts:[{name:"payer",writable:!0,signer:!0},{name:"original_deployer"},{name:"access_token_storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_owner",signer:!0},{name:"accesskey_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,107,101,121,115]},{kind:"account",path:"original_deployer"},{kind:"arg",path:"access_key"}]}},{name:"merkle_account_access_token",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"access_key",type:{array:["u8",32]}}]},{name:"change_access_token_owner_key",discriminator:[195,251,147,150,188,74,229,39],accounts:[{name:"owner",signer:!0},{name:"original_deployer"},{name:"storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"new_access_token_owner"}],args:[]},{name:"close_nullifier",discriminator:[162,69,214,3,121,155,58,219],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"nullifier_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,110,117,108,108,105,102,105,101,114]},{kind:"account",path:"original_deployer"},{kind:"arg",path:"nullifier"}]}},{name:"storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"nullifier",type:{array:["u8",32]}}]},{name:"init_nullifier",discriminator:[187,124,88,139,111,232,162,236],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"nullifier_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,110,117,108,108,105,102,105,101,114]},{kind:"account",path:"original_deployer"},{kind:"arg",path:"nullifier"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"nullifier",type:{array:["u8",32]}}]},{name:"init_token_limit",discriminator:[101,50,38,98,240,193,205,13],accounts:[{name:"payer",writable:!0,signer:!0},{name:"original_deployer"},{name:"mint",optional:!0},{name:"token_limit_storage",writable:!0},{name:"system_program",address:"11111111111111111111111111111111"}],args:[]},{name:"initialize",discriminator:[175,175,109,31,13,152,155,237],accounts:[{name:"original_deployer",writable:!0,signer:!0},{name:"storage_vault",docs:["zero-length PDA owned by the system program that only stores lamports"],writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account_access_token",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"rent",address:"SysvarRent111111111111111111111111111111111"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[]},{name:"multi_payment_deposit",discriminator:[70,64,60,132,3,67,69,74],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_owner",signer:!0,optional:!0},{name:"token_limit_storage",writable:!0},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"amounts",type:{vec:"u64"}},{name:"stealth_address_structure",type:{defined:{name:"StealthAddressStructure"}}}]},{name:"proofless_deposit",discriminator:[238,63,30,216,109,36,109,123],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_owner",signer:!0,optional:!0},{name:"token_limit_storage",writable:!0},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"amount",type:"u64"},{name:"stealth_address_structure",type:{defined:{name:"StealthAddressStructure"}}}]},{name:"store_encrypted_outputs",discriminator:[119,158,243,225,12,25,29,85],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"encrypted_outputs_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"encrypted_outputs",type:{defined:{name:"EncryptedOutputs"}}}]},{name:"store_instructions",discriminator:[74,235,173,153,203,64,250,122],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"instructions_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,105,110,115,116,114,117,99,116,105,111,110,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"instructions",type:{vec:{defined:{name:"SolanaInstructionData"}}}}]},{name:"store_proof_part1",discriminator:[174,144,197,114,7,196,154,191],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"proof_account_part1",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"proof_a_arr",type:{array:["u8",64]}},{name:"proof_b_arr",type:{array:["u8",128]}},{name:"proof_c_arr",type:{array:["u8",64]}},{name:"public_signals_part1",type:{vec:{array:["u8",32]}}}]},{name:"store_proof_part2",discriminator:[32,225,73,0,60,163,213,158],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"proof_account_part2",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"public_signals_part2",type:{vec:{array:["u8",32]}}}]},{name:"swap2",discriminator:[65,75,63,76,235,91,91,136],accounts:[{name:"signer",writable:!0,signer:!0},{name:"swapper_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,115,119,97,112,112,101,114]},{kind:"account",path:"original_deployer"}]}},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint_from",optional:!0},{name:"mint_to",optional:!0},{name:"signer_to_ata",writable:!0,optional:!0},{name:"storage_vault_from_ata",writable:!0,optional:!0},{name:"storage_vault_to_ata",writable:!0,optional:!0},{name:"swapper_account_from_ata",writable:!0,optional:!0},{name:"swapper_account_to_ata",writable:!0,optional:!0},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account_access_token",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"from_token_limit"},{name:"to_token_limit"},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"third_nullifier",writable:!0,optional:!0},{name:"fourth_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"instructions_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,105,110,115,116,114,117,99,116,105,111,110,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"variable_rate",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"swap6",discriminator:[99,72,77,24,113,171,250,215],accounts:[{name:"signer",writable:!0,signer:!0},{name:"swapper_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,115,119,97,112,112,101,114]},{kind:"account",path:"original_deployer"}]}},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint_from",optional:!0},{name:"mint_to",optional:!0},{name:"signer_to_ata",writable:!0,optional:!0},{name:"storage_vault_from_ata",writable:!0,optional:!0},{name:"storage_vault_to_ata",writable:!0,optional:!0},{name:"swapper_account_from_ata",writable:!0,optional:!0},{name:"swapper_account_to_ata",writable:!0,optional:!0},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account_access_token",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"from_token_limit"},{name:"to_token_limit"},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"third_nullifier",writable:!0,optional:!0},{name:"fourth_nullifier",writable:!0,optional:!0},{name:"fifth_nullifier",writable:!0,optional:!0},{name:"sixth_nullifier",writable:!0,optional:!0},{name:"seventh_nullifier",writable:!0,optional:!0},{name:"eighth_nullifier",writable:!0,optional:!0},{name:"nineth_nullifier",writable:!0,optional:!0},{name:"tenth_nullifier",writable:!0,optional:!0},{name:"eleventh_nullifier",writable:!0,optional:!0},{name:"twelveth_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"instructions_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,105,110,115,116,114,117,99,116,105,111,110,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"variable_rate",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"transact2",discriminator:[147,170,237,9,83,181,181,81],accounts:[{name:"signer",writable:!0,signer:!0},{name:"recipient",writable:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"recipient_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"recipient"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account_access_token",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"token_limit_storage",writable:!0},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"forbid_deposit",type:"bool"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"transact6",discriminator:[141,202,39,130,160,18,56,118],accounts:[{name:"signer",writable:!0,signer:!0},{name:"recipient",writable:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"recipient_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"recipient"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"merkle_account_access_token",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"access_token_storage_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,97,99,99,101,115,115,95,116,111,107,101,110]},{kind:"account",path:"original_deployer"}]}},{name:"token_limit_storage",writable:!0},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"third_nullifier",writable:!0,optional:!0},{name:"fourth_nullifier",writable:!0,optional:!0},{name:"fifth_nullifier",writable:!0,optional:!0},{name:"sixth_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"forbid_deposit",type:"bool"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"transfer2",discriminator:[27,140,248,82,105,169,171,143],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"transfer6",discriminator:[181,146,34,243,187,199,220,67],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"storage_vault",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,118,97,117,108,116]},{kind:"account",path:"original_deployer"}]}},{name:"mint",optional:!0},{name:"signer_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"signer"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"storage_vault_ata",writable:!0,optional:!0,pda:{seeds:[{kind:"account",path:"storage_vault"},{kind:"const",value:[6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169]},{kind:"account",path:"mint"}],program:{kind:"const",value:[140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89]}}},{name:"merkle_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,109,101,114,107,108,101]},{kind:"account",path:"original_deployer"}]}},{name:"first_nullifier",writable:!0,optional:!0},{name:"second_nullifier",writable:!0,optional:!0},{name:"third_nullifier",writable:!0,optional:!0},{name:"fourth_nullifier",writable:!0,optional:!0},{name:"fifth_nullifier",writable:!0,optional:!0},{name:"sixth_nullifier",writable:!0,optional:!0},{name:"encrypted_outputs_account",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,101,110,99,114,121,112,116,101,100,95,111,117,116,112,117,116,115]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part1",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,49]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"proof_account_part2",pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108,95,112,114,111,111,102,95,112,97,114,116,50]},{kind:"account",path:"original_deployer"},{kind:"account",path:"signer"},{kind:"arg",path:"id"}]}},{name:"token_program",address:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{name:"associated_token_program",address:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"id",type:"u32"},{name:"in_nullifiers",type:{vec:{array:["u8",32]}}},{name:"relayer_fee",type:"u64"},{name:"dimensions",type:{defined:{name:"Dimensions"}}}]},{name:"transfer_ownership",discriminator:[65,177,215,73,53,45,99,47],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}}],args:[{name:"new_owner",type:"pubkey"}]},{name:"update_relayer_status",discriminator:[247,180,15,221,102,66,142,253],accounts:[{name:"signer",writable:!0,signer:!0},{name:"original_deployer"},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"relayer"},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"status",type:"bool"}]},{name:"update_token_limit",discriminator:[76,78,222,27,68,124,113,42],accounts:[{name:"payer",writable:!0,signer:!0},{name:"original_deployer"},{name:"mint",optional:!0},{name:"token_limit_storage",writable:!0},{name:"storage_account",writable:!0,pda:{seeds:[{kind:"const",value:[104,105,110,107,97,108]},{kind:"account",path:"original_deployer"}]}},{name:"system_program",address:"11111111111111111111111111111111"}],args:[{name:"amount",type:"u64"}]}],accounts:[{name:"AccessTokenStorageAccount",discriminator:[141,226,180,59,133,124,66,180]},{name:"AccesskeyAccount",discriminator:[173,112,95,217,116,67,209,214]},{name:"EncryptedOutputsAccount",discriminator:[38,153,140,49,115,38,136,21]},{name:"InstructionsAccount",discriminator:[158,246,131,222,29,159,202,65]},{name:"Merkle",discriminator:[55,52,102,252,195,69,204,210]},{name:"NullifierAccount",discriminator:[250,31,238,177,213,98,48,172]},{name:"ProofAccountPart1",discriminator:[227,231,205,87,22,154,112,114]},{name:"ProofAccountPart2",discriminator:[84,185,22,128,59,14,111,158]},{name:"StorageAccount",discriminator:[41,48,231,194,22,77,205,235]},{name:"TokenLimitStorageAccount",discriminator:[245,35,95,177,138,179,80,82]}],events:[{name:"AccessTokenOwnerChanged",discriminator:[68,231,13,75,227,104,188,86]},{name:"BlockedUtxosCreated",discriminator:[64,214,216,215,75,156,106,107]},{name:"NewAccessKeyAdded",discriminator:[4,138,241,97,75,107,29,235]},{name:"NewCommitment",discriminator:[78,21,75,243,5,132,204,67]},{name:"Nullified",discriminator:[124,69,200,64,75,203,121,17]},{name:"OwnershipAccepted",discriminator:[60,223,46,198,226,73,39,18]},{name:"OwnershipTransferred",discriminator:[172,61,205,183,250,50,38,98]},{name:"RelayerStatusUpdated",discriminator:[47,132,241,182,171,89,127,242]},{name:"TokenLimitUpdated",discriminator:[129,164,134,229,69,191,74,160]}],errors:[{code:6e3,name:"TreeIsFull",msg:"Tree is full."},{code:6001,name:"IncompleteHash",msg:"Poseidon hash not completed"}],types:[{name:"AccessTokenOwnerChanged",type:{kind:"struct",fields:[{name:"old_owner",type:"pubkey"},{name:"new_owner",type:"pubkey"}]}},{name:"AccessTokenStorageAccount",type:{kind:"struct",fields:[{name:"access_token_owner_key",type:"pubkey"}]}},{name:"AccesskeyAccount",type:{kind:"struct",fields:[{name:"is_added",type:"bool"}]}},{name:"BlockedUtxosCreated",type:{kind:"struct",fields:[{name:"sender",type:"pubkey"},{name:"mint",type:"pubkey"},{name:"amounts",type:{vec:"u64"}}]}},{name:"Dimensions",type:{kind:"struct",fields:[{name:"token_number",type:"u8"},{name:"nullifier_amount",type:"u8"},{name:"output_amount",type:"u8"}]}},{name:"EncryptedOutputs",type:{kind:"struct",fields:[{name:"outputs",type:{vec:"bytes"}}]}},{name:"EncryptedOutputsAccount",type:{kind:"struct",fields:[{name:"encrypted_outputs",type:{vec:"bytes"}}]}},{name:"InstructionsAccount",type:{kind:"struct",fields:[{name:"instructions",type:{vec:{defined:{name:"SolanaInstructionData"}}}}]}},{name:"Merkle",serialization:"bytemuck",repr:{kind:"c"},type:{kind:"struct",fields:[{name:"tree_levels",type:{array:[{array:["u8",32]},200]}},{name:"roots",type:{array:[{array:["u8",32]},100]}},{name:"m_index",type:{array:["u8",32]}},{name:"root_index",type:{array:["u8",32]}},{name:"levels",type:"u128"},{name:"minimum_index",type:{array:["u8",32]}}]}},{name:"NewAccessKeyAdded",type:{kind:"struct",fields:[{name:"access_key",type:{array:["u8",32]}},{name:"index",type:{array:["u8",32]}},{name:"sender_address",type:{array:["u8",32]}}]}},{name:"NewCommitment",type:{kind:"struct",fields:[{name:"commitment",type:{array:["u8",32]}},{name:"index",type:{array:["u8",32]}},{name:"encrypted_output",type:"bytes"},{name:"on_chain_data",type:{array:[{array:["u8",32]},8]}}]}},{name:"Nullified",type:{kind:"struct",fields:[{name:"nullifier",type:{array:["u8",32]}}]}},{name:"NullifierAccount",type:{kind:"struct",fields:[{name:"is_used",type:"bool"}]}},{name:"OwnershipAccepted",type:{kind:"struct",fields:[{name:"previous_owner",type:"pubkey"},{name:"new_owner",type:"pubkey"}]}},{name:"OwnershipTransferred",type:{kind:"struct",fields:[{name:"previous_owner",type:"pubkey"},{name:"new_pending_owner",type:"pubkey"}]}},{name:"ProofAccountPart1",type:{kind:"struct",fields:[{name:"proof_a_arr",type:{array:["u8",64]}},{name:"proof_b_arr",type:{array:["u8",128]}},{name:"proof_c_arr",type:{array:["u8",64]}},{name:"public_signals_part1",type:{vec:{array:["u8",32]}}}]}},{name:"ProofAccountPart2",type:{kind:"struct",fields:[{name:"public_signals_part2",type:{vec:{array:["u8",32]}}}]}},{name:"RelayerStatusUpdated",type:{kind:"struct",fields:[{name:"relayer",type:"pubkey"},{name:"status",type:"bool"}]}},{name:"SolanaInstructionData",type:{kind:"struct",fields:[{name:"account_indexes",type:"bytes"},{name:"data",type:"bytes"},{name:"program_index",type:"u8"}]}},{name:"StealthAddressStructure",type:{kind:"struct",fields:[{name:"extra_randomization",type:{array:["u8",32]}},{name:"stealth_address",type:{array:["u8",32]}},{name:"h0",type:{array:["u8",32]}},{name:"h1",type:{array:["u8",32]}}]}},{name:"StorageAccount",type:{kind:"struct",fields:[{name:"whitelisted_relayers",type:{vec:"pubkey"}},{name:"owner",type:"pubkey"},{name:"pending_owner",type:"pubkey"}]}},{name:"TokenLimitStorageAccount",type:{kind:"struct",fields:[{name:"amount_limit",type:"u64"}]}},{name:"TokenLimitUpdated",type:{kind:"struct",fields:[{name:"mint",type:{option:"pubkey"}},{name:"amount_limit",type:"u64"}]}}]},n="DW2Na5Q41Ve6HZQzMvPwJVT1tzKnb2UCp8WZkk1EcJUw",t={hinkalAddress:e,hinkalIdl:a,originalDeployer:n};exports.default=t;exports.hinkalAddress=e;exports.hinkalIdl=a;exports.originalDeployer=n;
|