@intent-engine/core 0.1.42 → 0.1.43
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/generated/client/accounts/config.d.ts +4 -0
- package/dist/generated/client/accounts/config.js +5 -1
- package/dist/generated/client/accounts/config.js.map +1 -1
- package/dist/generated/client/accounts/intent.d.ts +6 -2
- package/dist/generated/client/accounts/intent.js +8 -4
- package/dist/generated/client/accounts/intent.js.map +1 -1
- package/dist/generated/client/accounts/mintCap.d.ts +6 -0
- package/dist/generated/client/accounts/mintCap.js +8 -2
- package/dist/generated/client/accounts/mintCap.js.map +1 -1
- package/dist/generated/client/accounts/profile.d.ts +2 -2
- package/dist/generated/client/accounts/profile.js +2 -2
- package/dist/generated/client/accounts/profile.js.map +1 -1
- package/dist/generated/client/accounts/standby.d.ts +2 -0
- package/dist/generated/client/accounts/standby.js +4 -2
- package/dist/generated/client/accounts/standby.js.map +1 -1
- package/dist/generated/client/errors/intentEngine.d.ts +25 -1
- package/dist/generated/client/errors/intentEngine.js +36 -0
- package/dist/generated/client/errors/intentEngine.js.map +1 -1
- package/dist/generated/client/events/accountMigrated.d.ts +38 -0
- package/dist/generated/client/events/accountMigrated.js +50 -0
- package/dist/generated/client/events/accountMigrated.js.map +1 -0
- package/dist/generated/client/events/committeeFloorSet.d.ts +26 -0
- package/dist/generated/client/events/committeeFloorSet.js +38 -0
- package/dist/generated/client/events/committeeFloorSet.js.map +1 -0
- package/dist/generated/client/events/index.d.ts +3 -0
- package/dist/generated/client/events/index.js +3 -0
- package/dist/generated/client/events/index.js.map +1 -1
- package/dist/generated/client/events/legacyClosed.d.ts +30 -0
- package/dist/generated/client/events/legacyClosed.js +42 -0
- package/dist/generated/client/events/legacyClosed.js.map +1 -0
- package/dist/generated/client/events/mintCapSet.d.ts +4 -0
- package/dist/generated/client/events/mintCapSet.js +4 -0
- package/dist/generated/client/events/mintCapSet.js.map +1 -1
- package/dist/generated/client/events/profileSet.d.ts +1 -0
- package/dist/generated/client/events/profileSet.js +2 -0
- package/dist/generated/client/events/profileSet.js.map +1 -1
- package/dist/generated/client/instructions/beginFill.d.ts +13 -9
- package/dist/generated/client/instructions/beginFill.js +15 -2
- package/dist/generated/client/instructions/beginFill.js.map +1 -1
- package/dist/generated/client/instructions/cancelIntent.d.ts +13 -9
- package/dist/generated/client/instructions/cancelIntent.js +15 -2
- package/dist/generated/client/instructions/cancelIntent.js.map +1 -1
- package/dist/generated/client/instructions/claimJob.d.ts +13 -9
- package/dist/generated/client/instructions/claimJob.js +15 -2
- package/dist/generated/client/instructions/claimJob.js.map +1 -1
- package/dist/generated/client/instructions/closeIntent.d.ts +13 -9
- package/dist/generated/client/instructions/closeIntent.js +21 -2
- package/dist/generated/client/instructions/closeIntent.js.map +1 -1
- package/dist/generated/client/instructions/closeLegacy.d.ts +61 -0
- package/dist/generated/client/instructions/closeLegacy.js +113 -0
- package/dist/generated/client/instructions/closeLegacy.js.map +1 -0
- package/dist/generated/client/instructions/createIntent.d.ts +14 -10
- package/dist/generated/client/instructions/createIntent.js +15 -2
- package/dist/generated/client/instructions/createIntent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentSigned.d.ts +14 -10
- package/dist/generated/client/instructions/createIntentSigned.js +15 -2
- package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
- package/dist/generated/client/instructions/expireIntent.d.ts +13 -9
- package/dist/generated/client/instructions/expireIntent.js +21 -2
- package/dist/generated/client/instructions/expireIntent.js.map +1 -1
- package/dist/generated/client/instructions/fillAttested.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttested.js +15 -2
- package/dist/generated/client/instructions/fillAttested.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedCommittee.js +15 -2
- package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplit.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedSplit.js +15 -2
- package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +15 -2
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -1
- package/dist/generated/client/instructions/fillIntent.d.ts +13 -9
- package/dist/generated/client/instructions/fillIntent.js +15 -2
- package/dist/generated/client/instructions/fillIntent.js.map +1 -1
- package/dist/generated/client/instructions/index.d.ts +3 -0
- package/dist/generated/client/instructions/index.js +3 -0
- package/dist/generated/client/instructions/index.js.map +1 -1
- package/dist/generated/client/instructions/migrate.d.ts +52 -0
- package/dist/generated/client/instructions/migrate.js +109 -0
- package/dist/generated/client/instructions/migrate.js.map +1 -0
- package/dist/generated/client/instructions/setCommitteeFloor.d.ts +53 -0
- package/dist/generated/client/instructions/setCommitteeFloor.js +96 -0
- package/dist/generated/client/instructions/setCommitteeFloor.js.map +1 -0
- package/dist/generated/client/instructions/setMintCap.d.ts +4 -0
- package/dist/generated/client/instructions/setMintCap.js +2 -0
- package/dist/generated/client/instructions/setMintCap.js.map +1 -1
- package/dist/generated/client/instructions/standBy.d.ts +13 -9
- package/dist/generated/client/instructions/standBy.js +15 -2
- package/dist/generated/client/instructions/standBy.js.map +1 -1
- package/dist/generated/client/programs/intentEngine.d.ts +158 -137
- package/dist/generated/client/programs/intentEngine.js +194 -137
- package/dist/generated/client/programs/intentEngine.js.map +1 -1
- package/dist/generated/client/types/profileFields.d.ts +1 -0
- package/dist/generated/client/types/profileFields.js +2 -0
- package/dist/generated/client/types/profileFields.js.map +1 -1
- package/dist/src/claims.d.ts +2 -2
- package/dist/src/committee-floors.d.ts +21 -0
- package/dist/src/committee-floors.js +27 -0
- package/dist/src/committee-floors.js.map +1 -0
- package/dist/src/committee.d.ts +4 -4
- package/dist/src/committee.js +14 -17
- package/dist/src/committee.js.map +1 -1
- package/dist/src/encryption-key.d.ts +28 -0
- package/dist/src/encryption-key.js +94 -0
- package/dist/src/encryption-key.js.map +1 -0
- package/dist/src/events.d.ts +4 -1
- package/dist/src/events.js +5 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/fill-builders.d.ts +7 -5
- package/dist/src/fill-builders.js +4 -0
- package/dist/src/fill-builders.js.map +1 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent-builders.d.ts +8 -6
- package/dist/src/intent-builders.js +6 -1
- package/dist/src/intent-builders.js.map +1 -1
- package/dist/src/memo.d.ts +7 -1
- package/dist/src/memo.js +18 -4
- package/dist/src/memo.js.map +1 -1
- package/dist/src/migrate.d.ts +25 -0
- package/dist/src/migrate.js +46 -0
- package/dist/src/migrate.js.map +1 -0
- package/dist/src/mint-caps.d.ts +5 -1
- package/dist/src/mint-caps.js +13 -2
- package/dist/src/mint-caps.js.map +1 -1
- package/dist/src/profile.d.ts +2 -0
- package/dist/src/profile.js +13 -4
- package/dist/src/profile.js.map +1 -1
- package/dist/src/sealed-delivery.d.ts +54 -10
- package/dist/src/sealed-delivery.js +183 -55
- package/dist/src/sealed-delivery.js.map +1 -1
- package/dist/src/sealed.d.ts +1 -0
- package/dist/src/sealed.js +2 -2
- package/dist/src/sealed.js.map +1 -1
- package/dist/src/sig.d.ts +17 -4
- package/dist/src/sig.js +80 -10
- package/dist/src/sig.js.map +1 -1
- package/dist/src/state.d.ts +3 -3
- package/dist/src/state.js +3 -3
- package/dist/src/versions.d.ts +56 -0
- package/dist/src/versions.js +126 -0
- package/dist/src/versions.js.map +1 -0
- package/generated/idl.json +567 -6
- package/package.json +2 -1
|
@@ -0,0 +1,113 @@
|
|
|
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, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder, } from "@solana/kit";
|
|
9
|
+
import { getAccountMetaFactory, } from "@solana/kit/program-client-core";
|
|
10
|
+
import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
11
|
+
export const CLOSE_LEGACY_DISCRIMINATOR = new Uint8Array([
|
|
12
|
+
119, 17, 150, 2, 226, 13, 36, 75,
|
|
13
|
+
]);
|
|
14
|
+
export function getCloseLegacyDiscriminatorBytes() {
|
|
15
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CLOSE_LEGACY_DISCRIMINATOR);
|
|
16
|
+
}
|
|
17
|
+
export function getCloseLegacyInstructionDataEncoder() {
|
|
18
|
+
return transformEncoder(getStructEncoder([["discriminator", fixEncoderSize(getBytesEncoder(), 8)]]), (value) => ({ ...value, discriminator: CLOSE_LEGACY_DISCRIMINATOR }));
|
|
19
|
+
}
|
|
20
|
+
export function getCloseLegacyInstructionDataDecoder() {
|
|
21
|
+
return getStructDecoder([
|
|
22
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
23
|
+
]);
|
|
24
|
+
}
|
|
25
|
+
export function getCloseLegacyInstructionDataCodec() {
|
|
26
|
+
return combineCodec(getCloseLegacyInstructionDataEncoder(), getCloseLegacyInstructionDataDecoder());
|
|
27
|
+
}
|
|
28
|
+
export function getCloseLegacyInstruction(input, config) {
|
|
29
|
+
// Program address.
|
|
30
|
+
const programAddress = config?.programAddress ?? INTENT_ENGINE_PROGRAM_ADDRESS;
|
|
31
|
+
// Account meta helper.
|
|
32
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
33
|
+
// Original accounts.
|
|
34
|
+
const originalAccounts = {
|
|
35
|
+
account: {
|
|
36
|
+
value: input.account ?? null,
|
|
37
|
+
isSigner: false,
|
|
38
|
+
isWritable: true,
|
|
39
|
+
},
|
|
40
|
+
payee: { value: input.payee ?? null, isSigner: false, isWritable: true },
|
|
41
|
+
config: { value: input.config ?? null, isSigner: false, isWritable: false },
|
|
42
|
+
vault: { value: input.vault ?? null, isSigner: false, isWritable: false },
|
|
43
|
+
intent: { value: input.intent ?? null, isSigner: false, isWritable: false },
|
|
44
|
+
stakeTo: {
|
|
45
|
+
value: input.stakeTo ?? null,
|
|
46
|
+
isSigner: false,
|
|
47
|
+
isWritable: true,
|
|
48
|
+
},
|
|
49
|
+
feeTo: { value: input.feeTo ?? null, isSigner: false, isWritable: true },
|
|
50
|
+
eventAuthority: {
|
|
51
|
+
value: input.eventAuthority ?? null,
|
|
52
|
+
isSigner: false,
|
|
53
|
+
isWritable: false,
|
|
54
|
+
},
|
|
55
|
+
program: {
|
|
56
|
+
value: input.program ?? null,
|
|
57
|
+
isSigner: false,
|
|
58
|
+
isWritable: false,
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
const accounts = originalAccounts;
|
|
62
|
+
return Object.freeze({
|
|
63
|
+
accounts: [
|
|
64
|
+
getAccountMeta("account", accounts.account),
|
|
65
|
+
getAccountMeta("payee", accounts.payee),
|
|
66
|
+
getAccountMeta("config", accounts.config),
|
|
67
|
+
getAccountMeta("vault", accounts.vault),
|
|
68
|
+
getAccountMeta("intent", accounts.intent),
|
|
69
|
+
getAccountMeta("stakeTo", accounts.stakeTo),
|
|
70
|
+
getAccountMeta("feeTo", accounts.feeTo),
|
|
71
|
+
getAccountMeta("eventAuthority", accounts.eventAuthority),
|
|
72
|
+
getAccountMeta("program", accounts.program),
|
|
73
|
+
],
|
|
74
|
+
data: getCloseLegacyInstructionDataEncoder().encode({}),
|
|
75
|
+
programAddress,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export function parseCloseLegacyInstruction(instruction) {
|
|
79
|
+
if (instruction.accounts.length < 9) {
|
|
80
|
+
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
81
|
+
actualAccountMetas: instruction.accounts.length,
|
|
82
|
+
expectedAccountMetas: 9,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
let accountIndex = 0;
|
|
86
|
+
const getNextAccount = () => {
|
|
87
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
88
|
+
accountIndex += 1;
|
|
89
|
+
return accountMeta;
|
|
90
|
+
};
|
|
91
|
+
const getNextOptionalAccount = () => {
|
|
92
|
+
const accountMeta = getNextAccount();
|
|
93
|
+
return accountMeta.address === INTENT_ENGINE_PROGRAM_ADDRESS
|
|
94
|
+
? undefined
|
|
95
|
+
: accountMeta;
|
|
96
|
+
};
|
|
97
|
+
return {
|
|
98
|
+
programAddress: instruction.programAddress,
|
|
99
|
+
accounts: {
|
|
100
|
+
account: getNextAccount(),
|
|
101
|
+
payee: getNextAccount(),
|
|
102
|
+
config: getNextOptionalAccount(),
|
|
103
|
+
vault: getNextOptionalAccount(),
|
|
104
|
+
intent: getNextOptionalAccount(),
|
|
105
|
+
stakeTo: getNextOptionalAccount(),
|
|
106
|
+
feeTo: getNextOptionalAccount(),
|
|
107
|
+
eventAuthority: getNextAccount(),
|
|
108
|
+
program: getNextAccount(),
|
|
109
|
+
},
|
|
110
|
+
data: getCloseLegacyInstructionDataDecoder().decode(instruction.data),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=closeLegacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeLegacy.js","sourceRoot":"","sources":["../../../../generated/client/instructions/closeLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAYjB,MAAM,aAAa,C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,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,OAAO,EAAE,cAAc,EAAE;YACzB,KAAK,EAAE,cAAc,EAAE;YACvB,MAAM,EAAE,sBAAsB,EAAE;YAChC,KAAK,EAAE,sBAAsB,EAAE;YAC/B,MAAM,EAAE,sBAAsB,EAAE;YAChC,OAAO,EAAE,sBAAsB,EAAE;YACjC,KAAK,EAAE,sBAAsB,EAAE;YAC/B,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,oCAAoC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KACtE,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
|
11
11
|
import { type CreateIntentArgs, type CreateIntentArgsArgs } from "../types/index.js";
|
|
12
12
|
export declare const CREATE_INTENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
13
13
|
export declare function getCreateIntentDiscriminatorBytes(): ReadonlyUint8Array;
|
|
14
|
-
export type CreateIntentInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountUserState extends string | AccountMeta<string> = string, TAccountIntent extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountOutputMint extends string | AccountMeta<string> = string, TAccountOwnerInput extends string | AccountMeta<string> = string, TAccountReceiver extends string | AccountMeta<string> = string, TAccountReceiverAuthority extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountOutputTokenProgram extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountMintCap extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
14
|
+
export type CreateIntentInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountUserState extends string | AccountMeta<string> = string, TAccountIntent extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountOutputMint extends string | AccountMeta<string> = string, TAccountOwnerInput extends string | AccountMeta<string> = string, TAccountReceiver extends string | AccountMeta<string> = string, TAccountReceiverAuthority extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountOutputTokenProgram extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountCommittee extends string | AccountMeta<string> = string, TAccountMintCap extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
15
15
|
TAccountOwner extends string ? WritableSignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
|
|
16
16
|
TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
|
|
17
17
|
TAccountUserState extends string ? WritableAccount<TAccountUserState> : TAccountUserState,
|
|
@@ -26,6 +26,7 @@ export type CreateIntentInstruction<TProgram extends string = typeof INTENT_ENGI
|
|
|
26
26
|
TAccountOutputTokenProgram extends string ? ReadonlyAccount<TAccountOutputTokenProgram> : TAccountOutputTokenProgram,
|
|
27
27
|
TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
|
|
28
28
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
29
|
+
TAccountCommittee extends string ? ReadonlyAccount<TAccountCommittee> : TAccountCommittee,
|
|
29
30
|
TAccountMintCap extends string ? WritableAccount<TAccountMintCap> : TAccountMintCap,
|
|
30
31
|
TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
|
|
31
32
|
TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
|
|
@@ -41,7 +42,7 @@ export type CreateIntentInstructionDataArgs = {
|
|
|
41
42
|
export declare function getCreateIntentInstructionDataEncoder(): Encoder<CreateIntentInstructionDataArgs>;
|
|
42
43
|
export declare function getCreateIntentInstructionDataDecoder(): Decoder<CreateIntentInstructionData>;
|
|
43
44
|
export declare function getCreateIntentInstructionDataCodec(): Codec<CreateIntentInstructionDataArgs, CreateIntentInstructionData>;
|
|
44
|
-
export type CreateIntentAsyncInput<TAccountOwner extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
45
|
+
export type CreateIntentAsyncInput<TAccountOwner extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
45
46
|
owner: TAccountOwner;
|
|
46
47
|
config?: TAccountConfig;
|
|
47
48
|
userState?: TAccountUserState;
|
|
@@ -56,15 +57,16 @@ export type CreateIntentAsyncInput<TAccountOwner extends InstructionSignerInput
|
|
|
56
57
|
outputTokenProgram: TAccountOutputTokenProgram;
|
|
57
58
|
treasury: TAccountTreasury;
|
|
58
59
|
systemProgram?: TAccountSystemProgram;
|
|
60
|
+
committee?: TAccountCommittee;
|
|
59
61
|
mintCap?: TAccountMintCap;
|
|
60
62
|
eventAuthority: TAccountEventAuthority;
|
|
61
63
|
program: TAccountProgram;
|
|
62
64
|
args: CreateIntentInstructionDataArgs["args"];
|
|
63
65
|
};
|
|
64
|
-
export declare function getCreateIntentInstructionAsync<TAccountOwner extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentAsyncInput<TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountSystemProgram, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
66
|
+
export declare function getCreateIntentInstructionAsync<TAccountOwner extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentAsyncInput<TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountSystemProgram, TAccountCommittee, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
65
67
|
programAddress?: TProgramAddress;
|
|
66
|
-
}): Promise<CreateIntentInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
|
|
67
|
-
export type CreateIntentInput<TAccountOwner extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
68
|
+
}): Promise<CreateIntentInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
|
|
69
|
+
export type CreateIntentInput<TAccountOwner extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
68
70
|
owner: TAccountOwner;
|
|
69
71
|
config?: TAccountConfig;
|
|
70
72
|
userState: TAccountUserState;
|
|
@@ -79,14 +81,15 @@ export type CreateIntentInput<TAccountOwner extends InstructionSignerInput = Ins
|
|
|
79
81
|
outputTokenProgram: TAccountOutputTokenProgram;
|
|
80
82
|
treasury: TAccountTreasury;
|
|
81
83
|
systemProgram?: TAccountSystemProgram;
|
|
84
|
+
committee?: TAccountCommittee;
|
|
82
85
|
mintCap?: TAccountMintCap;
|
|
83
86
|
eventAuthority: TAccountEventAuthority;
|
|
84
87
|
program: TAccountProgram;
|
|
85
88
|
args: CreateIntentInstructionDataArgs["args"];
|
|
86
89
|
};
|
|
87
|
-
export declare function getCreateIntentInstruction<TAccountOwner extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentInput<TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountSystemProgram, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
90
|
+
export declare function getCreateIntentInstruction<TAccountOwner extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentInput<TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountSystemProgram, TAccountCommittee, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
88
91
|
programAddress?: TProgramAddress;
|
|
89
|
-
}): CreateIntentInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
|
|
92
|
+
}): CreateIntentInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
|
|
90
93
|
export type ParsedCreateIntentInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
91
94
|
programAddress: Address<TProgram>;
|
|
92
95
|
accounts: {
|
|
@@ -104,9 +107,10 @@ export type ParsedCreateIntentInstruction<TProgram extends string = typeof INTEN
|
|
|
104
107
|
outputTokenProgram: TAccountMetas[11];
|
|
105
108
|
treasury: TAccountMetas[12];
|
|
106
109
|
systemProgram: TAccountMetas[13];
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
committee?: TAccountMetas[14] | undefined;
|
|
111
|
+
mintCap?: TAccountMetas[15] | undefined;
|
|
112
|
+
eventAuthority: TAccountMetas[16];
|
|
113
|
+
program: TAccountMetas[17];
|
|
110
114
|
};
|
|
111
115
|
data: CreateIntentInstructionData;
|
|
112
116
|
};
|
|
@@ -92,6 +92,11 @@ export async function getCreateIntentInstructionAsync(input, config) {
|
|
|
92
92
|
isSigner: false,
|
|
93
93
|
isWritable: false,
|
|
94
94
|
},
|
|
95
|
+
committee: {
|
|
96
|
+
value: input.committee ?? null,
|
|
97
|
+
isSigner: false,
|
|
98
|
+
isWritable: false,
|
|
99
|
+
},
|
|
95
100
|
mintCap: {
|
|
96
101
|
value: input.mintCap ?? null,
|
|
97
102
|
isSigner: false,
|
|
@@ -146,6 +151,7 @@ export async function getCreateIntentInstructionAsync(input, config) {
|
|
|
146
151
|
getAccountMeta("outputTokenProgram", accounts.outputTokenProgram),
|
|
147
152
|
getAccountMeta("treasury", accounts.treasury),
|
|
148
153
|
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
154
|
+
getAccountMeta("committee", accounts.committee),
|
|
149
155
|
getAccountMeta("mintCap", accounts.mintCap),
|
|
150
156
|
getAccountMeta("eventAuthority", accounts.eventAuthority),
|
|
151
157
|
getAccountMeta("program", accounts.program),
|
|
@@ -215,6 +221,11 @@ export function getCreateIntentInstruction(input, config) {
|
|
|
215
221
|
isSigner: false,
|
|
216
222
|
isWritable: false,
|
|
217
223
|
},
|
|
224
|
+
committee: {
|
|
225
|
+
value: input.committee ?? null,
|
|
226
|
+
isSigner: false,
|
|
227
|
+
isWritable: false,
|
|
228
|
+
},
|
|
218
229
|
mintCap: {
|
|
219
230
|
value: input.mintCap ?? null,
|
|
220
231
|
isSigner: false,
|
|
@@ -259,6 +270,7 @@ export function getCreateIntentInstruction(input, config) {
|
|
|
259
270
|
getAccountMeta("outputTokenProgram", accounts.outputTokenProgram),
|
|
260
271
|
getAccountMeta("treasury", accounts.treasury),
|
|
261
272
|
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
273
|
+
getAccountMeta("committee", accounts.committee),
|
|
262
274
|
getAccountMeta("mintCap", accounts.mintCap),
|
|
263
275
|
getAccountMeta("eventAuthority", accounts.eventAuthority),
|
|
264
276
|
getAccountMeta("program", accounts.program),
|
|
@@ -268,10 +280,10 @@ export function getCreateIntentInstruction(input, config) {
|
|
|
268
280
|
});
|
|
269
281
|
}
|
|
270
282
|
export function parseCreateIntentInstruction(instruction) {
|
|
271
|
-
if (instruction.accounts.length <
|
|
283
|
+
if (instruction.accounts.length < 18) {
|
|
272
284
|
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
273
285
|
actualAccountMetas: instruction.accounts.length,
|
|
274
|
-
expectedAccountMetas:
|
|
286
|
+
expectedAccountMetas: 18,
|
|
275
287
|
});
|
|
276
288
|
}
|
|
277
289
|
let accountIndex = 0;
|
|
@@ -303,6 +315,7 @@ export function parseCreateIntentInstruction(instruction) {
|
|
|
303
315
|
outputTokenProgram: getNextAccount(),
|
|
304
316
|
treasury: getNextAccount(),
|
|
305
317
|
systemProgram: getNextAccount(),
|
|
318
|
+
committee: getNextOptionalAccount(),
|
|
306
319
|
mintCap: getNextOptionalAccount(),
|
|
307
320
|
eventAuthority: getNextAccount(),
|
|
308
321
|
program: getNextAccount(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIntent.js","sourceRoot":"","sources":["../../../../generated/client/instructions/createIntent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAuB,IAAI,UAAU,CAAC;IAC5E,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC;IAC/C,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,2BAA2B,CAC5B,CAAC;AACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"createIntent.js","sourceRoot":"","sources":["../../../../generated/client/instructions/createIntent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAuB,IAAI,UAAU,CAAC;IAC5E,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC;IAC/C,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,2BAA2B,CAC5B,CAAC;AACJ,CAAC;AA+FD,MAAM,UAAU,qCAAqC;IACnD,OAAO,gBAAgB,CACrB,gBAAgB,CAAC;QACf,CAAC,eAAe,EAAE,cAAc,CAAC,eAAe,EAAE,E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ACvB,MAAM,EAAE,cAAc,EAAE;YACxB,SAAS,EAAE,cAAc,EAAE;YAC3B,MAAM,EAAE,cAAc,EAAE;YACxB,SAAS,EAAE,cAAc,EAAE;YAC3B,UAAU,EAAE,cAAc,EAAE;YAC5B,UAAU,EAAE,cAAc,EAAE;YAC5B,QAAQ,EAAE,cAAc,EAAE;YAC1B,iBAAiB,EAAE,cAAc,EAAE;YACnC,KAAK,EAAE,cAAc,EAAE;YACvB,iBAAiB,EAAE,cAAc,EAAE;YACnC,kBAAkB,EAAE,cAAc,EAAE;YACpC,QAAQ,EAAE,cAAc,EAAE;YAC1B,aAAa,EAAE,cAAc,EAAE;YAC/B,SAAS,EAAE,sBAAsB,EAAE;YACnC,OAAO,EAAE,sBAAsB,EAAE;YACjC,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,qCAAqC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KACvE,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
|
11
11
|
import { type CreateIntentArgs, type CreateIntentArgsArgs } from "../types/index.js";
|
|
12
12
|
export declare const CREATE_INTENT_SIGNED_DISCRIMINATOR: ReadonlyUint8Array;
|
|
13
13
|
export declare function getCreateIntentSignedDiscriminatorBytes(): ReadonlyUint8Array;
|
|
14
|
-
export type CreateIntentSignedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountUserState extends string | AccountMeta<string> = string, TAccountIntent extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountOutputMint extends string | AccountMeta<string> = string, TAccountOwnerInput extends string | AccountMeta<string> = string, TAccountReceiver extends string | AccountMeta<string> = string, TAccountReceiverAuthority extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountDelegate extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountOutputTokenProgram extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountRelayerFeeTo extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountInstructions extends string | AccountMeta<string> = string, TAccountMintCap extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
14
|
+
export type CreateIntentSignedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountUserState extends string | AccountMeta<string> = string, TAccountIntent extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountOutputMint extends string | AccountMeta<string> = string, TAccountOwnerInput extends string | AccountMeta<string> = string, TAccountReceiver extends string | AccountMeta<string> = string, TAccountReceiverAuthority extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountDelegate extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountOutputTokenProgram extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountRelayerFeeTo extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountInstructions extends string | AccountMeta<string> = string, TAccountCommittee extends string | AccountMeta<string> = string, TAccountMintCap extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
15
15
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
16
16
|
TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner,
|
|
17
17
|
TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
|
|
@@ -30,6 +30,7 @@ export type CreateIntentSignedInstruction<TProgram extends string = typeof INTEN
|
|
|
30
30
|
TAccountRelayerFeeTo extends string ? WritableAccount<TAccountRelayerFeeTo> : TAccountRelayerFeeTo,
|
|
31
31
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
32
32
|
TAccountInstructions extends string ? ReadonlyAccount<TAccountInstructions> : TAccountInstructions,
|
|
33
|
+
TAccountCommittee extends string ? ReadonlyAccount<TAccountCommittee> : TAccountCommittee,
|
|
33
34
|
TAccountMintCap extends string ? WritableAccount<TAccountMintCap> : TAccountMintCap,
|
|
34
35
|
TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
|
|
35
36
|
TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
|
|
@@ -49,7 +50,7 @@ export type CreateIntentSignedInstructionDataArgs = {
|
|
|
49
50
|
export declare function getCreateIntentSignedInstructionDataEncoder(): Encoder<CreateIntentSignedInstructionDataArgs>;
|
|
50
51
|
export declare function getCreateIntentSignedInstructionDataDecoder(): Decoder<CreateIntentSignedInstructionData>;
|
|
51
52
|
export declare function getCreateIntentSignedInstructionDataCodec(): Codec<CreateIntentSignedInstructionDataArgs, CreateIntentSignedInstructionData>;
|
|
52
|
-
export type CreateIntentSignedAsyncInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountOwner extends InstructionAccountInput = InstructionAccountInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountDelegate extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
53
|
+
export type CreateIntentSignedAsyncInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountOwner extends InstructionAccountInput = InstructionAccountInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountDelegate extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
53
54
|
payer: TAccountPayer;
|
|
54
55
|
owner: TAccountOwner;
|
|
55
56
|
config?: TAccountConfig;
|
|
@@ -68,6 +69,7 @@ export type CreateIntentSignedAsyncInput<TAccountPayer extends InstructionSigner
|
|
|
68
69
|
relayerFeeTo?: TAccountRelayerFeeTo;
|
|
69
70
|
systemProgram?: TAccountSystemProgram;
|
|
70
71
|
instructions: TAccountInstructions;
|
|
72
|
+
committee?: TAccountCommittee;
|
|
71
73
|
mintCap?: TAccountMintCap;
|
|
72
74
|
eventAuthority: TAccountEventAuthority;
|
|
73
75
|
program: TAccountProgram;
|
|
@@ -75,10 +77,10 @@ export type CreateIntentSignedAsyncInput<TAccountPayer extends InstructionSigner
|
|
|
75
77
|
submitBy: CreateIntentSignedInstructionDataArgs["submitBy"];
|
|
76
78
|
relayerFee: CreateIntentSignedInstructionDataArgs["relayerFee"];
|
|
77
79
|
};
|
|
78
|
-
export declare function getCreateIntentSignedInstructionAsync<TAccountPayer extends InstructionSignerInput, TAccountOwner extends InstructionAccountInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountDelegate extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentSignedAsyncInput<TAccountPayer, TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountDelegate, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountRelayerFeeTo, TAccountSystemProgram, TAccountInstructions, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
80
|
+
export declare function getCreateIntentSignedInstructionAsync<TAccountPayer extends InstructionSignerInput, TAccountOwner extends InstructionAccountInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountDelegate extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentSignedAsyncInput<TAccountPayer, TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountDelegate, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountRelayerFeeTo, TAccountSystemProgram, TAccountInstructions, TAccountCommittee, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
79
81
|
programAddress?: TProgramAddress;
|
|
80
|
-
}): Promise<CreateIntentSignedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountDelegate, InstructionAccountInputAddress<TAccountDelegate>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountRelayerFeeTo, InstructionAccountInputAddress<TAccountRelayerFeeTo>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
|
|
81
|
-
export type CreateIntentSignedInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountOwner extends InstructionAccountInput = InstructionAccountInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountDelegate extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
82
|
+
}): Promise<CreateIntentSignedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountDelegate, InstructionAccountInputAddress<TAccountDelegate>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountRelayerFeeTo, InstructionAccountInputAddress<TAccountRelayerFeeTo>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
|
|
83
|
+
export type CreateIntentSignedInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountOwner extends InstructionAccountInput = InstructionAccountInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountUserState extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput = InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountDelegate extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountTreasury extends InstructionAccountInput = InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountMintCap extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
82
84
|
payer: TAccountPayer;
|
|
83
85
|
owner: TAccountOwner;
|
|
84
86
|
config?: TAccountConfig;
|
|
@@ -97,6 +99,7 @@ export type CreateIntentSignedInput<TAccountPayer extends InstructionSignerInput
|
|
|
97
99
|
relayerFeeTo?: TAccountRelayerFeeTo;
|
|
98
100
|
systemProgram?: TAccountSystemProgram;
|
|
99
101
|
instructions: TAccountInstructions;
|
|
102
|
+
committee?: TAccountCommittee;
|
|
100
103
|
mintCap?: TAccountMintCap;
|
|
101
104
|
eventAuthority: TAccountEventAuthority;
|
|
102
105
|
program: TAccountProgram;
|
|
@@ -104,9 +107,9 @@ export type CreateIntentSignedInput<TAccountPayer extends InstructionSignerInput
|
|
|
104
107
|
submitBy: CreateIntentSignedInstructionDataArgs["submitBy"];
|
|
105
108
|
relayerFee: CreateIntentSignedInstructionDataArgs["relayerFee"];
|
|
106
109
|
};
|
|
107
|
-
export declare function getCreateIntentSignedInstruction<TAccountPayer extends InstructionSignerInput, TAccountOwner extends InstructionAccountInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountDelegate extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentSignedInput<TAccountPayer, TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountDelegate, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountRelayerFeeTo, TAccountSystemProgram, TAccountInstructions, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
110
|
+
export declare function getCreateIntentSignedInstruction<TAccountPayer extends InstructionSignerInput, TAccountOwner extends InstructionAccountInput, TAccountConfig extends InstructionAccountInput, TAccountUserState extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountOutputMint extends InstructionAccountInput, TAccountOwnerInput extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountReceiverAuthority extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountDelegate extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountOutputTokenProgram extends InstructionAccountInput, TAccountTreasury extends InstructionAccountInput, TAccountRelayerFeeTo extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountMintCap extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: CreateIntentSignedInput<TAccountPayer, TAccountOwner, TAccountConfig, TAccountUserState, TAccountIntent, TAccountInputMint, TAccountOutputMint, TAccountOwnerInput, TAccountReceiver, TAccountReceiverAuthority, TAccountVault, TAccountDelegate, TAccountInputTokenProgram, TAccountOutputTokenProgram, TAccountTreasury, TAccountRelayerFeeTo, TAccountSystemProgram, TAccountInstructions, TAccountCommittee, TAccountMintCap, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
108
111
|
programAddress?: TProgramAddress;
|
|
109
|
-
}): CreateIntentSignedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountDelegate, InstructionAccountInputAddress<TAccountDelegate>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountRelayerFeeTo, InstructionAccountInputAddress<TAccountRelayerFeeTo>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
|
|
112
|
+
}): CreateIntentSignedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountUserState, InstructionAccountInputAddress<TAccountUserState>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountOutputMint, InstructionAccountInputAddress<TAccountOutputMint>>, ResolvedInstructionAccountMeta<TAccountOwnerInput, InstructionAccountInputAddress<TAccountOwnerInput>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountReceiverAuthority, InstructionAccountInputAddress<TAccountReceiverAuthority>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountDelegate, InstructionAccountInputAddress<TAccountDelegate>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountOutputTokenProgram, InstructionAccountInputAddress<TAccountOutputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountTreasury, InstructionAccountInputAddress<TAccountTreasury>>, ResolvedInstructionAccountMeta<TAccountRelayerFeeTo, InstructionAccountInputAddress<TAccountRelayerFeeTo>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountMintCap, InstructionAccountInputAddress<TAccountMintCap>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
|
|
110
113
|
export type ParsedCreateIntentSignedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
111
114
|
programAddress: Address<TProgram>;
|
|
112
115
|
accounts: {
|
|
@@ -128,9 +131,10 @@ export type ParsedCreateIntentSignedInstruction<TProgram extends string = typeof
|
|
|
128
131
|
relayerFeeTo?: TAccountMetas[15] | undefined;
|
|
129
132
|
systemProgram: TAccountMetas[16];
|
|
130
133
|
instructions: TAccountMetas[17];
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
committee?: TAccountMetas[18] | undefined;
|
|
135
|
+
mintCap?: TAccountMetas[19] | undefined;
|
|
136
|
+
eventAuthority: TAccountMetas[20];
|
|
137
|
+
program: TAccountMetas[21];
|
|
134
138
|
};
|
|
135
139
|
data: CreateIntentSignedInstructionData;
|
|
136
140
|
};
|
|
@@ -113,6 +113,11 @@ export async function getCreateIntentSignedInstructionAsync(input, config) {
|
|
|
113
113
|
isSigner: false,
|
|
114
114
|
isWritable: false,
|
|
115
115
|
},
|
|
116
|
+
committee: {
|
|
117
|
+
value: input.committee ?? null,
|
|
118
|
+
isSigner: false,
|
|
119
|
+
isWritable: false,
|
|
120
|
+
},
|
|
116
121
|
mintCap: {
|
|
117
122
|
value: input.mintCap ?? null,
|
|
118
123
|
isSigner: false,
|
|
@@ -176,6 +181,7 @@ export async function getCreateIntentSignedInstructionAsync(input, config) {
|
|
|
176
181
|
getAccountMeta("relayerFeeTo", accounts.relayerFeeTo),
|
|
177
182
|
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
178
183
|
getAccountMeta("instructions", accounts.instructions),
|
|
184
|
+
getAccountMeta("committee", accounts.committee),
|
|
179
185
|
getAccountMeta("mintCap", accounts.mintCap),
|
|
180
186
|
getAccountMeta("eventAuthority", accounts.eventAuthority),
|
|
181
187
|
getAccountMeta("program", accounts.program),
|
|
@@ -261,6 +267,11 @@ export function getCreateIntentSignedInstruction(input, config) {
|
|
|
261
267
|
isSigner: false,
|
|
262
268
|
isWritable: false,
|
|
263
269
|
},
|
|
270
|
+
committee: {
|
|
271
|
+
value: input.committee ?? null,
|
|
272
|
+
isSigner: false,
|
|
273
|
+
isWritable: false,
|
|
274
|
+
},
|
|
264
275
|
mintCap: {
|
|
265
276
|
value: input.mintCap ?? null,
|
|
266
277
|
isSigner: false,
|
|
@@ -309,6 +320,7 @@ export function getCreateIntentSignedInstruction(input, config) {
|
|
|
309
320
|
getAccountMeta("relayerFeeTo", accounts.relayerFeeTo),
|
|
310
321
|
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
311
322
|
getAccountMeta("instructions", accounts.instructions),
|
|
323
|
+
getAccountMeta("committee", accounts.committee),
|
|
312
324
|
getAccountMeta("mintCap", accounts.mintCap),
|
|
313
325
|
getAccountMeta("eventAuthority", accounts.eventAuthority),
|
|
314
326
|
getAccountMeta("program", accounts.program),
|
|
@@ -318,10 +330,10 @@ export function getCreateIntentSignedInstruction(input, config) {
|
|
|
318
330
|
});
|
|
319
331
|
}
|
|
320
332
|
export function parseCreateIntentSignedInstruction(instruction) {
|
|
321
|
-
if (instruction.accounts.length <
|
|
333
|
+
if (instruction.accounts.length < 22) {
|
|
322
334
|
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
323
335
|
actualAccountMetas: instruction.accounts.length,
|
|
324
|
-
expectedAccountMetas:
|
|
336
|
+
expectedAccountMetas: 22,
|
|
325
337
|
});
|
|
326
338
|
}
|
|
327
339
|
let accountIndex = 0;
|
|
@@ -357,6 +369,7 @@ export function parseCreateIntentSignedInstruction(instruction) {
|
|
|
357
369
|
relayerFeeTo: getNextOptionalAccount(),
|
|
358
370
|
systemProgram: getNextAccount(),
|
|
359
371
|
instructions: getNextAccount(),
|
|
372
|
+
committee: getNextOptionalAccount(),
|
|
360
373
|
mintCap: getNextOptionalAccount(),
|
|
361
374
|
eventAuthority: getNextAccount(),
|
|
362
375
|
program: getNextAccount(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIntentSigned.js","sourceRoot":"","sources":["../../../../generated/client/instructions/createIntentSigned.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,kCAAkC,GAC7C,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AAExD,MAAM,UAAU,uCAAuC;IACrD,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,kCAAkC,CACnC,CAAC;AACJ,CAAC;AAiHD,MAAM,UAAU,2CAA2C;IACzD,OAAO,gBAAgB,CACrB,gBAAgB,CAAC;QACf,CAAC,eAAe,EAAE,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC;QACvD,CAAC,MAAM,EAAE,0BAA0B,EAAE,CAAC;QACtC,CAAC,UAAU,EAAE,aAAa,EAAE,CAAC;QAC7B,CAAC,YAAY,EAAE,aAAa,EAAE,CAAC;KAChC,CAAC,EACF,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACV,GAAG,KAAK;Q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;YACR,KAAK,EAAE,cAAc,EAAE;YACvB,KAAK,EAAE,cAAc,EAAE;YACvB,MAAM,EAAE,cAAc,EAAE;YACxB,SAAS,EAAE,cAAc,EAAE;YAC3B,MAAM,EAAE,cAAc,EAAE;YACxB,SAAS,EAAE,cAAc,EAAE;YAC3B,UAAU,EAAE,cAAc,EAAE;YAC5B,UAAU,EAAE,cAAc,EAAE;YAC5B,QAAQ,EAAE,cAAc,EAAE;YAC1B,iBAAiB,EAAE,cAAc,EAAE;YACnC,KAAK,EAAE,cAAc,EAAE;YACvB,QAAQ,EAAE,cAAc,EAAE;YAC1B,iBAAiB,EAAE,cAAc,EAAE;YACnC,kBAAkB,EAAE,cAAc,EAAE;YACpC,QAAQ,EAAE,cAAc,EAAE;YAC1B,YAAY,EAAE,sBAAsB,EAAE;YACtC,aAAa,EAAE,cAAc,EAAE;YAC/B,YAAY,EAAE,cAAc,EAAE;YAC9B,OAAO,EAAE,sBAAsB,EAAE;YACjC,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,2CAA2C,EAAE,CAAC,MAAM,CACxD,WAAW,CAAC,IAAI,CACjB;KACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"createIntentSigned.js","sourceRoot":"","sources":["../../../../generated/client/instructions/createIntentSigned.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,OAA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