@virtuals-protocol/acp-node-v2 0.1.3 → 0.1.5
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/dist/clientFactory.d.ts +1 -2
- package/dist/clientFactory.d.ts.map +1 -1
- package/dist/clientFactory.js +1 -5
- package/dist/clientFactory.js.map +1 -1
- package/dist/core/constants.d.ts +4 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +13 -0
- package/dist/core/constants.js.map +1 -1
- package/dist/core/solana/constants.d.ts +5 -0
- package/dist/core/solana/constants.d.ts.map +1 -0
- package/dist/core/solana/constants.js +5 -0
- package/dist/core/solana/constants.js.map +1 -0
- package/dist/core/solana/generated/acp/accounts/acpState.d.ts +60 -0
- package/dist/core/solana/generated/acp/accounts/acpState.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/accounts/acpState.js +68 -0
- package/dist/core/solana/generated/acp/accounts/acpState.js.map +1 -0
- package/dist/core/solana/generated/acp/accounts/hookWhitelist.d.ts +37 -0
- package/dist/core/solana/generated/acp/accounts/hookWhitelist.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/accounts/hookWhitelist.js +59 -0
- package/dist/core/solana/generated/acp/accounts/hookWhitelist.js.map +1 -0
- package/dist/core/solana/generated/acp/accounts/index.d.ts +11 -0
- package/dist/core/solana/generated/acp/accounts/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/accounts/index.js +11 -0
- package/dist/core/solana/generated/acp/accounts/index.js.map +1 -0
- package/dist/core/solana/generated/acp/accounts/job.d.ts +89 -0
- package/dist/core/solana/generated/acp/accounts/job.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/accounts/job.js +83 -0
- package/dist/core/solana/generated/acp/accounts/job.js.map +1 -0
- package/dist/core/solana/generated/acp/errors/agenticCommerceV3.d.ts +94 -0
- package/dist/core/solana/generated/acp/errors/agenticCommerceV3.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/errors/agenticCommerceV3.js +135 -0
- package/dist/core/solana/generated/acp/errors/agenticCommerceV3.js.map +1 -0
- package/dist/core/solana/generated/acp/errors/index.d.ts +9 -0
- package/dist/core/solana/generated/acp/errors/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/errors/index.js +9 -0
- package/dist/core/solana/generated/acp/errors/index.js.map +1 -0
- package/dist/core/solana/generated/acp/index.d.ts +14 -0
- package/dist/core/solana/generated/acp/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/index.js +14 -0
- package/dist/core/solana/generated/acp/index.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/acceptAuthority.d.ts +47 -0
- package/dist/core/solana/generated/acp/instructions/acceptAuthority.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/acceptAuthority.js +88 -0
- package/dist/core/solana/generated/acp/instructions/acceptAuthority.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/addHookWhitelist.d.ts +64 -0
- package/dist/core/solana/generated/acp/instructions/addHookWhitelist.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/addHookWhitelist.js +140 -0
- package/dist/core/solana/generated/acp/instructions/addHookWhitelist.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/claimRefund.d.ts +74 -0
- package/dist/core/solana/generated/acp/instructions/claimRefund.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/claimRefund.js +142 -0
- package/dist/core/solana/generated/acp/instructions/claimRefund.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/complete.d.ts +108 -0
- package/dist/core/solana/generated/acp/instructions/complete.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/complete.js +190 -0
- package/dist/core/solana/generated/acp/instructions/complete.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/createJob.d.ts +83 -0
- package/dist/core/solana/generated/acp/instructions/createJob.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/createJob.js +137 -0
- package/dist/core/solana/generated/acp/instructions/createJob.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/fund.d.ts +99 -0
- package/dist/core/solana/generated/acp/instructions/fund.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/fund.js +126 -0
- package/dist/core/solana/generated/acp/instructions/fund.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/index.d.ts +23 -0
- package/dist/core/solana/generated/acp/instructions/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/index.js +23 -0
- package/dist/core/solana/generated/acp/instructions/index.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/initialize.d.ts +76 -0
- package/dist/core/solana/generated/acp/instructions/initialize.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/initialize.js +141 -0
- package/dist/core/solana/generated/acp/instructions/initialize.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/nominateAuthority.d.ts +52 -0
- package/dist/core/solana/generated/acp/instructions/nominateAuthority.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/nominateAuthority.js +96 -0
- package/dist/core/solana/generated/acp/instructions/nominateAuthority.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/reject.d.ts +88 -0
- package/dist/core/solana/generated/acp/instructions/reject.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/reject.js +168 -0
- package/dist/core/solana/generated/acp/instructions/reject.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/removeHookWhitelist.d.ts +56 -0
- package/dist/core/solana/generated/acp/instructions/removeHookWhitelist.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/removeHookWhitelist.js +112 -0
- package/dist/core/solana/generated/acp/instructions/removeHookWhitelist.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setBudget.d.ts +56 -0
- package/dist/core/solana/generated/acp/instructions/setBudget.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setBudget.js +90 -0
- package/dist/core/solana/generated/acp/instructions/setBudget.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setEvaluatorFee.d.ts +52 -0
- package/dist/core/solana/generated/acp/instructions/setEvaluatorFee.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setEvaluatorFee.js +96 -0
- package/dist/core/solana/generated/acp/instructions/setEvaluatorFee.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setPlatformFee.d.ts +56 -0
- package/dist/core/solana/generated/acp/instructions/setPlatformFee.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setPlatformFee.js +98 -0
- package/dist/core/solana/generated/acp/instructions/setPlatformFee.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setProvider.d.ts +50 -0
- package/dist/core/solana/generated/acp/instructions/setProvider.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/setProvider.js +85 -0
- package/dist/core/solana/generated/acp/instructions/setProvider.js.map +1 -0
- package/dist/core/solana/generated/acp/instructions/submit.d.ts +150 -0
- package/dist/core/solana/generated/acp/instructions/submit.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/instructions/submit.js +214 -0
- package/dist/core/solana/generated/acp/instructions/submit.js.map +1 -0
- package/dist/core/solana/generated/acp/pdas/acpState.d.ts +12 -0
- package/dist/core/solana/generated/acp/pdas/acpState.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/pdas/acpState.js +18 -0
- package/dist/core/solana/generated/acp/pdas/acpState.js.map +1 -0
- package/dist/core/solana/generated/acp/pdas/hookWhitelist.d.ts +15 -0
- package/dist/core/solana/generated/acp/pdas/hookWhitelist.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/pdas/hookWhitelist.js +21 -0
- package/dist/core/solana/generated/acp/pdas/hookWhitelist.js.map +1 -0
- package/dist/core/solana/generated/acp/pdas/index.d.ts +10 -0
- package/dist/core/solana/generated/acp/pdas/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/pdas/index.js +10 -0
- package/dist/core/solana/generated/acp/pdas/index.js.map +1 -0
- package/dist/core/solana/generated/acp/programs/agenticCommerceV3.d.ts +71 -0
- package/dist/core/solana/generated/acp/programs/agenticCommerceV3.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/programs/agenticCommerceV3.js +209 -0
- package/dist/core/solana/generated/acp/programs/agenticCommerceV3.js.map +1 -0
- package/dist/core/solana/generated/acp/programs/index.d.ts +9 -0
- package/dist/core/solana/generated/acp/programs/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/programs/index.js +9 -0
- package/dist/core/solana/generated/acp/programs/index.js.map +1 -0
- package/dist/core/solana/generated/acp/shared/index.d.ts +50 -0
- package/dist/core/solana/generated/acp/shared/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/shared/index.js +87 -0
- package/dist/core/solana/generated/acp/shared/index.js.map +1 -0
- package/dist/core/solana/generated/acp/types/index.d.ts +9 -0
- package/dist/core/solana/generated/acp/types/index.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/types/index.js +9 -0
- package/dist/core/solana/generated/acp/types/index.js.map +1 -0
- package/dist/core/solana/generated/acp/types/jobCreated.d.ts +11 -0
- package/dist/core/solana/generated/acp/types/jobCreated.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/types/jobCreated.js +12 -0
- package/dist/core/solana/generated/acp/types/jobCreated.js.map +1 -0
- package/dist/core/solana/generated/acp/types/jobState.d.ts +27 -0
- package/dist/core/solana/generated/acp/types/jobState.d.ts.map +1 -0
- package/dist/core/solana/generated/acp/types/jobState.js +33 -0
- package/dist/core/solana/generated/acp/types/jobState.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/fundRequestIntentId.d.ts +35 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/fundRequestIntentId.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/fundRequestIntentId.js +64 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/fundRequestIntentId.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookMetadata.d.ts +33 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookMetadata.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookMetadata.js +59 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookMetadata.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookState.d.ts +38 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookState.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookState.js +62 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/hookState.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/index.d.ts +13 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/index.js +13 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/index.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/intent.d.ts +61 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/intent.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/intent.js +77 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/intent.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/providerEscrowIntentId.d.ts +35 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/providerEscrowIntentId.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/providerEscrowIntentId.js +64 -0
- package/dist/core/solana/generated/fund-transfer-hook/accounts/providerEscrowIntentId.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/index.d.ts +12 -0
- package/dist/core/solana/generated/fund-transfer-hook/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/index.js +12 -0
- package/dist/core/solana/generated/fund-transfer-hook/index.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/acceptAuthority.d.ts +47 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/acceptAuthority.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/acceptAuthority.js +88 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/acceptAuthority.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/afterAction.d.ts +56 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/afterAction.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/afterAction.js +92 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/afterAction.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/beforeAction.d.ts +52 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/beforeAction.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/beforeAction.js +90 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/beforeAction.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/claimEscrowRefund.d.ts +86 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/claimEscrowRefund.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/claimEscrowRefund.js +169 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/claimEscrowRefund.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/closeIntent.d.ts +114 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/closeIntent.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/closeIntent.js +120 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/closeIntent.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/index.d.ts +15 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/index.js +15 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/index.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/initialize.d.ts +67 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/initialize.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/initialize.js +138 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/initialize.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/nominateAuthority.d.ts +52 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/nominateAuthority.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/nominateAuthority.js +96 -0
- package/dist/core/solana/generated/fund-transfer-hook/instructions/nominateAuthority.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.d.ts +15 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.js +22 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.d.ts +12 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.js +20 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookState.d.ts +12 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookState.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookState.js +18 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/hookState.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/index.d.ts +13 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/index.js +13 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/index.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/intent.d.ts +15 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/intent.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/intent.js +19 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/intent.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.d.ts +15 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.js +22 -0
- package/dist/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.d.ts +49 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.js +129 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/index.d.ts +9 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/index.js +9 -0
- package/dist/core/solana/generated/fund-transfer-hook/programs/index.js.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/shared/index.d.ts +50 -0
- package/dist/core/solana/generated/fund-transfer-hook/shared/index.d.ts.map +1 -0
- package/dist/core/solana/generated/fund-transfer-hook/shared/index.js +87 -0
- package/dist/core/solana/generated/fund-transfer-hook/shared/index.js.map +1 -0
- package/dist/core/solana/wallet.d.ts +49 -0
- package/dist/core/solana/wallet.d.ts.map +1 -0
- package/dist/core/solana/wallet.js +119 -0
- package/dist/core/solana/wallet.js.map +1 -0
- package/dist/events/socketTransport.d.ts +18 -0
- package/dist/events/socketTransport.d.ts.map +1 -0
- package/dist/events/socketTransport.js +117 -0
- package/dist/events/socketTransport.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js.map +1 -1
- package/dist/providers/providerAuthClient.d.ts +8 -2
- package/dist/providers/providerAuthClient.d.ts.map +1 -1
- package/dist/providers/providerAuthClient.js +6 -12
- package/dist/providers/providerAuthClient.js.map +1 -1
- package/dist/providers/solana/keypairSolanaProviderAdapter.d.ts +16 -0
- package/dist/providers/solana/keypairSolanaProviderAdapter.d.ts.map +1 -0
- package/dist/providers/solana/keypairSolanaProviderAdapter.js +68 -0
- package/dist/providers/solana/keypairSolanaProviderAdapter.js.map +1 -0
- package/dist/providers/solana/privySolanaProviderAdapter.d.ts +54 -0
- package/dist/providers/solana/privySolanaProviderAdapter.d.ts.map +1 -0
- package/dist/providers/solana/privySolanaProviderAdapter.js +357 -0
- package/dist/providers/solana/privySolanaProviderAdapter.js.map +1 -0
- package/dist/providers/solana/solanaProviderAdapter.d.ts +5 -1
- package/dist/providers/solana/solanaProviderAdapter.d.ts.map +1 -1
- package/dist/providers/solana/solanaProviderAdapter.js +17 -1
- package/dist/providers/solana/solanaProviderAdapter.js.map +1 -1
- package/dist/providers/types.d.ts +11 -6
- package/dist/providers/types.d.ts.map +1 -1
- package/dist/providers/types.js +1 -1
- package/dist/providers/types.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { assertIsInstructionWithAccounts, containsBytes, fixEncoderSize, getBytesEncoder, } from "@solana/kit";
|
|
9
|
+
import { parseAcceptAuthorityInstruction, parseAddHookWhitelistInstruction, parseClaimRefundInstruction, parseCompleteInstruction, parseCreateJobInstruction, parseFundInstruction, parseInitializeInstruction, parseNominateAuthorityInstruction, parseRejectInstruction, parseRemoveHookWhitelistInstruction, parseSetBudgetInstruction, parseSetEvaluatorFeeInstruction, parseSetPlatformFeeInstruction, parseSetProviderInstruction, parseSubmitInstruction, } from "../instructions/index.js";
|
|
10
|
+
export const AGENTIC_COMMERCE_V3_PROGRAM_ADDRESS = "EkJQUp3Xouu94Wt8vf2hxuZcFLL5Wk2h91bNdFiiS5Bp";
|
|
11
|
+
export var AgenticCommerceV3Account;
|
|
12
|
+
(function (AgenticCommerceV3Account) {
|
|
13
|
+
AgenticCommerceV3Account[AgenticCommerceV3Account["AcpState"] = 0] = "AcpState";
|
|
14
|
+
AgenticCommerceV3Account[AgenticCommerceV3Account["HookWhitelist"] = 1] = "HookWhitelist";
|
|
15
|
+
AgenticCommerceV3Account[AgenticCommerceV3Account["Job"] = 2] = "Job";
|
|
16
|
+
})(AgenticCommerceV3Account || (AgenticCommerceV3Account = {}));
|
|
17
|
+
export function identifyAgenticCommerceV3Account(account) {
|
|
18
|
+
const data = "data" in account ? account.data : account;
|
|
19
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([182, 32, 157, 40, 114, 224, 13, 39])), 0)) {
|
|
20
|
+
return AgenticCommerceV3Account.AcpState;
|
|
21
|
+
}
|
|
22
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([5, 224, 69, 103, 41, 89, 183, 3])), 0)) {
|
|
23
|
+
return AgenticCommerceV3Account.HookWhitelist;
|
|
24
|
+
}
|
|
25
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([75, 124, 80, 203, 161, 180, 202, 80])), 0)) {
|
|
26
|
+
return AgenticCommerceV3Account.Job;
|
|
27
|
+
}
|
|
28
|
+
throw new Error("The provided account could not be identified as a agenticCommerceV3 account.");
|
|
29
|
+
}
|
|
30
|
+
export var AgenticCommerceV3Instruction;
|
|
31
|
+
(function (AgenticCommerceV3Instruction) {
|
|
32
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["AcceptAuthority"] = 0] = "AcceptAuthority";
|
|
33
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["AddHookWhitelist"] = 1] = "AddHookWhitelist";
|
|
34
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["ClaimRefund"] = 2] = "ClaimRefund";
|
|
35
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["Complete"] = 3] = "Complete";
|
|
36
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["CreateJob"] = 4] = "CreateJob";
|
|
37
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["Fund"] = 5] = "Fund";
|
|
38
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["Initialize"] = 6] = "Initialize";
|
|
39
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["NominateAuthority"] = 7] = "NominateAuthority";
|
|
40
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["Reject"] = 8] = "Reject";
|
|
41
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["RemoveHookWhitelist"] = 9] = "RemoveHookWhitelist";
|
|
42
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["SetBudget"] = 10] = "SetBudget";
|
|
43
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["SetEvaluatorFee"] = 11] = "SetEvaluatorFee";
|
|
44
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["SetPlatformFee"] = 12] = "SetPlatformFee";
|
|
45
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["SetProvider"] = 13] = "SetProvider";
|
|
46
|
+
AgenticCommerceV3Instruction[AgenticCommerceV3Instruction["Submit"] = 14] = "Submit";
|
|
47
|
+
})(AgenticCommerceV3Instruction || (AgenticCommerceV3Instruction = {}));
|
|
48
|
+
export function identifyAgenticCommerceV3Instruction(instruction) {
|
|
49
|
+
const data = "data" in instruction ? instruction.data : instruction;
|
|
50
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([107, 86, 198, 91, 33, 12, 107, 160])), 0)) {
|
|
51
|
+
return AgenticCommerceV3Instruction.AcceptAuthority;
|
|
52
|
+
}
|
|
53
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([155, 81, 232, 227, 41, 160, 231, 189])), 0)) {
|
|
54
|
+
return AgenticCommerceV3Instruction.AddHookWhitelist;
|
|
55
|
+
}
|
|
56
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([15, 16, 30, 161, 255, 228, 97, 60])), 0)) {
|
|
57
|
+
return AgenticCommerceV3Instruction.ClaimRefund;
|
|
58
|
+
}
|
|
59
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([0, 77, 224, 147, 136, 25, 88, 76])), 0)) {
|
|
60
|
+
return AgenticCommerceV3Instruction.Complete;
|
|
61
|
+
}
|
|
62
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([178, 130, 217, 110, 100, 27, 82, 119])), 0)) {
|
|
63
|
+
return AgenticCommerceV3Instruction.CreateJob;
|
|
64
|
+
}
|
|
65
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([218, 188, 111, 221, 152, 113, 174, 7])), 0)) {
|
|
66
|
+
return AgenticCommerceV3Instruction.Fund;
|
|
67
|
+
}
|
|
68
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([175, 175, 109, 31, 13, 152, 155, 237])), 0)) {
|
|
69
|
+
return AgenticCommerceV3Instruction.Initialize;
|
|
70
|
+
}
|
|
71
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([148, 182, 144, 91, 186, 12, 118, 18])), 0)) {
|
|
72
|
+
return AgenticCommerceV3Instruction.NominateAuthority;
|
|
73
|
+
}
|
|
74
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([135, 7, 63, 85, 131, 114, 111, 224])), 0)) {
|
|
75
|
+
return AgenticCommerceV3Instruction.Reject;
|
|
76
|
+
}
|
|
77
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([110, 220, 154, 1, 141, 191, 150, 74])), 0)) {
|
|
78
|
+
return AgenticCommerceV3Instruction.RemoveHookWhitelist;
|
|
79
|
+
}
|
|
80
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([148, 121, 226, 12, 183, 120, 26, 227])), 0)) {
|
|
81
|
+
return AgenticCommerceV3Instruction.SetBudget;
|
|
82
|
+
}
|
|
83
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([81, 212, 20, 60, 184, 238, 205, 132])), 0)) {
|
|
84
|
+
return AgenticCommerceV3Instruction.SetEvaluatorFee;
|
|
85
|
+
}
|
|
86
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([19, 70, 111, 182, 156, 58, 208, 203])), 0)) {
|
|
87
|
+
return AgenticCommerceV3Instruction.SetPlatformFee;
|
|
88
|
+
}
|
|
89
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([42, 159, 3, 191, 52, 175, 112, 88])), 0)) {
|
|
90
|
+
return AgenticCommerceV3Instruction.SetProvider;
|
|
91
|
+
}
|
|
92
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([88, 166, 102, 181, 162, 127, 170, 48])), 0)) {
|
|
93
|
+
return AgenticCommerceV3Instruction.Submit;
|
|
94
|
+
}
|
|
95
|
+
throw new Error("The provided instruction could not be identified as a agenticCommerceV3 instruction.");
|
|
96
|
+
}
|
|
97
|
+
export function parseAgenticCommerceV3Instruction(instruction) {
|
|
98
|
+
const instructionType = identifyAgenticCommerceV3Instruction(instruction);
|
|
99
|
+
switch (instructionType) {
|
|
100
|
+
case AgenticCommerceV3Instruction.AcceptAuthority: {
|
|
101
|
+
assertIsInstructionWithAccounts(instruction);
|
|
102
|
+
return {
|
|
103
|
+
instructionType: AgenticCommerceV3Instruction.AcceptAuthority,
|
|
104
|
+
...parseAcceptAuthorityInstruction(instruction),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
case AgenticCommerceV3Instruction.AddHookWhitelist: {
|
|
108
|
+
assertIsInstructionWithAccounts(instruction);
|
|
109
|
+
return {
|
|
110
|
+
instructionType: AgenticCommerceV3Instruction.AddHookWhitelist,
|
|
111
|
+
...parseAddHookWhitelistInstruction(instruction),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
case AgenticCommerceV3Instruction.ClaimRefund: {
|
|
115
|
+
assertIsInstructionWithAccounts(instruction);
|
|
116
|
+
return {
|
|
117
|
+
instructionType: AgenticCommerceV3Instruction.ClaimRefund,
|
|
118
|
+
...parseClaimRefundInstruction(instruction),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
case AgenticCommerceV3Instruction.Complete: {
|
|
122
|
+
assertIsInstructionWithAccounts(instruction);
|
|
123
|
+
return {
|
|
124
|
+
instructionType: AgenticCommerceV3Instruction.Complete,
|
|
125
|
+
...parseCompleteInstruction(instruction),
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
case AgenticCommerceV3Instruction.CreateJob: {
|
|
129
|
+
assertIsInstructionWithAccounts(instruction);
|
|
130
|
+
return {
|
|
131
|
+
instructionType: AgenticCommerceV3Instruction.CreateJob,
|
|
132
|
+
...parseCreateJobInstruction(instruction),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
case AgenticCommerceV3Instruction.Fund: {
|
|
136
|
+
assertIsInstructionWithAccounts(instruction);
|
|
137
|
+
return {
|
|
138
|
+
instructionType: AgenticCommerceV3Instruction.Fund,
|
|
139
|
+
...parseFundInstruction(instruction),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
case AgenticCommerceV3Instruction.Initialize: {
|
|
143
|
+
assertIsInstructionWithAccounts(instruction);
|
|
144
|
+
return {
|
|
145
|
+
instructionType: AgenticCommerceV3Instruction.Initialize,
|
|
146
|
+
...parseInitializeInstruction(instruction),
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
case AgenticCommerceV3Instruction.NominateAuthority: {
|
|
150
|
+
assertIsInstructionWithAccounts(instruction);
|
|
151
|
+
return {
|
|
152
|
+
instructionType: AgenticCommerceV3Instruction.NominateAuthority,
|
|
153
|
+
...parseNominateAuthorityInstruction(instruction),
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
case AgenticCommerceV3Instruction.Reject: {
|
|
157
|
+
assertIsInstructionWithAccounts(instruction);
|
|
158
|
+
return {
|
|
159
|
+
instructionType: AgenticCommerceV3Instruction.Reject,
|
|
160
|
+
...parseRejectInstruction(instruction),
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
case AgenticCommerceV3Instruction.RemoveHookWhitelist: {
|
|
164
|
+
assertIsInstructionWithAccounts(instruction);
|
|
165
|
+
return {
|
|
166
|
+
instructionType: AgenticCommerceV3Instruction.RemoveHookWhitelist,
|
|
167
|
+
...parseRemoveHookWhitelistInstruction(instruction),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
case AgenticCommerceV3Instruction.SetBudget: {
|
|
171
|
+
assertIsInstructionWithAccounts(instruction);
|
|
172
|
+
return {
|
|
173
|
+
instructionType: AgenticCommerceV3Instruction.SetBudget,
|
|
174
|
+
...parseSetBudgetInstruction(instruction),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
case AgenticCommerceV3Instruction.SetEvaluatorFee: {
|
|
178
|
+
assertIsInstructionWithAccounts(instruction);
|
|
179
|
+
return {
|
|
180
|
+
instructionType: AgenticCommerceV3Instruction.SetEvaluatorFee,
|
|
181
|
+
...parseSetEvaluatorFeeInstruction(instruction),
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
case AgenticCommerceV3Instruction.SetPlatformFee: {
|
|
185
|
+
assertIsInstructionWithAccounts(instruction);
|
|
186
|
+
return {
|
|
187
|
+
instructionType: AgenticCommerceV3Instruction.SetPlatformFee,
|
|
188
|
+
...parseSetPlatformFeeInstruction(instruction),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
case AgenticCommerceV3Instruction.SetProvider: {
|
|
192
|
+
assertIsInstructionWithAccounts(instruction);
|
|
193
|
+
return {
|
|
194
|
+
instructionType: AgenticCommerceV3Instruction.SetProvider,
|
|
195
|
+
...parseSetProviderInstruction(instruction),
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
case AgenticCommerceV3Instruction.Submit: {
|
|
199
|
+
assertIsInstructionWithAccounts(instruction);
|
|
200
|
+
return {
|
|
201
|
+
instructionType: AgenticCommerceV3Instruction.Submit,
|
|
202
|
+
...parseSubmitInstruction(instruction),
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
default:
|
|
206
|
+
throw new Error(`Unrecognized instruction type: ${instructionType}`);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=agenticCommerceV3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agenticCommerceV3.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/programs/agenticCommerceV3.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,+BAA+B,EAC/B,aAAa,EACb,cAAc,EACd,eAAe,GAKhB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,iCAAiC,EACjC,sBAAsB,EACtB,mCAAmC,EACnC,yBAA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|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./agenticCommerceV3.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./agenticCommerceV3.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type ProgramDerivedAddress, type TransactionSigner } from "@solana/kit";
|
|
9
|
+
/**
|
|
10
|
+
* Asserts that the given value is not null or undefined.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare function expectSome<T>(value: T | null | undefined): T;
|
|
14
|
+
/**
|
|
15
|
+
* Asserts that the given value is a PublicKey.
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare function expectAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): Address<T>;
|
|
19
|
+
/**
|
|
20
|
+
* Asserts that the given value is a PDA.
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare function expectProgramDerivedAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): ProgramDerivedAddress<T>;
|
|
24
|
+
/**
|
|
25
|
+
* Asserts that the given value is a TransactionSigner.
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
export declare function expectTransactionSigner<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): TransactionSigner<T>;
|
|
29
|
+
/**
|
|
30
|
+
* Defines an instruction account to resolve.
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export type ResolvedAccount<T extends string = string, U extends Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null = Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null> = {
|
|
34
|
+
isWritable: boolean;
|
|
35
|
+
value: U;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Defines an instruction that stores additional bytes on-chain.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
export type InstructionWithByteDelta = {
|
|
42
|
+
byteDelta: number;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Get account metas and signers from resolved accounts.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: "omitted" | "programId"): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
|
|
49
|
+
export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,CAK5D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACrD,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,CAAC,CAWZ;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACnE,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,qBAAqB,CAAC,CAAC,CAAC,CAK1B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAC/D,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,iBAAiB,CAAC,CAAC,CAAC,CAKtB;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SACG,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,IACN;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,OAAO,EACvB,uBAAuB,EAAE,SAAS,GAAG,WAAW,IAG9C,SAAS,eAAe,KACvB,WAAW,GAAG,iBAAiB,GAAG,SAAS,CAoB/C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAClE,KAAK,EACD,OAAO,CAAC,QAAQ,CAAC,GACjB,qBAAqB,CAAC,QAAQ,CAAC,GAC/B,iBAAiB,CAAC,QAAQ,CAAC,GAC9B,KAAK,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAOtC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { AccountRole, isProgramDerivedAddress, isTransactionSigner as kitIsTransactionSigner, upgradeRoleToSigner, } from "@solana/kit";
|
|
9
|
+
/**
|
|
10
|
+
* Asserts that the given value is not null or undefined.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export function expectSome(value) {
|
|
14
|
+
if (value === null || value === undefined) {
|
|
15
|
+
throw new Error("Expected a value but received null or undefined.");
|
|
16
|
+
}
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Asserts that the given value is a PublicKey.
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export function expectAddress(value) {
|
|
24
|
+
if (!value) {
|
|
25
|
+
throw new Error("Expected a Address.");
|
|
26
|
+
}
|
|
27
|
+
if (typeof value === "object" && "address" in value) {
|
|
28
|
+
return value.address;
|
|
29
|
+
}
|
|
30
|
+
if (Array.isArray(value)) {
|
|
31
|
+
return value[0];
|
|
32
|
+
}
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Asserts that the given value is a PDA.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
export function expectProgramDerivedAddress(value) {
|
|
40
|
+
if (!value || !Array.isArray(value) || !isProgramDerivedAddress(value)) {
|
|
41
|
+
throw new Error("Expected a ProgramDerivedAddress.");
|
|
42
|
+
}
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Asserts that the given value is a TransactionSigner.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
export function expectTransactionSigner(value) {
|
|
50
|
+
if (!value || !isTransactionSigner(value)) {
|
|
51
|
+
throw new Error("Expected a TransactionSigner.");
|
|
52
|
+
}
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get account metas and signers from resolved accounts.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
export function getAccountMetaFactory(programAddress, optionalAccountStrategy) {
|
|
60
|
+
return (account) => {
|
|
61
|
+
if (!account.value) {
|
|
62
|
+
if (optionalAccountStrategy === "omitted")
|
|
63
|
+
return;
|
|
64
|
+
return Object.freeze({
|
|
65
|
+
address: programAddress,
|
|
66
|
+
role: AccountRole.READONLY,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const writableRole = account.isWritable
|
|
70
|
+
? AccountRole.WRITABLE
|
|
71
|
+
: AccountRole.READONLY;
|
|
72
|
+
return Object.freeze({
|
|
73
|
+
address: expectAddress(account.value),
|
|
74
|
+
role: isTransactionSigner(account.value)
|
|
75
|
+
? upgradeRoleToSigner(writableRole)
|
|
76
|
+
: writableRole,
|
|
77
|
+
...(isTransactionSigner(account.value) ? { signer: account.value } : {}),
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export function isTransactionSigner(value) {
|
|
82
|
+
return (!!value &&
|
|
83
|
+
typeof value === "object" &&
|
|
84
|
+
"address" in value &&
|
|
85
|
+
kitIsTransactionSigner(value));
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,mBAAmB,IAAI,sBAAsB,EAM7C,mBAAmB,GACpB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,MAAM,UAAU,UAAU,CAAI,KAA2B;IACvD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAC3B,KAKa;IAEb,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,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,CAAC,OAAO,CAAC,KAAK,CAAC;YACrC,IAAI,EAAE,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC;gBACtC,CAAC,CAAC,mBAAmB,CAAC,YAAY,CAAC;gBACnC,CAAC,CAAC,YAAY;YAChB,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACzE,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,KAG+B;IAE/B,OAAO,CACL,CAAC,CAAC,KAAK;QACP,OAAO,KAAK,KAAK,QAAQ;QACzB,SAAS,IAAI,KAAK;QAClB,sBAAsB,CAAC,KAAK,CAAC,CAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./jobState.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./jobState.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Address, type Decoder } from "@solana/kit";
|
|
2
|
+
export type JobCreated = {
|
|
3
|
+
jobId: bigint;
|
|
4
|
+
client: Address;
|
|
5
|
+
provider: Address;
|
|
6
|
+
evaluator: Address;
|
|
7
|
+
expiredAt: bigint;
|
|
8
|
+
hook: Address;
|
|
9
|
+
};
|
|
10
|
+
export declare function getJobCreatedDecoder(): Decoder<JobCreated>;
|
|
11
|
+
//# sourceMappingURL=jobCreated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobCreated.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/jobCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC,CAS1D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getStructDecoder, getU64Decoder, getI64Decoder, getAddressDecoder, } from "@solana/kit";
|
|
2
|
+
export function getJobCreatedDecoder() {
|
|
3
|
+
return getStructDecoder([
|
|
4
|
+
["jobId", getU64Decoder()],
|
|
5
|
+
["client", getAddressDecoder()],
|
|
6
|
+
["provider", getAddressDecoder()],
|
|
7
|
+
["evaluator", getAddressDecoder()],
|
|
8
|
+
["expiredAt", getI64Decoder()],
|
|
9
|
+
["hook", getAddressDecoder()],
|
|
10
|
+
]);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=jobCreated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobCreated.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/jobCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,iBAAiB,GAGlB,MAAM,aAAa,CAAC;AAWrB,MAAM,UAAU,oBAAoB;IAClC,OAAO,gBAAgB,CAAC;QACtB,CAAC,OAAO,EAAE,aAAa,EAAE,CAAC;QAC1B,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,UAAU,EAAE,iBAAiB,EAAE,CAAC;QACjC,CAAC,WAAW,EAAE,iBAAiB,EAAE,CAAC;QAClC,CAAC,WAAW,EAAE,aAAa,EAAE,CAAC;QAC9B,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC;KAC9B,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit";
|
|
9
|
+
/**
|
|
10
|
+
* Job lifecycle states. Two valid paths exist (L-15):
|
|
11
|
+
* Funded path: Open -> Funded -> Submitted -> Completed | Rejected | Expired
|
|
12
|
+
* Zero-budget path: Open -> Submitted -> Completed | Rejected (budget_amount == 0)
|
|
13
|
+
* Open jobs can also be Rejected directly by client or provider.
|
|
14
|
+
*/
|
|
15
|
+
export declare enum JobState {
|
|
16
|
+
Open = 0,
|
|
17
|
+
Funded = 1,
|
|
18
|
+
Submitted = 2,
|
|
19
|
+
Completed = 3,
|
|
20
|
+
Rejected = 4,
|
|
21
|
+
Expired = 5
|
|
22
|
+
}
|
|
23
|
+
export type JobStateArgs = JobState;
|
|
24
|
+
export declare function getJobStateEncoder(): FixedSizeEncoder<JobStateArgs>;
|
|
25
|
+
export declare function getJobStateDecoder(): FixedSizeDecoder<JobState>;
|
|
26
|
+
export declare function getJobStateCodec(): FixedSizeCodec<JobStateArgs, JobState>;
|
|
27
|
+
//# sourceMappingURL=jobState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobState.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/jobState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB;;;;;GAKG;AACH,oBAAY,QAAQ;IAClB,IAAI,IAAA;IACJ,MAAM,IAAA;IACN,SAAS,IAAA;IACT,SAAS,IAAA;IACT,QAAQ,IAAA;IACR,OAAO,IAAA;CACR;AAED,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,wBAAgB,kBAAkB,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAEnE;AAED,wBAAgB,kBAAkB,IAAI,gBAAgB,CAAC,QAAQ,CAAC,CAE/D;AAED,wBAAgB,gBAAgB,IAAI,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAEzE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, getEnumDecoder, getEnumEncoder, } from "@solana/kit";
|
|
9
|
+
/**
|
|
10
|
+
* Job lifecycle states. Two valid paths exist (L-15):
|
|
11
|
+
* Funded path: Open -> Funded -> Submitted -> Completed | Rejected | Expired
|
|
12
|
+
* Zero-budget path: Open -> Submitted -> Completed | Rejected (budget_amount == 0)
|
|
13
|
+
* Open jobs can also be Rejected directly by client or provider.
|
|
14
|
+
*/
|
|
15
|
+
export var JobState;
|
|
16
|
+
(function (JobState) {
|
|
17
|
+
JobState[JobState["Open"] = 0] = "Open";
|
|
18
|
+
JobState[JobState["Funded"] = 1] = "Funded";
|
|
19
|
+
JobState[JobState["Submitted"] = 2] = "Submitted";
|
|
20
|
+
JobState[JobState["Completed"] = 3] = "Completed";
|
|
21
|
+
JobState[JobState["Rejected"] = 4] = "Rejected";
|
|
22
|
+
JobState[JobState["Expired"] = 5] = "Expired";
|
|
23
|
+
})(JobState || (JobState = {}));
|
|
24
|
+
export function getJobStateEncoder() {
|
|
25
|
+
return getEnumEncoder(JobState);
|
|
26
|
+
}
|
|
27
|
+
export function getJobStateDecoder() {
|
|
28
|
+
return getEnumDecoder(JobState);
|
|
29
|
+
}
|
|
30
|
+
export function getJobStateCodec() {
|
|
31
|
+
return combineCodec(getJobStateEncoder(), getJobStateDecoder());
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=jobState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobState.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/acp/types/jobState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,GAIf,MAAM,aAAa,CAAC;AAErB;;;;;GAKG;AACH,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAAI,CAAA;IACJ,2CAAM,CAAA;IACN,iDAAS,CAAA;IACT,iDAAS,CAAA;IACT,+CAAQ,CAAA;IACR,6CAAO,CAAA;AACT,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAID,MAAM,UAAU,kBAAkB;IAChC,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,YAAY,CAAC,kBAAkB,EAAE,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const FUND_REQUEST_INTENT_ID_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
10
|
+
export declare function getFundRequestIntentIdDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type FundRequestIntentId = {
|
|
12
|
+
discriminator: ReadonlyUint8Array;
|
|
13
|
+
jobId: bigint;
|
|
14
|
+
intentId: bigint;
|
|
15
|
+
bump: number;
|
|
16
|
+
};
|
|
17
|
+
export type FundRequestIntentIdArgs = {
|
|
18
|
+
jobId: number | bigint;
|
|
19
|
+
intentId: number | bigint;
|
|
20
|
+
bump: number;
|
|
21
|
+
};
|
|
22
|
+
/** Gets the encoder for {@link FundRequestIntentIdArgs} account data. */
|
|
23
|
+
export declare function getFundRequestIntentIdEncoder(): FixedSizeEncoder<FundRequestIntentIdArgs>;
|
|
24
|
+
/** Gets the decoder for {@link FundRequestIntentId} account data. */
|
|
25
|
+
export declare function getFundRequestIntentIdDecoder(): FixedSizeDecoder<FundRequestIntentId>;
|
|
26
|
+
/** Gets the codec for {@link FundRequestIntentId} account data. */
|
|
27
|
+
export declare function getFundRequestIntentIdCodec(): FixedSizeCodec<FundRequestIntentIdArgs, FundRequestIntentId>;
|
|
28
|
+
export declare function decodeFundRequestIntentId<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<FundRequestIntentId, TAddress>;
|
|
29
|
+
export declare function decodeFundRequestIntentId<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<FundRequestIntentId, TAddress>;
|
|
30
|
+
export declare function fetchFundRequestIntentId<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<FundRequestIntentId, TAddress>>;
|
|
31
|
+
export declare function fetchMaybeFundRequestIntentId<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<FundRequestIntentId, TAddress>>;
|
|
32
|
+
export declare function fetchAllFundRequestIntentId(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<FundRequestIntentId>[]>;
|
|
33
|
+
export declare function fetchAllMaybeFundRequestIntentId(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<FundRequestIntentId>[]>;
|
|
34
|
+
export declare function getFundRequestIntentIdSize(): number;
|
|
35
|
+
//# sourceMappingURL=fundRequestIntentId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundRequestIntentId.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/accounts/fundRequestInt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