@virtuals-protocol/acp-node-v2 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -20
- package/dist/acpAgent.d.ts +2 -2
- package/dist/acpAgent.d.ts.map +1 -1
- package/dist/acpAgent.js +6 -6
- package/dist/acpAgent.js.map +1 -1
- 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/agentAuth.d.ts +22 -0
- package/dist/core/agentAuth.d.ts.map +1 -0
- package/dist/core/agentAuth.js +27 -0
- package/dist/core/agentAuth.js.map +1 -0
- package/dist/core/approvalGate.d.ts +28 -0
- package/dist/core/approvalGate.d.ts.map +1 -0
- package/dist/core/approvalGate.js +63 -0
- package/dist/core/approvalGate.js.map +1 -0
- package/dist/core/chains.d.ts +1 -0
- package/dist/core/chains.d.ts.map +1 -1
- package/dist/core/chains.js +12 -1
- package/dist/core/chains.js.map +1 -1
- package/dist/core/constants.d.ts +6 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +18 -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/acpHttpClient.d.ts.map +1 -1
- package/dist/events/acpHttpClient.js +12 -3
- package/dist/events/acpHttpClient.js.map +1 -1
- 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/events/sseTransport.d.ts +9 -2
- package/dist/events/sseTransport.d.ts.map +1 -1
- package/dist/events/sseTransport.js +100 -40
- package/dist/events/sseTransport.js.map +1 -1
- package/dist/events/types.d.ts +3 -2
- package/dist/events/types.d.ts.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.d.ts +12 -2
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.d.ts.map +1 -1
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js +264 -60
- package/dist/providers/evm/privyAlchemyEvmProviderAdapter.js.map +1 -1
- package/dist/providers/evm/types.d.ts +24 -0
- package/dist/providers/evm/types.d.ts.map +1 -0
- package/dist/providers/evm/types.js +2 -0
- package/dist/providers/evm/types.js.map +1 -0
- package/dist/providers/providerAuthClient.d.ts +8 -2
- package/dist/providers/providerAuthClient.d.ts.map +1 -1
- package/dist/providers/providerAuthClient.js +3 -3
- 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,96 @@
|
|
|
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, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, transformEncoder, } from "@solana/kit";
|
|
9
|
+
import { findHookStatePda } from "../pdas/index.js";
|
|
10
|
+
import { FUND_TRANSFER_HOOK_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
11
|
+
import { getAccountMetaFactory } from "../shared/index.js";
|
|
12
|
+
export const NOMINATE_AUTHORITY_DISCRIMINATOR = new Uint8Array([
|
|
13
|
+
148, 182, 144, 91, 186, 12, 118, 18,
|
|
14
|
+
]);
|
|
15
|
+
export function getNominateAuthorityDiscriminatorBytes() {
|
|
16
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(NOMINATE_AUTHORITY_DISCRIMINATOR);
|
|
17
|
+
}
|
|
18
|
+
export function getNominateAuthorityInstructionDataEncoder() {
|
|
19
|
+
return transformEncoder(getStructEncoder([
|
|
20
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
21
|
+
["newAuthority", getAddressEncoder()],
|
|
22
|
+
]), (value) => ({ ...value, discriminator: NOMINATE_AUTHORITY_DISCRIMINATOR }));
|
|
23
|
+
}
|
|
24
|
+
export function getNominateAuthorityInstructionDataDecoder() {
|
|
25
|
+
return getStructDecoder([
|
|
26
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
27
|
+
["newAuthority", getAddressDecoder()],
|
|
28
|
+
]);
|
|
29
|
+
}
|
|
30
|
+
export function getNominateAuthorityInstructionDataCodec() {
|
|
31
|
+
return combineCodec(getNominateAuthorityInstructionDataEncoder(), getNominateAuthorityInstructionDataDecoder());
|
|
32
|
+
}
|
|
33
|
+
export async function getNominateAuthorityInstructionAsync(input, config) {
|
|
34
|
+
// Program address.
|
|
35
|
+
const programAddress = config?.programAddress ?? FUND_TRANSFER_HOOK_PROGRAM_ADDRESS;
|
|
36
|
+
// Original accounts.
|
|
37
|
+
const originalAccounts = {
|
|
38
|
+
authority: { value: input.authority ?? null, isWritable: false },
|
|
39
|
+
hookState: { value: input.hookState ?? null, isWritable: true },
|
|
40
|
+
};
|
|
41
|
+
const accounts = originalAccounts;
|
|
42
|
+
// Original args.
|
|
43
|
+
const args = { ...input };
|
|
44
|
+
// Resolve default values.
|
|
45
|
+
if (!accounts.hookState.value) {
|
|
46
|
+
accounts.hookState.value = await findHookStatePda();
|
|
47
|
+
}
|
|
48
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
49
|
+
return Object.freeze({
|
|
50
|
+
accounts: [
|
|
51
|
+
getAccountMeta(accounts.authority),
|
|
52
|
+
getAccountMeta(accounts.hookState),
|
|
53
|
+
],
|
|
54
|
+
data: getNominateAuthorityInstructionDataEncoder().encode(args),
|
|
55
|
+
programAddress,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export function getNominateAuthorityInstruction(input, config) {
|
|
59
|
+
// Program address.
|
|
60
|
+
const programAddress = config?.programAddress ?? FUND_TRANSFER_HOOK_PROGRAM_ADDRESS;
|
|
61
|
+
// Original accounts.
|
|
62
|
+
const originalAccounts = {
|
|
63
|
+
authority: { value: input.authority ?? null, isWritable: false },
|
|
64
|
+
hookState: { value: input.hookState ?? null, isWritable: true },
|
|
65
|
+
};
|
|
66
|
+
const accounts = originalAccounts;
|
|
67
|
+
// Original args.
|
|
68
|
+
const args = { ...input };
|
|
69
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
70
|
+
return Object.freeze({
|
|
71
|
+
accounts: [
|
|
72
|
+
getAccountMeta(accounts.authority),
|
|
73
|
+
getAccountMeta(accounts.hookState),
|
|
74
|
+
],
|
|
75
|
+
data: getNominateAuthorityInstructionDataEncoder().encode(args),
|
|
76
|
+
programAddress,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
export function parseNominateAuthorityInstruction(instruction) {
|
|
80
|
+
if (instruction.accounts.length < 2) {
|
|
81
|
+
// TODO: Coded error.
|
|
82
|
+
throw new Error("Not enough accounts");
|
|
83
|
+
}
|
|
84
|
+
let accountIndex = 0;
|
|
85
|
+
const getNextAccount = () => {
|
|
86
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
87
|
+
accountIndex += 1;
|
|
88
|
+
return accountMeta;
|
|
89
|
+
};
|
|
90
|
+
return {
|
|
91
|
+
programAddress: instruction.programAddress,
|
|
92
|
+
accounts: { authority: getNextAccount(), hookState: getNextAccount() },
|
|
93
|
+
data: getNominateAuthorityInstructionDataDecoder().decode(instruction.data),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=nominateAuthority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nominateAuthority.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated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AAC,IAAI,CAAC;KAC5E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export type EscrowAuthoritySeeds = {
|
|
10
|
+
jobId: number | bigint;
|
|
11
|
+
};
|
|
12
|
+
export declare function findEscrowAuthorityPda(seeds: EscrowAuthoritySeeds, config?: {
|
|
13
|
+
programAddress?: Address | undefined;
|
|
14
|
+
}): Promise<ProgramDerivedAddress>;
|
|
15
|
+
//# sourceMappingURL=escrowAuthority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowAuthority.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,oBAAoB,EAC3B,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAgBhC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { getBytesEncoder, getProgramDerivedAddress, getU64Encoder, } from "@solana/kit";
|
|
9
|
+
export async function findEscrowAuthorityPda(seeds, config = {}) {
|
|
10
|
+
const { programAddress = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([
|
|
15
|
+
101, 115, 99, 114, 111, 119, 95, 97, 117, 116, 104, 111, 114, 105,
|
|
16
|
+
116, 121,
|
|
17
|
+
])),
|
|
18
|
+
getU64Encoder().encode(seeds.jobId),
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=escrowAuthority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowAuthority.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/escrowAuthority.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,aAAa,GAGd,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,KAA2B,EAC3B,SAAmD,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC;gBACb,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;gBACjE,GAAG,EAAE,GAAG;aACT,CAAC,CACH;YACD,aAAa,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;SACpC;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export declare function findHookMetadataPda(config?: {
|
|
10
|
+
programAddress?: Address | undefined;
|
|
11
|
+
}): Promise<ProgramDerivedAddress>;
|
|
12
|
+
//# sourceMappingURL=hookMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hookMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,wBAAsB,mBAAmB,CACvC,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAchC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
|
|
9
|
+
export async function findHookMetadataPda(config = {}) {
|
|
10
|
+
const { programAddress = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([
|
|
15
|
+
104, 111, 111, 107, 95, 109, 101, 116, 97, 100, 97, 116, 97,
|
|
16
|
+
])),
|
|
17
|
+
],
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=hookMetadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hookMetadata.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/hookMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,SAAmD,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC;gBACb,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE;aAC5D,CAAC,CACH;SACF;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export declare function findHookStatePda(config?: {
|
|
10
|
+
programAddress?: Address | undefined;
|
|
11
|
+
}): Promise<ProgramDerivedAddress>;
|
|
12
|
+
//# sourceMappingURL=hookState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hookState.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/hookState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,wBAAsB,gBAAgB,CACpC,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAYhC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
|
|
9
|
+
export async function findHookStatePda(config = {}) {
|
|
10
|
+
const { programAddress = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([104, 111, 111, 107, 95, 115, 116, 97, 116, 101])),
|
|
15
|
+
],
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=hookState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hookState.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/hookState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,SAAmD,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CACjE;SACF;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 "./escrowAuthority.js";
|
|
9
|
+
export * from "./hookMetadata.js";
|
|
10
|
+
export * from "./hookState.js";
|
|
11
|
+
export * from "./intent.js";
|
|
12
|
+
export * from "./providerEscrowIntentId.js";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 "./escrowAuthority.js";
|
|
9
|
+
export * from "./hookMetadata.js";
|
|
10
|
+
export * from "./hookState.js";
|
|
11
|
+
export * from "./intent.js";
|
|
12
|
+
export * from "./providerEscrowIntentId.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export type IntentSeeds = {
|
|
10
|
+
intentId: number | bigint;
|
|
11
|
+
};
|
|
12
|
+
export declare function findIntentPda(seeds: IntentSeeds, config?: {
|
|
13
|
+
programAddress?: Address | undefined;
|
|
14
|
+
}): Promise<ProgramDerivedAddress>;
|
|
15
|
+
//# sourceMappingURL=intent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/intent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAsB,aAAa,CACjC,KAAK,EAAE,WAAW,EAClB,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAWhC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { getBytesEncoder, getProgramDerivedAddress, getU64Encoder, } from "@solana/kit";
|
|
9
|
+
export async function findIntentPda(seeds, config = {}) {
|
|
10
|
+
const { programAddress = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([105, 110, 116, 101, 110, 116])),
|
|
15
|
+
getU64Encoder().encode(seeds.intentId),
|
|
16
|
+
],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=intent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/intent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,aAAa,GAGd,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,KAAkB,EAClB,SAAmD,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACxE,aAAa,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;SACvC;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export type ProviderEscrowIntentIdSeeds = {
|
|
10
|
+
jobId: number | bigint;
|
|
11
|
+
};
|
|
12
|
+
export declare function findProviderEscrowIntentIdPda(seeds: ProviderEscrowIntentIdSeeds, config?: {
|
|
13
|
+
programAddress?: Address | undefined;
|
|
14
|
+
}): Promise<ProgramDerivedAddress>;
|
|
15
|
+
//# sourceMappingURL=providerEscrowIntentId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providerEscrowIntentId.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,2BAA2B,EAClC,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAgBhC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { getBytesEncoder, getProgramDerivedAddress, getU64Encoder, } from "@solana/kit";
|
|
9
|
+
export async function findProviderEscrowIntentIdPda(seeds, config = {}) {
|
|
10
|
+
const { programAddress = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([
|
|
15
|
+
112, 114, 111, 118, 105, 100, 101, 114, 95, 101, 115, 99, 114, 111,
|
|
16
|
+
119, 95, 105, 110, 116, 101, 110, 116, 95, 105, 100,
|
|
17
|
+
])),
|
|
18
|
+
getU64Encoder().encode(seeds.jobId),
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=providerEscrowIntentId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providerEscrowIntentId.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/pdas/providerEscrowIntentId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,aAAa,GAGd,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,KAAkC,EAClC,SAAmD,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC;gBACb,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;gBAClE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;aACpD,CAAC,CACH;YACD,aAAa,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;SACpC;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 Address, type Instruction, type InstructionWithData, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
import { type ParsedAcceptAuthorityInstruction, type ParsedAfterActionInstruction, type ParsedBeforeActionInstruction, type ParsedClaimEscrowRefundInstruction, type ParsedCloseIntentInstruction, type ParsedInitializeInstruction, type ParsedNominateAuthorityInstruction } from "../instructions/index.js";
|
|
10
|
+
export declare const FUND_TRANSFER_HOOK_PROGRAM_ADDRESS: Address<"9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr">;
|
|
11
|
+
export declare enum FundTransferHookAccount {
|
|
12
|
+
FundRequestIntentId = 0,
|
|
13
|
+
HookMetadata = 1,
|
|
14
|
+
HookState = 2,
|
|
15
|
+
Intent = 3,
|
|
16
|
+
ProviderEscrowIntentId = 4
|
|
17
|
+
}
|
|
18
|
+
export declare function identifyFundTransferHookAccount(account: {
|
|
19
|
+
data: ReadonlyUint8Array;
|
|
20
|
+
} | ReadonlyUint8Array): FundTransferHookAccount;
|
|
21
|
+
export declare enum FundTransferHookInstruction {
|
|
22
|
+
AcceptAuthority = 0,
|
|
23
|
+
AfterAction = 1,
|
|
24
|
+
BeforeAction = 2,
|
|
25
|
+
ClaimEscrowRefund = 3,
|
|
26
|
+
CloseIntent = 4,
|
|
27
|
+
Initialize = 5,
|
|
28
|
+
NominateAuthority = 6
|
|
29
|
+
}
|
|
30
|
+
export declare function identifyFundTransferHookInstruction(instruction: {
|
|
31
|
+
data: ReadonlyUint8Array;
|
|
32
|
+
} | ReadonlyUint8Array): FundTransferHookInstruction;
|
|
33
|
+
export type ParsedFundTransferHookInstruction<TProgram extends string = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr"> = ({
|
|
34
|
+
instructionType: FundTransferHookInstruction.AcceptAuthority;
|
|
35
|
+
} & ParsedAcceptAuthorityInstruction<TProgram>) | ({
|
|
36
|
+
instructionType: FundTransferHookInstruction.AfterAction;
|
|
37
|
+
} & ParsedAfterActionInstruction<TProgram>) | ({
|
|
38
|
+
instructionType: FundTransferHookInstruction.BeforeAction;
|
|
39
|
+
} & ParsedBeforeActionInstruction<TProgram>) | ({
|
|
40
|
+
instructionType: FundTransferHookInstruction.ClaimEscrowRefund;
|
|
41
|
+
} & ParsedClaimEscrowRefundInstruction<TProgram>) | ({
|
|
42
|
+
instructionType: FundTransferHookInstruction.CloseIntent;
|
|
43
|
+
} & ParsedCloseIntentInstruction<TProgram>) | ({
|
|
44
|
+
instructionType: FundTransferHookInstruction.Initialize;
|
|
45
|
+
} & ParsedInitializeInstruction<TProgram>) | ({
|
|
46
|
+
instructionType: FundTransferHookInstruction.NominateAuthority;
|
|
47
|
+
} & ParsedNominateAuthorityInstruction<TProgram>);
|
|
48
|
+
export declare function parseFundTransferHookInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedFundTransferHookInstruction<TProgram>;
|
|
49
|
+
//# sourceMappingURL=fundTransferHook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundTransferHook.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAKL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAQL,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACxC,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,kCAAkC,EACK,OAAO,CAAC,8CAA8C,CAAC,CAAC;AAE5G,oBAAY,uBAAuB;IACjC,mBAAmB,IAAA;IACnB,YAAY,IAAA;IACZ,SAAS,IAAA;IACT,MAAM,IAAA;IACN,sBAAsB,IAAA;CACvB;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAAG,kBAAkB,GACzD,uBAAuB,CA4DzB;AAED,oBAAY,2BAA2B;IACrC,eAAe,IAAA;IACf,WAAW,IAAA;IACX,YAAY,IAAA;IACZ,iBAAiB,IAAA;IACjB,WAAW,IAAA;IACX,UAAU,IAAA;IACV,iBAAiB,IAAA;CAClB;AAED,wBAAgB,mCAAmC,CACjD,WAAW,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAAG,kBAAkB,GAC7D,2BAA2B,CAkF7B;AAED,MAAM,MAAM,iCAAiC,CAC3C,QAAQ,SAAS,MAAM,GAAG,8CAA8C,IAEtE,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,eAAe,CAAC;CAC9D,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAC,GAC/C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,WAAW,CAAC;CAC1D,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC,GAC3C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,YAAY,CAAC;CAC3D,GAAG,6BAA6B,CAAC,QAAQ,CAAC,CAAC,GAC5C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,iBAAiB,CAAC;CAChE,GAAG,kCAAkC,CAAC,QAAQ,CAAC,CAAC,GACjD,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,WAAW,CAAC;CAC1D,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC,GAC3C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,UAAU,CAAC;CACzD,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC,GAC1C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,iBAAiB,CAAC;CAChE,GAAG,kCAAkC,CAAC,QAAQ,CAAC,CAAC,CAAC;AAEtD,wBAAgB,gCAAgC,CAAC,QAAQ,SAAS,MAAM,EACtE,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,GAC3E,iCAAiC,CAAC,QAAQ,CAAC,CAyD7C"}
|
|
@@ -0,0 +1,129 @@
|
|
|
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, parseAfterActionInstruction, parseBeforeActionInstruction, parseClaimEscrowRefundInstruction, parseCloseIntentInstruction, parseInitializeInstruction, parseNominateAuthorityInstruction, } from "../instructions/index.js";
|
|
10
|
+
export const FUND_TRANSFER_HOOK_PROGRAM_ADDRESS = "9gX4rKCkXuxwQpSSfVET2KFsiTm8eFs93pp3h6yB3hwr";
|
|
11
|
+
export var FundTransferHookAccount;
|
|
12
|
+
(function (FundTransferHookAccount) {
|
|
13
|
+
FundTransferHookAccount[FundTransferHookAccount["FundRequestIntentId"] = 0] = "FundRequestIntentId";
|
|
14
|
+
FundTransferHookAccount[FundTransferHookAccount["HookMetadata"] = 1] = "HookMetadata";
|
|
15
|
+
FundTransferHookAccount[FundTransferHookAccount["HookState"] = 2] = "HookState";
|
|
16
|
+
FundTransferHookAccount[FundTransferHookAccount["Intent"] = 3] = "Intent";
|
|
17
|
+
FundTransferHookAccount[FundTransferHookAccount["ProviderEscrowIntentId"] = 4] = "ProviderEscrowIntentId";
|
|
18
|
+
})(FundTransferHookAccount || (FundTransferHookAccount = {}));
|
|
19
|
+
export function identifyFundTransferHookAccount(account) {
|
|
20
|
+
const data = "data" in account ? account.data : account;
|
|
21
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([115, 10, 133, 59, 77, 84, 106, 104])), 0)) {
|
|
22
|
+
return FundTransferHookAccount.FundRequestIntentId;
|
|
23
|
+
}
|
|
24
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([119, 227, 48, 236, 101, 194, 218, 85])), 0)) {
|
|
25
|
+
return FundTransferHookAccount.HookMetadata;
|
|
26
|
+
}
|
|
27
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([10, 13, 71, 116, 92, 105, 237, 231])), 0)) {
|
|
28
|
+
return FundTransferHookAccount.HookState;
|
|
29
|
+
}
|
|
30
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([247, 162, 35, 165, 254, 111, 129, 109])), 0)) {
|
|
31
|
+
return FundTransferHookAccount.Intent;
|
|
32
|
+
}
|
|
33
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([132, 9, 212, 245, 34, 170, 187, 104])), 0)) {
|
|
34
|
+
return FundTransferHookAccount.ProviderEscrowIntentId;
|
|
35
|
+
}
|
|
36
|
+
throw new Error("The provided account could not be identified as a fundTransferHook account.");
|
|
37
|
+
}
|
|
38
|
+
export var FundTransferHookInstruction;
|
|
39
|
+
(function (FundTransferHookInstruction) {
|
|
40
|
+
FundTransferHookInstruction[FundTransferHookInstruction["AcceptAuthority"] = 0] = "AcceptAuthority";
|
|
41
|
+
FundTransferHookInstruction[FundTransferHookInstruction["AfterAction"] = 1] = "AfterAction";
|
|
42
|
+
FundTransferHookInstruction[FundTransferHookInstruction["BeforeAction"] = 2] = "BeforeAction";
|
|
43
|
+
FundTransferHookInstruction[FundTransferHookInstruction["ClaimEscrowRefund"] = 3] = "ClaimEscrowRefund";
|
|
44
|
+
FundTransferHookInstruction[FundTransferHookInstruction["CloseIntent"] = 4] = "CloseIntent";
|
|
45
|
+
FundTransferHookInstruction[FundTransferHookInstruction["Initialize"] = 5] = "Initialize";
|
|
46
|
+
FundTransferHookInstruction[FundTransferHookInstruction["NominateAuthority"] = 6] = "NominateAuthority";
|
|
47
|
+
})(FundTransferHookInstruction || (FundTransferHookInstruction = {}));
|
|
48
|
+
export function identifyFundTransferHookInstruction(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 FundTransferHookInstruction.AcceptAuthority;
|
|
52
|
+
}
|
|
53
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([100, 247, 61, 195, 161, 140, 250, 73])), 0)) {
|
|
54
|
+
return FundTransferHookInstruction.AfterAction;
|
|
55
|
+
}
|
|
56
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([5, 61, 71, 243, 197, 108, 160, 137])), 0)) {
|
|
57
|
+
return FundTransferHookInstruction.BeforeAction;
|
|
58
|
+
}
|
|
59
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([180, 244, 255, 206, 147, 149, 56, 223])), 0)) {
|
|
60
|
+
return FundTransferHookInstruction.ClaimEscrowRefund;
|
|
61
|
+
}
|
|
62
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([112, 245, 154, 249, 57, 126, 54, 122])), 0)) {
|
|
63
|
+
return FundTransferHookInstruction.CloseIntent;
|
|
64
|
+
}
|
|
65
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([175, 175, 109, 31, 13, 152, 155, 237])), 0)) {
|
|
66
|
+
return FundTransferHookInstruction.Initialize;
|
|
67
|
+
}
|
|
68
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([148, 182, 144, 91, 186, 12, 118, 18])), 0)) {
|
|
69
|
+
return FundTransferHookInstruction.NominateAuthority;
|
|
70
|
+
}
|
|
71
|
+
throw new Error("The provided instruction could not be identified as a fundTransferHook instruction.");
|
|
72
|
+
}
|
|
73
|
+
export function parseFundTransferHookInstruction(instruction) {
|
|
74
|
+
const instructionType = identifyFundTransferHookInstruction(instruction);
|
|
75
|
+
switch (instructionType) {
|
|
76
|
+
case FundTransferHookInstruction.AcceptAuthority: {
|
|
77
|
+
assertIsInstructionWithAccounts(instruction);
|
|
78
|
+
return {
|
|
79
|
+
instructionType: FundTransferHookInstruction.AcceptAuthority,
|
|
80
|
+
...parseAcceptAuthorityInstruction(instruction),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
case FundTransferHookInstruction.AfterAction: {
|
|
84
|
+
assertIsInstructionWithAccounts(instruction);
|
|
85
|
+
return {
|
|
86
|
+
instructionType: FundTransferHookInstruction.AfterAction,
|
|
87
|
+
...parseAfterActionInstruction(instruction),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
case FundTransferHookInstruction.BeforeAction: {
|
|
91
|
+
assertIsInstructionWithAccounts(instruction);
|
|
92
|
+
return {
|
|
93
|
+
instructionType: FundTransferHookInstruction.BeforeAction,
|
|
94
|
+
...parseBeforeActionInstruction(instruction),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
case FundTransferHookInstruction.ClaimEscrowRefund: {
|
|
98
|
+
assertIsInstructionWithAccounts(instruction);
|
|
99
|
+
return {
|
|
100
|
+
instructionType: FundTransferHookInstruction.ClaimEscrowRefund,
|
|
101
|
+
...parseClaimEscrowRefundInstruction(instruction),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
case FundTransferHookInstruction.CloseIntent: {
|
|
105
|
+
assertIsInstructionWithAccounts(instruction);
|
|
106
|
+
return {
|
|
107
|
+
instructionType: FundTransferHookInstruction.CloseIntent,
|
|
108
|
+
...parseCloseIntentInstruction(instruction),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
case FundTransferHookInstruction.Initialize: {
|
|
112
|
+
assertIsInstructionWithAccounts(instruction);
|
|
113
|
+
return {
|
|
114
|
+
instructionType: FundTransferHookInstruction.Initialize,
|
|
115
|
+
...parseInitializeInstruction(instruction),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
case FundTransferHookInstruction.NominateAuthority: {
|
|
119
|
+
assertIsInstructionWithAccounts(instruction);
|
|
120
|
+
return {
|
|
121
|
+
instructionType: FundTransferHookInstruction.NominateAuthority,
|
|
122
|
+
...parseNominateAuthorityInstruction(instruction),
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
default:
|
|
126
|
+
throw new Error(`Unrecognized instruction type: ${instructionType}`);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=fundTransferHook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundTransferHook.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/programs/fundTransferHook.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,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,GAQlC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,kCAAkC,GAC7C,8CAAyG,CAAC;AAE5G,MAAM,CAAN,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,mGAAmB,CAAA;IACnB,qFAAY,CAAA;IACZ,+EAAS,CAAA;IACT,yEAAM,CAAA;IACN,yGAAsB,CAAA;AACxB,CAAC,EANW,uBAAuB,KAAvB,uBAAuB,QAMlC;AAED,MAAM,UAAU,+BAA+B,CAC7C,OAA0D;IAE1D,MAAM,IAAI,GAAG,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxD,IACE,aAAa,CACX,IAAI,EACJ,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CACzC,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CACrD,EACD,CAAC,CACF,EACD,CAAC;QACD,OAAO,uBAAuB,CAAC,mBAAmB,CAAC;IACrD,CAAC;IACD,IACE,aAAa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C,WAAW,CAAC;aAC5C,CAAC;QACJ,CAAC;QACD,KAAK,2BAA2B,CAAC,UAAU,CAAC,CAAC,CAAC;YAC5C,+BAA+B,CAAC,WAAW,CAAC,CAAC;YAC7C,OAAO;gBACL,eAAe,EAAE,2BAA2B,CAAC,UAAU;gBACvD,GAAG,0BAA0B,CAAC,WAAW,CAAC;aAC3C,CAAC;QACJ,CAAC;QACD,KAAK,2BAA2B,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACnD,+BAA+B,CAAC,WAAW,CAAC,CAAC;YAC7C,OAAO;gBACL,eAAe,EAAE,2BAA2B,CAAC,iBAAiB;gBAC9D,GAAG,iCAAiC,CAAC,WAAW,CAAC;aAClD,CAAC;QACJ,CAAC;QACD;YACE,MAAM,IAAI,KAAK,CACb,kCAAkC,eAAyB,EAAE,CAC9D,CAAC;IACN,CAAC;AACH,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 "./fundTransferHook.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,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 "./fundTransferHook.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/core/solana/generated/fund-transfer-hook/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC"}
|