@intent-engine/core 0.1.23 → 0.1.27
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/claimBoard.d.ts +50 -0
- package/dist/generated/client/accounts/claimBoard.js +77 -0
- package/dist/generated/client/accounts/claimBoard.js.map +1 -0
- package/dist/generated/client/accounts/committee.d.ts +48 -0
- package/dist/generated/client/accounts/committee.js +75 -0
- package/dist/generated/client/accounts/committee.js.map +1 -0
- package/dist/generated/client/accounts/config.d.ts +2 -0
- package/dist/generated/client/accounts/config.js +4 -2
- package/dist/generated/client/accounts/config.js.map +1 -1
- package/dist/generated/client/accounts/index.d.ts +4 -0
- package/dist/generated/client/accounts/index.js +4 -0
- package/dist/generated/client/accounts/index.js.map +1 -1
- package/dist/generated/client/accounts/intent.d.ts +2 -0
- package/dist/generated/client/accounts/intent.js +4 -2
- package/dist/generated/client/accounts/intent.js.map +1 -1
- package/dist/generated/client/accounts/mintCap.d.ts +48 -0
- package/dist/generated/client/accounts/mintCap.js +75 -0
- package/dist/generated/client/accounts/mintCap.js.map +1 -0
- package/dist/generated/client/accounts/profile.d.ts +48 -0
- package/dist/generated/client/accounts/profile.js +81 -0
- package/dist/generated/client/accounts/profile.js.map +1 -0
- package/dist/generated/client/errors/intentEngine.d.ts +31 -1
- package/dist/generated/client/errors/intentEngine.js +45 -0
- package/dist/generated/client/errors/intentEngine.js.map +1 -1
- package/dist/generated/client/events/capsRequiredSet.d.ts +22 -0
- package/dist/generated/client/events/capsRequiredSet.js +32 -0
- package/dist/generated/client/events/capsRequiredSet.js.map +1 -0
- package/dist/generated/client/events/claimDropped.d.ts +28 -0
- package/dist/generated/client/events/claimDropped.js +40 -0
- package/dist/generated/client/events/claimDropped.js.map +1 -0
- package/dist/generated/client/events/claimsClosed.d.ts +23 -0
- package/dist/generated/client/events/claimsClosed.js +38 -0
- package/dist/generated/client/events/claimsClosed.js.map +1 -0
- package/dist/generated/client/events/claimsOpened.d.ts +30 -0
- package/dist/generated/client/events/claimsOpened.js +42 -0
- package/dist/generated/client/events/claimsOpened.js.map +1 -0
- package/dist/generated/client/events/committeeAttested.d.ts +24 -0
- package/dist/generated/client/events/committeeAttested.js +40 -0
- package/dist/generated/client/events/committeeAttested.js.map +1 -0
- package/dist/generated/client/events/committeeCreated.d.ts +25 -0
- package/dist/generated/client/events/committeeCreated.js +42 -0
- package/dist/generated/client/events/committeeCreated.js.map +1 -0
- package/dist/generated/client/events/index.d.ts +11 -0
- package/dist/generated/client/events/index.js +11 -0
- package/dist/generated/client/events/index.js.map +1 -1
- package/dist/generated/client/events/jobClaimed.d.ts +30 -0
- package/dist/generated/client/events/jobClaimed.js +42 -0
- package/dist/generated/client/events/jobClaimed.js.map +1 -0
- package/dist/generated/client/events/mintCapSet.d.ts +36 -0
- package/dist/generated/client/events/mintCapSet.js +48 -0
- package/dist/generated/client/events/mintCapSet.js.map +1 -0
- package/dist/generated/client/events/profileClosed.d.ts +22 -0
- package/dist/generated/client/events/profileClosed.js +32 -0
- package/dist/generated/client/events/profileClosed.js.map +1 -0
- package/dist/generated/client/events/profileSet.d.ts +26 -0
- package/dist/generated/client/events/profileSet.js +50 -0
- package/dist/generated/client/events/profileSet.js.map +1 -0
- package/dist/generated/client/events/stakeMoved.d.ts +32 -0
- package/dist/generated/client/events/stakeMoved.js +44 -0
- package/dist/generated/client/events/stakeMoved.js.map +1 -0
- package/dist/generated/client/instructions/claimJob.d.ts +72 -0
- package/dist/generated/client/instructions/claimJob.js +163 -0
- package/dist/generated/client/instructions/claimJob.js.map +1 -0
- package/dist/generated/client/instructions/closeProfile.d.ts +55 -0
- package/dist/generated/client/instructions/closeProfile.js +131 -0
- package/dist/generated/client/instructions/closeProfile.js.map +1 -0
- package/dist/generated/client/instructions/createCommittee.d.ts +76 -0
- package/dist/generated/client/instructions/createCommittee.js +163 -0
- package/dist/generated/client/instructions/createCommittee.js.map +1 -0
- package/dist/generated/client/instructions/createIntent.d.ts +13 -9
- package/dist/generated/client/instructions/createIntent.js +21 -2
- package/dist/generated/client/instructions/createIntent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentByAgent.d.ts +13 -9
- package/dist/generated/client/instructions/createIntentByAgent.js +21 -2
- package/dist/generated/client/instructions/createIntentByAgent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentSigned.d.ts +13 -9
- package/dist/generated/client/instructions/createIntentSigned.js +15 -2
- package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
- package/dist/generated/client/instructions/createProfile.d.ts +65 -0
- package/dist/generated/client/instructions/createProfile.js +162 -0
- package/dist/generated/client/instructions/createProfile.js.map +1 -0
- package/dist/generated/client/instructions/dropClaim.d.ts +59 -0
- package/dist/generated/client/instructions/dropClaim.js +128 -0
- package/dist/generated/client/instructions/dropClaim.js.map +1 -0
- package/dist/generated/client/instructions/fillAttested.d.ts +17 -9
- package/dist/generated/client/instructions/fillAttested.js +20 -2
- package/dist/generated/client/instructions/fillAttested.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +124 -0
- package/dist/generated/client/instructions/fillAttestedCommittee.js +271 -0
- package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -0
- package/dist/generated/client/instructions/fillAttestedSplit.d.ts +22 -17
- package/dist/generated/client/instructions/fillAttestedSplit.js +24 -7
- package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +157 -0
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +373 -0
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -0
- package/dist/generated/client/instructions/index.d.ts +12 -0
- package/dist/generated/client/instructions/index.js +12 -0
- package/dist/generated/client/instructions/index.js.map +1 -1
- package/dist/generated/client/instructions/openClaims.d.ts +72 -0
- package/dist/generated/client/instructions/openClaims.js +160 -0
- package/dist/generated/client/instructions/openClaims.js.map +1 -0
- package/dist/generated/client/instructions/setCapsRequired.d.ts +50 -0
- package/dist/generated/client/instructions/setCapsRequired.js +93 -0
- package/dist/generated/client/instructions/setCapsRequired.js.map +1 -0
- package/dist/generated/client/instructions/setMintCap.d.ts +84 -0
- package/dist/generated/client/instructions/setMintCap.js +188 -0
- package/dist/generated/client/instructions/setMintCap.js.map +1 -0
- package/dist/generated/client/instructions/settleClaims.d.ts +63 -0
- package/dist/generated/client/instructions/settleClaims.js +139 -0
- package/dist/generated/client/instructions/settleClaims.js.map +1 -0
- package/dist/generated/client/instructions/updateProfile.d.ts +61 -0
- package/dist/generated/client/instructions/updateProfile.js +140 -0
- package/dist/generated/client/instructions/updateProfile.js.map +1 -0
- package/dist/generated/client/pdas/board.d.ts +14 -0
- package/dist/generated/client/pdas/board.js +19 -0
- package/dist/generated/client/pdas/board.js.map +1 -0
- package/dist/generated/client/pdas/committee.d.ts +14 -0
- package/dist/generated/client/pdas/committee.js +19 -0
- package/dist/generated/client/pdas/committee.js.map +1 -0
- package/dist/generated/client/pdas/index.d.ts +4 -0
- package/dist/generated/client/pdas/index.js +4 -0
- package/dist/generated/client/pdas/index.js.map +1 -1
- package/dist/generated/client/pdas/mintCap.d.ts +14 -0
- package/dist/generated/client/pdas/mintCap.js +19 -0
- package/dist/generated/client/pdas/mintCap.js.map +1 -0
- package/dist/generated/client/pdas/profile.d.ts +14 -0
- package/dist/generated/client/pdas/profile.js +19 -0
- package/dist/generated/client/pdas/profile.js.map +1 -0
- package/dist/generated/client/programs/intentEngine.d.ts +190 -92
- package/dist/generated/client/programs/intentEngine.js +336 -91
- package/dist/generated/client/programs/intentEngine.js.map +1 -1
- package/dist/generated/client/types/index.d.ts +2 -0
- package/dist/generated/client/types/index.js +2 -0
- package/dist/generated/client/types/index.js.map +1 -1
- package/dist/generated/client/types/profileFields.d.ts +18 -0
- package/dist/generated/client/types/profileFields.js +34 -0
- package/dist/generated/client/types/profileFields.js.map +1 -0
- package/dist/generated/client/types/splitClaim.d.ts +16 -0
- package/dist/generated/client/types/splitClaim.js +24 -0
- package/dist/generated/client/types/splitClaim.js.map +1 -0
- package/dist/src/admin-builders.d.ts +49 -0
- package/dist/src/admin-builders.js +52 -0
- package/dist/src/admin-builders.js.map +1 -0
- package/dist/src/bounty.d.ts +3 -1
- package/dist/src/bounty.js +6 -2
- package/dist/src/bounty.js.map +1 -1
- package/dist/src/builder-accounts.d.ts +62 -0
- package/dist/src/builder-accounts.js +64 -0
- package/dist/src/builder-accounts.js.map +1 -0
- package/dist/src/builders.d.ts +5 -213
- package/dist/src/builders.js +5 -493
- package/dist/src/builders.js.map +1 -1
- package/dist/src/claims.d.ts +47 -0
- package/dist/src/claims.js +69 -0
- package/dist/src/claims.js.map +1 -0
- package/dist/src/committee.d.ts +40 -0
- package/dist/src/committee.js +145 -0
- package/dist/src/committee.js.map +1 -0
- package/dist/src/describe.d.ts +6 -1
- package/dist/src/describe.js +25 -3
- package/dist/src/describe.js.map +1 -1
- package/dist/src/errors.d.ts +2 -1
- package/dist/src/errors.js +44 -0
- package/dist/src/errors.js.map +1 -1
- package/dist/src/events.d.ts +12 -1
- package/dist/src/events.js +15 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/fee.d.ts +1 -0
- package/dist/src/fee.js +13 -5
- package/dist/src/fee.js.map +1 -1
- package/dist/src/fill-builders.d.ts +63 -0
- package/dist/src/fill-builders.js +151 -0
- package/dist/src/fill-builders.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent-builders.d.ts +65 -0
- package/dist/src/intent-builders.js +159 -0
- package/dist/src/intent-builders.js.map +1 -0
- package/dist/src/mandate.js +2 -2
- package/dist/src/mandate.js.map +1 -1
- package/dist/src/math.d.ts +1 -0
- package/dist/src/math.js +9 -0
- package/dist/src/math.js.map +1 -1
- package/dist/src/memo.d.ts +11 -1
- package/dist/src/memo.js +40 -4
- package/dist/src/memo.js.map +1 -1
- package/dist/src/mint-caps.d.ts +31 -0
- package/dist/src/mint-caps.js +73 -0
- package/dist/src/mint-caps.js.map +1 -0
- package/dist/src/owner-builders.d.ts +52 -0
- package/dist/src/owner-builders.js +83 -0
- package/dist/src/owner-builders.js.map +1 -0
- package/dist/src/sig.d.ts +1 -0
- package/dist/src/sig.js +4 -0
- package/dist/src/sig.js.map +1 -1
- package/dist/src/state.d.ts +3 -0
- package/dist/src/state.js +5 -0
- package/dist/src/state.js.map +1 -1
- package/dist/src/validate.d.ts +2 -0
- package/dist/src/validate.js +15 -0
- package/dist/src/validate.js.map +1 -1
- package/generated/idl.json +1990 -63
- package/package.json +19 -6
- package/dist/generated/client/types/configSettings.d.ts +0 -25
- package/dist/generated/client/types/configSettings.js +0 -30
- package/dist/generated/client/types/configSettings.js.map +0 -1
package/dist/src/builders.d.ts
CHANGED
|
@@ -1,213 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export declare function createExt(input: {
|
|
7
|
-
ext?: Uint8Array;
|
|
8
|
-
partner?: Partner;
|
|
9
|
-
}): Uint8Array;
|
|
10
|
-
export declare const UPGRADEABLE_LOADER_ADDRESS: Address<"BPFLoaderUpgradeab1e11111111111111111111111">;
|
|
11
|
-
export declare function findProgramDataAddress(program?: Address): Promise<Address>;
|
|
12
|
-
export declare function buildInitConfig(input: {
|
|
13
|
-
authority: TransactionSigner;
|
|
14
|
-
domain: Uint8Array;
|
|
15
|
-
guardian: Address;
|
|
16
|
-
feeRecipient: Address;
|
|
17
|
-
enabledKinds: bigint;
|
|
18
|
-
feeBps: number;
|
|
19
|
-
paused: number;
|
|
20
|
-
}): Promise<import("../generated/client/index.js").InitConfigInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
21
|
-
export declare function buildRaisePause(input: {
|
|
22
|
-
authority: TransactionSigner;
|
|
23
|
-
flags: number;
|
|
24
|
-
}): Promise<import("../generated/client/index.js").RaisePauseInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
25
|
-
export declare function buildLowerPause(input: {
|
|
26
|
-
admin: TransactionSigner;
|
|
27
|
-
flags: number;
|
|
28
|
-
}): Promise<import("../generated/client/index.js").LowerPauseInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
29
|
-
export type ConfigUpdateSpec = {
|
|
30
|
-
guardian: Address;
|
|
31
|
-
feeRecipient: Address;
|
|
32
|
-
enabledKinds: bigint;
|
|
33
|
-
feeBps: number;
|
|
34
|
-
fillDisabledKinds: bigint;
|
|
35
|
-
};
|
|
36
|
-
export declare function buildUpdateConfig(input: {
|
|
37
|
-
admin: TransactionSigner;
|
|
38
|
-
update: ConfigUpdateSpec;
|
|
39
|
-
}): Promise<import("../generated/client/index.js").UpdateConfigInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
40
|
-
export declare function buildProposeAdmin(input: {
|
|
41
|
-
admin: TransactionSigner;
|
|
42
|
-
pendingAdmin: Address;
|
|
43
|
-
}): Promise<import("../generated/client/index.js").ProposeAdminInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
44
|
-
export declare function buildAcceptAdmin(input: {
|
|
45
|
-
pendingAdmin: TransactionSigner;
|
|
46
|
-
}): Promise<import("../generated/client/index.js").AcceptAdminInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
47
|
-
export type EconomicsSpec = {
|
|
48
|
-
kindFeeMask: number;
|
|
49
|
-
kindFeeBps: readonly [number, number, number, number];
|
|
50
|
-
partnerCutBps: number;
|
|
51
|
-
crankBounty: number;
|
|
52
|
-
createFee: number;
|
|
53
|
-
};
|
|
54
|
-
export declare function buildUpdateEconomics(input: {
|
|
55
|
-
admin: TransactionSigner;
|
|
56
|
-
economics: EconomicsSpec;
|
|
57
|
-
}): Promise<import("../generated/client/index.js").UpdateEconomicsInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
58
|
-
export declare function buildInitUser(input: {
|
|
59
|
-
owner: TransactionSigner;
|
|
60
|
-
}): Promise<import("../generated/client/index.js").InitUserInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
61
|
-
export declare function buildAdvanceNonce(input: {
|
|
62
|
-
owner: TransactionSigner;
|
|
63
|
-
nonceBase: bigint;
|
|
64
|
-
}): Promise<import("../generated/client/index.js").AdvanceNonceInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
65
|
-
export declare const EPOCH_JUMP_BITS = 48n;
|
|
66
|
-
export declare const MAX_EPOCH_JUMP: bigint;
|
|
67
|
-
export declare const MAX_NONCE_JUMP: bigint;
|
|
68
|
-
export declare const NONCE_CEILING: bigint;
|
|
69
|
-
export declare function nextEpoch(current: bigint, entropy?: Uint8Array): bigint;
|
|
70
|
-
export declare function buildAdvanceEpoch(input: {
|
|
71
|
-
owner: TransactionSigner;
|
|
72
|
-
epoch: bigint;
|
|
73
|
-
}): Promise<import("../generated/client/index.js").AdvanceEpochInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
74
|
-
export type CreateIntentSpec = {
|
|
75
|
-
owner: TransactionSigner;
|
|
76
|
-
treasury: Address;
|
|
77
|
-
maxCreateFee: number;
|
|
78
|
-
maxBounty: number;
|
|
79
|
-
nonce: bigint;
|
|
80
|
-
params: IntentParams;
|
|
81
|
-
expiresAt: bigint;
|
|
82
|
-
flags?: number;
|
|
83
|
-
ext?: Uint8Array;
|
|
84
|
-
partner?: Partner;
|
|
85
|
-
inputMint: Address;
|
|
86
|
-
outputMint: Address;
|
|
87
|
-
inputTokenProgram: Address;
|
|
88
|
-
outputTokenProgram: Address;
|
|
89
|
-
ownerInput?: Address;
|
|
90
|
-
receiver?: Address;
|
|
91
|
-
receiverAuthority?: Address;
|
|
92
|
-
};
|
|
93
|
-
export declare function buildCreateIntent(input: CreateIntentSpec): Promise<import("../generated/client/index.js").CreateIntentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
94
|
-
type IntentRef = {
|
|
95
|
-
owner: Address;
|
|
96
|
-
nonce: bigint;
|
|
97
|
-
inputMint: Address;
|
|
98
|
-
tokenProgram: Address;
|
|
99
|
-
};
|
|
100
|
-
export declare function buildCancelIntent(input: Omit<IntentRef, "owner"> & {
|
|
101
|
-
owner: TransactionSigner;
|
|
102
|
-
refundTo?: Address;
|
|
103
|
-
ext?: Uint8Array;
|
|
104
|
-
}): Promise<import("../generated/client/index.js").CancelIntentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
105
|
-
export declare function buildExpireIntent(input: IntentRef & {
|
|
106
|
-
cranker: TransactionSigner;
|
|
107
|
-
refundTo?: Address;
|
|
108
|
-
ext?: Uint8Array;
|
|
109
|
-
}): Promise<import("../generated/client/index.js").ExpireIntentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
110
|
-
export declare function buildCloseIntent(input: IntentRef & {
|
|
111
|
-
cranker: TransactionSigner;
|
|
112
|
-
rentPayer?: Address;
|
|
113
|
-
refundTo?: Address;
|
|
114
|
-
ext?: Uint8Array;
|
|
115
|
-
}): Promise<import("../generated/client/index.js").CloseIntentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
116
|
-
export type FillIntentSpec = {
|
|
117
|
-
solver: TransactionSigner;
|
|
118
|
-
owner: Address;
|
|
119
|
-
nonce: bigint;
|
|
120
|
-
inputMint: Address;
|
|
121
|
-
outputMint: Address;
|
|
122
|
-
inputTokenProgram: Address;
|
|
123
|
-
outputTokenProgram: Address;
|
|
124
|
-
receiver: Address;
|
|
125
|
-
solverOutput: Address;
|
|
126
|
-
solverInput: Address;
|
|
127
|
-
feeRecipient?: Address;
|
|
128
|
-
partner?: Address;
|
|
129
|
-
mandate?: Address;
|
|
130
|
-
agent?: Address;
|
|
131
|
-
amountIn: bigint;
|
|
132
|
-
amountOut: bigint;
|
|
133
|
-
maxFeeBps: number;
|
|
134
|
-
ext?: Uint8Array;
|
|
135
|
-
};
|
|
136
|
-
export declare function buildFillIntent(input: FillIntentSpec): Promise<import("../generated/client/index.js").FillIntentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
137
|
-
export type CreateIntentSignedSpec = Omit<CreateIntentSpec, "owner"> & {
|
|
138
|
-
payer: TransactionSigner;
|
|
139
|
-
owner: Address;
|
|
140
|
-
submitBy: bigint;
|
|
141
|
-
relayerFee?: bigint;
|
|
142
|
-
relayerFeeAccount?: Address;
|
|
143
|
-
};
|
|
144
|
-
export declare function buildCreateIntentSigned(input: CreateIntentSignedSpec): Promise<import("../generated/client/index.js").CreateIntentSignedInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "Sysvar1nstructions1111111111111111111111111", string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
145
|
-
export declare function buildApproveDelegate(input: {
|
|
146
|
-
owner: TransactionSigner;
|
|
147
|
-
mint: Address;
|
|
148
|
-
tokenProgram: Address;
|
|
149
|
-
amount: bigint;
|
|
150
|
-
decimals: number;
|
|
151
|
-
source?: Address;
|
|
152
|
-
}): Promise<import("@solana-program/token").ApproveCheckedInstruction<Address, string, string, string, string, []>>;
|
|
153
|
-
export declare function buildApproveForIntent(input: {
|
|
154
|
-
owner: TransactionSigner;
|
|
155
|
-
mint: Address;
|
|
156
|
-
tokenProgram: Address;
|
|
157
|
-
decimals: number;
|
|
158
|
-
params: IntentParams;
|
|
159
|
-
source?: Address;
|
|
160
|
-
}): Promise<import("@solana-program/token").ApproveCheckedInstruction<Address, string, string, string, string, []>>;
|
|
161
|
-
export type FillAttestedSpec = {
|
|
162
|
-
solver: TransactionSigner;
|
|
163
|
-
owner: Address;
|
|
164
|
-
nonce: bigint;
|
|
165
|
-
inputMint: Address;
|
|
166
|
-
inputTokenProgram: Address;
|
|
167
|
-
payee: Address;
|
|
168
|
-
feeRecipient?: Address;
|
|
169
|
-
partner?: Address;
|
|
170
|
-
judge?: Address;
|
|
171
|
-
amountIn: bigint;
|
|
172
|
-
result: bigint;
|
|
173
|
-
maxFeeBps: number;
|
|
174
|
-
ext?: Uint8Array;
|
|
175
|
-
};
|
|
176
|
-
export declare function buildFillAttested(input: FillAttestedSpec): Promise<import("../generated/client/index.js").FillAttestedInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, "Sysvar1nstructions1111111111111111111111111", string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
177
|
-
export declare const MAX_SPLIT_RECIPIENTS = 8;
|
|
178
|
-
export type FillAttestedSplitSpec = Omit<FillAttestedSpec, "payee"> & {
|
|
179
|
-
recipients: Address[];
|
|
180
|
-
weights: number[];
|
|
181
|
-
};
|
|
182
|
-
export declare function buildFillAttestedSplit(input: FillAttestedSplitSpec): Promise<import("../generated/client/index.js").FillAttestedSplitInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "Sysvar1nstructions1111111111111111111111111", string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
183
|
-
export type FlashFillSpec = Omit<FillIntentSpec, "ext"> & {
|
|
184
|
-
beginExt?: Uint8Array;
|
|
185
|
-
endExt?: Uint8Array;
|
|
186
|
-
baseIndex?: number;
|
|
187
|
-
prefix?: Instruction[];
|
|
188
|
-
route?: Instruction[];
|
|
189
|
-
};
|
|
190
|
-
export declare function buildFlashFill(input: FlashFillSpec): Promise<Instruction[]>;
|
|
191
|
-
export declare function buildCreateMandate(input: {
|
|
192
|
-
owner: TransactionSigner;
|
|
193
|
-
inputMint: Address;
|
|
194
|
-
outputMint: Address;
|
|
195
|
-
inputTokenProgram: Address;
|
|
196
|
-
outputTokenProgram: Address;
|
|
197
|
-
mandate: MandateSpec;
|
|
198
|
-
ownerInput?: Address;
|
|
199
|
-
receiver?: Address;
|
|
200
|
-
}): Promise<import("../generated/client/index.js").CreateMandateInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
201
|
-
export declare function buildRevokeMandate(input: {
|
|
202
|
-
owner: TransactionSigner;
|
|
203
|
-
agent: Address;
|
|
204
|
-
id: bigint;
|
|
205
|
-
}): Promise<import("../generated/client/index.js").RevokeMandateInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
206
|
-
export type CreateIntentByAgentSpec = Omit<CreateIntentSpec, "owner" | "treasury" | "receiverAuthority"> & {
|
|
207
|
-
agent: TransactionSigner;
|
|
208
|
-
owner: Address;
|
|
209
|
-
mandateId: bigint;
|
|
210
|
-
treasury: Address;
|
|
211
|
-
};
|
|
212
|
-
export declare function buildCreateIntentByAgent(input: CreateIntentByAgentSpec): Promise<import("../generated/client/index.js").CreateIntentByAgentInstruction<Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", []>>;
|
|
213
|
-
export {};
|
|
1
|
+
export { createExt, INSTRUCTIONS_SYSVAR_ADDRESS } from "./builder-accounts.js";
|
|
2
|
+
export { buildAcceptAdmin, buildInitConfig, buildLowerPause, buildProposeAdmin, buildRaisePause, buildUpdateConfig, buildUpdateEconomics, type ConfigUpdateSpec, type EconomicsSpec, findProgramDataAddress, UPGRADEABLE_LOADER_ADDRESS, } from "./admin-builders.js";
|
|
3
|
+
export { buildAdvanceEpoch, buildAdvanceNonce, buildApproveDelegate, buildApproveForIntent, buildCreateMandate, buildInitUser, buildRevokeMandate, EPOCH_JUMP_BITS, MAX_EPOCH_JUMP, MAX_NONCE_JUMP, nextEpoch, NONCE_CEILING, } from "./owner-builders.js";
|
|
4
|
+
export { buildCancelIntent, buildCloseIntent, buildCreateIntent, buildCreateIntentByAgent, buildCreateIntentSigned, buildExpireIntent, type CreateIntentByAgentSpec, type CreateIntentSignedSpec, type CreateIntentSpec, } from "./intent-builders.js";
|
|
5
|
+
export { buildFillAttested, buildFillAttestedCommittee, buildFillAttestedSplit, buildFillAttestedSplitCommittee, buildFillIntent, buildFlashFill, type CommitteeRelease, type FillAttestedCommitteeSpec, type FillAttestedSpec, type FillAttestedSplitCommitteeSpec, type FillAttestedSplitSpec, type FillIntentSpec, type FlashFillSpec, } from "./fill-builders.js";
|