@intent-engine/core 0.1.50 → 0.1.51
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 +2 -0
- package/dist/generated/client/accounts/claimBoard.js +4 -2
- package/dist/generated/client/accounts/claimBoard.js.map +1 -1
- package/dist/generated/client/accounts/claimList.d.ts +44 -0
- package/dist/generated/client/accounts/claimList.js +71 -0
- package/dist/generated/client/accounts/claimList.js.map +1 -0
- package/dist/generated/client/accounts/index.d.ts +1 -0
- package/dist/generated/client/accounts/index.js +1 -0
- package/dist/generated/client/accounts/index.js.map +1 -1
- package/dist/generated/client/errors/intentEngine.d.ts +11 -1
- package/dist/generated/client/errors/intentEngine.js +15 -0
- package/dist/generated/client/errors/intentEngine.js.map +1 -1
- package/dist/generated/client/events/claimantsListed.d.ts +26 -0
- package/dist/generated/client/events/claimantsListed.js +44 -0
- package/dist/generated/client/events/claimantsListed.js.map +1 -0
- package/dist/generated/client/events/index.d.ts +1 -0
- package/dist/generated/client/events/index.js +1 -0
- package/dist/generated/client/events/index.js.map +1 -1
- package/dist/generated/client/instructions/claimJob.d.ts +13 -9
- package/dist/generated/client/instructions/claimJob.js +21 -2
- package/dist/generated/client/instructions/claimJob.js.map +1 -1
- package/dist/generated/client/instructions/extendClaimants.d.ts +64 -0
- package/dist/generated/client/instructions/extendClaimants.js +142 -0
- package/dist/generated/client/instructions/extendClaimants.js.map +1 -0
- 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/listClaimants.d.ts +76 -0
- package/dist/generated/client/instructions/listClaimants.js +178 -0
- package/dist/generated/client/instructions/listClaimants.js.map +1 -0
- package/dist/generated/client/instructions/openClaimsListed.d.ts +84 -0
- package/dist/generated/client/instructions/openClaimsListed.js +180 -0
- package/dist/generated/client/instructions/openClaimsListed.js.map +1 -0
- package/dist/generated/client/instructions/settleClaims.d.ts +13 -9
- package/dist/generated/client/instructions/settleClaims.js +15 -2
- package/dist/generated/client/instructions/settleClaims.js.map +1 -1
- package/dist/generated/client/instructions/standBy.d.ts +13 -9
- package/dist/generated/client/instructions/standBy.js +21 -2
- package/dist/generated/client/instructions/standBy.js.map +1 -1
- package/dist/generated/client/pdas/claimList.d.ts +14 -0
- package/dist/generated/client/pdas/claimList.js +19 -0
- package/dist/generated/client/pdas/claimList.js.map +1 -0
- package/dist/generated/client/pdas/index.d.ts +1 -0
- package/dist/generated/client/pdas/index.js +1 -0
- package/dist/generated/client/pdas/index.js.map +1 -1
- package/dist/generated/client/programs/intentEngine.d.ts +154 -133
- package/dist/generated/client/programs/intentEngine.js +184 -133
- package/dist/generated/client/programs/intentEngine.js.map +1 -1
- package/dist/src/claim-list.d.ts +37 -0
- package/dist/src/claim-list.js +59 -0
- package/dist/src/claim-list.js.map +1 -0
- package/dist/src/claims.d.ts +6 -3
- package/dist/src/claims.js +5 -2
- package/dist/src/claims.js.map +1 -1
- package/dist/src/errors.d.ts +1 -1
- package/dist/src/errors.js +3 -0
- package/dist/src/errors.js.map +1 -1
- package/dist/src/events.d.ts +2 -1
- package/dist/src/events.js +2 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/versions.d.ts +1 -0
- package/dist/src/versions.js +3 -1
- package/dist/src/versions.js.map +1 -1
- package/generated/idl.json +489 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standBy.js","sourceRoot":"","sources":["../../../../generated/client/instructions/standBy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,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,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,MAAM,sBAAsB,GAAuB,IAAI,UAAU,CAAC;IACvE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B;IAC1C,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAC7E,CAAC;
|
|
1
|
+
{"version":3,"file":"standBy.js","sourceRoot":"","sources":["../../../../generated/client/instructions/standBy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,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,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,MAAM,sBAAsB,GAAuB,IAAI,UAAU,CAAC;IACvE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B;IAC1C,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM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C;QAC3E,YAAY,IAAI,CAAC,CAAC;QAClB,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IACF,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAClC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;QACrC,OAAO,WAAW,CAAC,OAAO,KAAK,6BAA6B;YAC1D,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,WAAW,CAAC;IAClB,CAAC,CAAC;IACF,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,MAAM,EAAE,cAAc,EAAE;YACxB,MAAM,EAAE,cAAc,EAAE;YACxB,KAAK,EAAE,cAAc,EAAE;YACvB,KAAK,EAAE,cAAc,EAAE;YACvB,aAAa,EAAE,cAAc,EAAE;YAC/B,MAAM,EAAE,cAAc,EAAE;YACxB,SAAS,EAAE,sBAAsB,EAAE;YACnC,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,gCAAgC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KAClE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type Address, type ProgramDerivedAddress } from "@solana/kit";
|
|
9
|
+
export type ClaimListSeeds = {
|
|
10
|
+
intent: Address;
|
|
11
|
+
};
|
|
12
|
+
export declare function findClaimListPda(seeds: ClaimListSeeds, config?: {
|
|
13
|
+
programAddress?: Address | undefined;
|
|
14
|
+
}): Promise<ProgramDerivedAddress>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { getAddressEncoder, getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
|
|
9
|
+
export async function findClaimListPda(seeds, config = {}) {
|
|
10
|
+
const { programAddress = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", } = config;
|
|
11
|
+
return await getProgramDerivedAddress({
|
|
12
|
+
programAddress,
|
|
13
|
+
seeds: [
|
|
14
|
+
getBytesEncoder().encode(new Uint8Array([99, 108, 97, 105, 109, 95, 108, 105, 115, 116])),
|
|
15
|
+
getAddressEncoder().encode(seeds.intent),
|
|
16
|
+
],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=claimList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claimList.js","sourceRoot":"","sources":["../../../../generated/client/pdas/claimList.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,KAAqB,EACrB,MAAM,GAA6C,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAChE;YACD,iBAAiB,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;SACzC;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
@@ -7,29 +7,31 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type ClientWithPayer, type ClientWithRpc, type ClientWithTransactionPlanning, type ClientWithTransactionSending, type ExtendedClient, type GetAccountInfoApi, type GetMultipleAccountsApi, type Instruction, type InstructionWithData, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
9
|
import { type SelfFetchFunctions, type SelfPlanAndSendFunctions } from "@solana/kit/program-client-core";
|
|
10
|
-
import { getClaimBoardCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getStandbyCodec, getUserStateCodec, type ClaimBoard, type ClaimBoardArgs, type Committee, type CommitteeArgs, type Config, type ConfigArgs, type Intent, type IntentArgs, type Mandate, type MandateArgs, type MintCap, type MintCapArgs, type Profile, type ProfileArgs, type Standby, type StandbyArgs, type UserState, type UserStateArgs } from "../accounts/index.js";
|
|
11
|
-
import { getAcceptAdminInstruction, getAdvanceEpochInstructionAsync, getAdvanceInstructionAsync, getAdvanceNonceInstructionAsync, getBeginFillInstructionAsync, getCancelIntentInstructionAsync, getClaimJobInstructionAsync, getCloseIntentInstructionAsync, getCloseLegacyInstruction, getCloseProfileInstructionAsync, getCreateCommitteeInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getCreateProfileInstructionAsync, getDropClaimInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLeaveInstructionAsync, getLowerPauseInstruction, getMigrateInstruction, getOpenClaimsInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetCommitteeFloorInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getStandByInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, type AcceptAdminInput, type AdvanceAsyncInput, type AdvanceEpochAsyncInput, type AdvanceNonceAsyncInput, type BeginFillAsyncInput, type CancelIntentAsyncInput, type ClaimJobAsyncInput, type CloseIntentAsyncInput, type CloseLegacyInput, type CloseProfileAsyncInput, type CreateCommitteeAsyncInput, type CreateIntentAsyncInput, type CreateIntentByAgentAsyncInput, type CreateIntentSignedAsyncInput, type CreateMandateAsyncInput, type CreateProfileAsyncInput, type DropClaimAsyncInput, type EndFillInput, type ExpireIntentAsyncInput, type FillAttestedAsyncInput, type FillAttestedCommitteeAsyncInput, type FillAttestedSplitAsyncInput, type FillAttestedSplitCommitteeAsyncInput, type FillIntentAsyncInput, type InitConfigAsyncInput, type InitUserAsyncInput, type LeaveAsyncInput, type LowerPauseInput, type MigrateInput, type OpenClaimsAsyncInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceInstruction, type ParsedAdvanceNonceInstruction, type ParsedBeginFillInstruction, type ParsedCancelIntentInstruction, type ParsedClaimJobInstruction, type ParsedCloseIntentInstruction, type ParsedCloseLegacyInstruction, type ParsedCloseProfileInstruction, type ParsedCreateCommitteeInstruction, type ParsedCreateIntentByAgentInstruction, type ParsedCreateIntentInstruction, type ParsedCreateIntentSignedInstruction, type ParsedCreateMandateInstruction, type ParsedCreateProfileInstruction, type ParsedDropClaimInstruction, type ParsedEndFillInstruction, type ParsedExpireIntentInstruction, type ParsedFillAttestedCommitteeInstruction, type ParsedFillAttestedInstruction, type ParsedFillAttestedSplitCommitteeInstruction, type ParsedFillAttestedSplitInstruction, type ParsedFillIntentInstruction, type ParsedInitConfigInstruction, type ParsedInitUserInstruction, type ParsedLeaveInstruction, type ParsedLowerPauseInstruction, type ParsedMigrateInstruction, type ParsedOpenClaimsInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedSetCapsRequiredInstruction, type ParsedSetCommitteeFloorInstruction, type ParsedSetMintCapInstruction, type ParsedSettleClaimsInstruction, type ParsedStandByInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ParsedUpdateProfileInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type SetCapsRequiredInput, type SetCommitteeFloorInput, type SetMintCapAsyncInput, type SettleClaimsAsyncInput, type StandByAsyncInput, type UpdateConfigInput, type UpdateEconomicsInput, type UpdateProfileAsyncInput } from "../instructions/index.js";
|
|
12
|
-
import { findBoardPda, findCommitteePda, findConfigPda, findDelegatePda, findEntryPda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda } from "../pdas/index.js";
|
|
10
|
+
import { getClaimBoardCodec, getClaimListCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getStandbyCodec, getUserStateCodec, type ClaimBoard, type ClaimBoardArgs, type ClaimList, type ClaimListArgs, type Committee, type CommitteeArgs, type Config, type ConfigArgs, type Intent, type IntentArgs, type Mandate, type MandateArgs, type MintCap, type MintCapArgs, type Profile, type ProfileArgs, type Standby, type StandbyArgs, type UserState, type UserStateArgs } from "../accounts/index.js";
|
|
11
|
+
import { getAcceptAdminInstruction, getAdvanceEpochInstructionAsync, getAdvanceInstructionAsync, getAdvanceNonceInstructionAsync, getBeginFillInstructionAsync, getCancelIntentInstructionAsync, getClaimJobInstructionAsync, getCloseIntentInstructionAsync, getCloseLegacyInstruction, getCloseProfileInstructionAsync, getCreateCommitteeInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getCreateProfileInstructionAsync, getDropClaimInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getExtendClaimantsInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLeaveInstructionAsync, getListClaimantsInstructionAsync, getLowerPauseInstruction, getMigrateInstruction, getOpenClaimsInstructionAsync, getOpenClaimsListedInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetCommitteeFloorInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getStandByInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, type AcceptAdminInput, type AdvanceAsyncInput, type AdvanceEpochAsyncInput, type AdvanceNonceAsyncInput, type BeginFillAsyncInput, type CancelIntentAsyncInput, type ClaimJobAsyncInput, type CloseIntentAsyncInput, type CloseLegacyInput, type CloseProfileAsyncInput, type CreateCommitteeAsyncInput, type CreateIntentAsyncInput, type CreateIntentByAgentAsyncInput, type CreateIntentSignedAsyncInput, type CreateMandateAsyncInput, type CreateProfileAsyncInput, type DropClaimAsyncInput, type EndFillInput, type ExpireIntentAsyncInput, type ExtendClaimantsAsyncInput, type FillAttestedAsyncInput, type FillAttestedCommitteeAsyncInput, type FillAttestedSplitAsyncInput, type FillAttestedSplitCommitteeAsyncInput, type FillIntentAsyncInput, type InitConfigAsyncInput, type InitUserAsyncInput, type LeaveAsyncInput, type ListClaimantsAsyncInput, type LowerPauseInput, type MigrateInput, type OpenClaimsAsyncInput, type OpenClaimsListedAsyncInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceInstruction, type ParsedAdvanceNonceInstruction, type ParsedBeginFillInstruction, type ParsedCancelIntentInstruction, type ParsedClaimJobInstruction, type ParsedCloseIntentInstruction, type ParsedCloseLegacyInstruction, type ParsedCloseProfileInstruction, type ParsedCreateCommitteeInstruction, type ParsedCreateIntentByAgentInstruction, type ParsedCreateIntentInstruction, type ParsedCreateIntentSignedInstruction, type ParsedCreateMandateInstruction, type ParsedCreateProfileInstruction, type ParsedDropClaimInstruction, type ParsedEndFillInstruction, type ParsedExpireIntentInstruction, type ParsedExtendClaimantsInstruction, type ParsedFillAttestedCommitteeInstruction, type ParsedFillAttestedInstruction, type ParsedFillAttestedSplitCommitteeInstruction, type ParsedFillAttestedSplitInstruction, type ParsedFillIntentInstruction, type ParsedInitConfigInstruction, type ParsedInitUserInstruction, type ParsedLeaveInstruction, type ParsedListClaimantsInstruction, type ParsedLowerPauseInstruction, type ParsedMigrateInstruction, type ParsedOpenClaimsInstruction, type ParsedOpenClaimsListedInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedSetCapsRequiredInstruction, type ParsedSetCommitteeFloorInstruction, type ParsedSetMintCapInstruction, type ParsedSettleClaimsInstruction, type ParsedStandByInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ParsedUpdateProfileInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type SetCapsRequiredInput, type SetCommitteeFloorInput, type SetMintCapAsyncInput, type SettleClaimsAsyncInput, type StandByAsyncInput, type UpdateConfigInput, type UpdateEconomicsInput, type UpdateProfileAsyncInput } from "../instructions/index.js";
|
|
12
|
+
import { findBoardPda, findClaimListPda, findCommitteePda, findConfigPda, findDelegatePda, findEntryPda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda } from "../pdas/index.js";
|
|
13
13
|
export declare const INTENT_ENGINE_PROGRAM_ADDRESS: Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">;
|
|
14
14
|
export declare const IntentEngineAccount: {
|
|
15
15
|
readonly 0: "ClaimBoard";
|
|
16
|
-
readonly 1: "
|
|
17
|
-
readonly 2: "
|
|
18
|
-
readonly 3: "
|
|
19
|
-
readonly 4: "
|
|
20
|
-
readonly 5: "
|
|
21
|
-
readonly 6: "
|
|
22
|
-
readonly 7: "
|
|
23
|
-
readonly 8: "
|
|
16
|
+
readonly 1: "ClaimList";
|
|
17
|
+
readonly 2: "Committee";
|
|
18
|
+
readonly 3: "Config";
|
|
19
|
+
readonly 4: "Intent";
|
|
20
|
+
readonly 5: "Mandate";
|
|
21
|
+
readonly 6: "MintCap";
|
|
22
|
+
readonly 7: "Profile";
|
|
23
|
+
readonly 8: "Standby";
|
|
24
|
+
readonly 9: "UserState";
|
|
24
25
|
readonly ClaimBoard: 0;
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
26
|
+
readonly ClaimList: 1;
|
|
27
|
+
readonly Committee: 2;
|
|
28
|
+
readonly Config: 3;
|
|
29
|
+
readonly Intent: 4;
|
|
30
|
+
readonly Mandate: 5;
|
|
31
|
+
readonly MintCap: 6;
|
|
32
|
+
readonly Profile: 7;
|
|
33
|
+
readonly Standby: 8;
|
|
34
|
+
readonly UserState: 9;
|
|
33
35
|
};
|
|
34
36
|
export type IntentEngineAccount = (typeof IntentEngineAccount)[Exclude<keyof typeof IntentEngineAccount, number>];
|
|
35
37
|
export declare function identifyIntentEngineAccount(account: {
|
|
@@ -42,82 +44,84 @@ export declare const IntentEngineEvent: {
|
|
|
42
44
|
readonly 3: "AgentPaid";
|
|
43
45
|
readonly 4: "CapsRequiredSet";
|
|
44
46
|
readonly 5: "ClaimDropped";
|
|
45
|
-
readonly 6: "
|
|
46
|
-
readonly 7: "
|
|
47
|
-
readonly 8: "
|
|
48
|
-
readonly 9: "
|
|
49
|
-
readonly 10: "
|
|
50
|
-
readonly 11: "
|
|
51
|
-
readonly 12: "
|
|
52
|
-
readonly 13: "
|
|
53
|
-
readonly 14: "
|
|
54
|
-
readonly 15: "
|
|
55
|
-
readonly 16: "
|
|
56
|
-
readonly 17: "
|
|
57
|
-
readonly 18: "
|
|
58
|
-
readonly 19: "
|
|
59
|
-
readonly 20: "
|
|
60
|
-
readonly 21: "
|
|
61
|
-
readonly 22: "
|
|
62
|
-
readonly 23: "
|
|
63
|
-
readonly 24: "
|
|
64
|
-
readonly 25: "
|
|
65
|
-
readonly 26: "
|
|
66
|
-
readonly 27: "
|
|
67
|
-
readonly 28: "
|
|
68
|
-
readonly 29: "
|
|
69
|
-
readonly 30: "
|
|
70
|
-
readonly 31: "
|
|
71
|
-
readonly 32: "
|
|
72
|
-
readonly 33: "
|
|
73
|
-
readonly 34: "
|
|
74
|
-
readonly 35: "
|
|
75
|
-
readonly 36: "
|
|
76
|
-
readonly 37: "
|
|
77
|
-
readonly 38: "
|
|
78
|
-
readonly 39: "
|
|
79
|
-
readonly 40: "
|
|
47
|
+
readonly 6: "ClaimantsListed";
|
|
48
|
+
readonly 7: "ClaimsClosed";
|
|
49
|
+
readonly 8: "ClaimsOpened";
|
|
50
|
+
readonly 9: "CommitteeAttested";
|
|
51
|
+
readonly 10: "CommitteeCreated";
|
|
52
|
+
readonly 11: "CommitteeFloorSet";
|
|
53
|
+
readonly 12: "ConfigInitialized";
|
|
54
|
+
readonly 13: "ConfigUpdated";
|
|
55
|
+
readonly 14: "EconomicsUpdated";
|
|
56
|
+
readonly 15: "EpochAdvanced";
|
|
57
|
+
readonly 16: "FeeWithheld";
|
|
58
|
+
readonly 17: "FillBegun";
|
|
59
|
+
readonly 18: "FillEnded";
|
|
60
|
+
readonly 19: "IntentAttested";
|
|
61
|
+
readonly 20: "IntentCancelled";
|
|
62
|
+
readonly 21: "IntentClosed";
|
|
63
|
+
readonly 22: "IntentCreated";
|
|
64
|
+
readonly 23: "IntentExpired";
|
|
65
|
+
readonly 24: "IntentFilled";
|
|
66
|
+
readonly 25: "IntentSplit";
|
|
67
|
+
readonly 26: "JobClaimed";
|
|
68
|
+
readonly 27: "LegacyClosed";
|
|
69
|
+
readonly 28: "LineLeft";
|
|
70
|
+
readonly 29: "MandateClosed";
|
|
71
|
+
readonly 30: "MandateCreated";
|
|
72
|
+
readonly 31: "MandateUsed";
|
|
73
|
+
readonly 32: "MintCapSet";
|
|
74
|
+
readonly 33: "NonceAdvanced";
|
|
75
|
+
readonly 34: "PauseLowered";
|
|
76
|
+
readonly 35: "PauseRaised";
|
|
77
|
+
readonly 36: "ProfileClosed";
|
|
78
|
+
readonly 37: "ProfileSet";
|
|
79
|
+
readonly 38: "RelayerPaid";
|
|
80
|
+
readonly 39: "StakeMoved";
|
|
81
|
+
readonly 40: "StoodBy";
|
|
82
|
+
readonly 41: "UserInitialized";
|
|
80
83
|
readonly AccountMigrated: 0;
|
|
81
84
|
readonly AdminAccepted: 1;
|
|
82
85
|
readonly AdminProposed: 2;
|
|
83
86
|
readonly AgentPaid: 3;
|
|
84
87
|
readonly CapsRequiredSet: 4;
|
|
85
88
|
readonly ClaimDropped: 5;
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
89
|
+
readonly ClaimantsListed: 6;
|
|
90
|
+
readonly ClaimsClosed: 7;
|
|
91
|
+
readonly ClaimsOpened: 8;
|
|
92
|
+
readonly CommitteeAttested: 9;
|
|
93
|
+
readonly CommitteeCreated: 10;
|
|
94
|
+
readonly CommitteeFloorSet: 11;
|
|
95
|
+
readonly ConfigInitialized: 12;
|
|
96
|
+
readonly ConfigUpdated: 13;
|
|
97
|
+
readonly EconomicsUpdated: 14;
|
|
98
|
+
readonly EpochAdvanced: 15;
|
|
99
|
+
readonly FeeWithheld: 16;
|
|
100
|
+
readonly FillBegun: 17;
|
|
101
|
+
readonly FillEnded: 18;
|
|
102
|
+
readonly IntentAttested: 19;
|
|
103
|
+
readonly IntentCancelled: 20;
|
|
104
|
+
readonly IntentClosed: 21;
|
|
105
|
+
readonly IntentCreated: 22;
|
|
106
|
+
readonly IntentExpired: 23;
|
|
107
|
+
readonly IntentFilled: 24;
|
|
108
|
+
readonly IntentSplit: 25;
|
|
109
|
+
readonly JobClaimed: 26;
|
|
110
|
+
readonly LegacyClosed: 27;
|
|
111
|
+
readonly LineLeft: 28;
|
|
112
|
+
readonly MandateClosed: 29;
|
|
113
|
+
readonly MandateCreated: 30;
|
|
114
|
+
readonly MandateUsed: 31;
|
|
115
|
+
readonly MintCapSet: 32;
|
|
116
|
+
readonly NonceAdvanced: 33;
|
|
117
|
+
readonly PauseLowered: 34;
|
|
118
|
+
readonly PauseRaised: 35;
|
|
119
|
+
readonly ProfileClosed: 36;
|
|
120
|
+
readonly ProfileSet: 37;
|
|
121
|
+
readonly RelayerPaid: 38;
|
|
122
|
+
readonly StakeMoved: 39;
|
|
123
|
+
readonly StoodBy: 40;
|
|
124
|
+
readonly UserInitialized: 41;
|
|
121
125
|
};
|
|
122
126
|
export type IntentEngineEvent = (typeof IntentEngineEvent)[Exclude<keyof typeof IntentEngineEvent, number>];
|
|
123
127
|
export declare function identifyIntentEngineEvent(event: {
|
|
@@ -143,28 +147,31 @@ export declare const IntentEngineInstruction: {
|
|
|
143
147
|
readonly 16: "DropClaim";
|
|
144
148
|
readonly 17: "EndFill";
|
|
145
149
|
readonly 18: "ExpireIntent";
|
|
146
|
-
readonly 19: "
|
|
147
|
-
readonly 20: "
|
|
148
|
-
readonly 21: "
|
|
149
|
-
readonly 22: "
|
|
150
|
-
readonly 23: "
|
|
151
|
-
readonly 24: "
|
|
152
|
-
readonly 25: "
|
|
153
|
-
readonly 26: "
|
|
154
|
-
readonly 27: "
|
|
155
|
-
readonly 28: "
|
|
156
|
-
readonly 29: "
|
|
157
|
-
readonly 30: "
|
|
158
|
-
readonly 31: "
|
|
159
|
-
readonly 32: "
|
|
160
|
-
readonly 33: "
|
|
161
|
-
readonly 34: "
|
|
162
|
-
readonly 35: "
|
|
163
|
-
readonly 36: "
|
|
164
|
-
readonly 37: "
|
|
165
|
-
readonly 38: "
|
|
166
|
-
readonly 39: "
|
|
167
|
-
readonly 40: "
|
|
150
|
+
readonly 19: "ExtendClaimants";
|
|
151
|
+
readonly 20: "FillAttested";
|
|
152
|
+
readonly 21: "FillAttestedCommittee";
|
|
153
|
+
readonly 22: "FillAttestedSplit";
|
|
154
|
+
readonly 23: "FillAttestedSplitCommittee";
|
|
155
|
+
readonly 24: "FillIntent";
|
|
156
|
+
readonly 25: "InitConfig";
|
|
157
|
+
readonly 26: "InitUser";
|
|
158
|
+
readonly 27: "Leave";
|
|
159
|
+
readonly 28: "ListClaimants";
|
|
160
|
+
readonly 29: "LowerPause";
|
|
161
|
+
readonly 30: "Migrate";
|
|
162
|
+
readonly 31: "OpenClaims";
|
|
163
|
+
readonly 32: "OpenClaimsListed";
|
|
164
|
+
readonly 33: "ProposeAdmin";
|
|
165
|
+
readonly 34: "RaisePause";
|
|
166
|
+
readonly 35: "RevokeMandate";
|
|
167
|
+
readonly 36: "SetCapsRequired";
|
|
168
|
+
readonly 37: "SetCommitteeFloor";
|
|
169
|
+
readonly 38: "SetMintCap";
|
|
170
|
+
readonly 39: "SettleClaims";
|
|
171
|
+
readonly 40: "StandBy";
|
|
172
|
+
readonly 41: "UpdateConfig";
|
|
173
|
+
readonly 42: "UpdateEconomics";
|
|
174
|
+
readonly 43: "UpdateProfile";
|
|
168
175
|
readonly AcceptAdmin: 0;
|
|
169
176
|
readonly Advance: 1;
|
|
170
177
|
readonly AdvanceEpoch: 2;
|
|
@@ -184,28 +191,31 @@ export declare const IntentEngineInstruction: {
|
|
|
184
191
|
readonly DropClaim: 16;
|
|
185
192
|
readonly EndFill: 17;
|
|
186
193
|
readonly ExpireIntent: 18;
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
193
|
-
readonly
|
|
194
|
-
readonly
|
|
195
|
-
readonly
|
|
196
|
-
readonly
|
|
197
|
-
readonly
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
200
|
-
readonly
|
|
201
|
-
readonly
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
205
|
-
readonly
|
|
206
|
-
readonly
|
|
207
|
-
readonly
|
|
208
|
-
readonly
|
|
194
|
+
readonly ExtendClaimants: 19;
|
|
195
|
+
readonly FillAttested: 20;
|
|
196
|
+
readonly FillAttestedCommittee: 21;
|
|
197
|
+
readonly FillAttestedSplit: 22;
|
|
198
|
+
readonly FillAttestedSplitCommittee: 23;
|
|
199
|
+
readonly FillIntent: 24;
|
|
200
|
+
readonly InitConfig: 25;
|
|
201
|
+
readonly InitUser: 26;
|
|
202
|
+
readonly Leave: 27;
|
|
203
|
+
readonly ListClaimants: 28;
|
|
204
|
+
readonly LowerPause: 29;
|
|
205
|
+
readonly Migrate: 30;
|
|
206
|
+
readonly OpenClaims: 31;
|
|
207
|
+
readonly OpenClaimsListed: 32;
|
|
208
|
+
readonly ProposeAdmin: 33;
|
|
209
|
+
readonly RaisePause: 34;
|
|
210
|
+
readonly RevokeMandate: 35;
|
|
211
|
+
readonly SetCapsRequired: 36;
|
|
212
|
+
readonly SetCommitteeFloor: 37;
|
|
213
|
+
readonly SetMintCap: 38;
|
|
214
|
+
readonly SettleClaims: 39;
|
|
215
|
+
readonly StandBy: 40;
|
|
216
|
+
readonly UpdateConfig: 41;
|
|
217
|
+
readonly UpdateEconomics: 42;
|
|
218
|
+
readonly UpdateProfile: 43;
|
|
209
219
|
};
|
|
210
220
|
export type IntentEngineInstruction = (typeof IntentEngineInstruction)[Exclude<keyof typeof IntentEngineInstruction, number>];
|
|
211
221
|
export declare function identifyIntentEngineInstruction(instruction: {
|
|
@@ -250,6 +260,8 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
250
260
|
} & ParsedEndFillInstruction<TProgram>) | ({
|
|
251
261
|
instructionType: typeof IntentEngineInstruction.ExpireIntent;
|
|
252
262
|
} & ParsedExpireIntentInstruction<TProgram>) | ({
|
|
263
|
+
instructionType: typeof IntentEngineInstruction.ExtendClaimants;
|
|
264
|
+
} & ParsedExtendClaimantsInstruction<TProgram>) | ({
|
|
253
265
|
instructionType: typeof IntentEngineInstruction.FillAttested;
|
|
254
266
|
} & ParsedFillAttestedInstruction<TProgram>) | ({
|
|
255
267
|
instructionType: typeof IntentEngineInstruction.FillAttestedCommittee;
|
|
@@ -266,12 +278,16 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
266
278
|
} & ParsedInitUserInstruction<TProgram>) | ({
|
|
267
279
|
instructionType: typeof IntentEngineInstruction.Leave;
|
|
268
280
|
} & ParsedLeaveInstruction<TProgram>) | ({
|
|
281
|
+
instructionType: typeof IntentEngineInstruction.ListClaimants;
|
|
282
|
+
} & ParsedListClaimantsInstruction<TProgram>) | ({
|
|
269
283
|
instructionType: typeof IntentEngineInstruction.LowerPause;
|
|
270
284
|
} & ParsedLowerPauseInstruction<TProgram>) | ({
|
|
271
285
|
instructionType: typeof IntentEngineInstruction.Migrate;
|
|
272
286
|
} & ParsedMigrateInstruction<TProgram>) | ({
|
|
273
287
|
instructionType: typeof IntentEngineInstruction.OpenClaims;
|
|
274
288
|
} & ParsedOpenClaimsInstruction<TProgram>) | ({
|
|
289
|
+
instructionType: typeof IntentEngineInstruction.OpenClaimsListed;
|
|
290
|
+
} & ParsedOpenClaimsListedInstruction<TProgram>) | ({
|
|
275
291
|
instructionType: typeof IntentEngineInstruction.ProposeAdmin;
|
|
276
292
|
} & ParsedProposeAdminInstruction<TProgram>) | ({
|
|
277
293
|
instructionType: typeof IntentEngineInstruction.RaisePause;
|
|
@@ -305,6 +321,7 @@ export type IntentEnginePlugin = {
|
|
|
305
321
|
};
|
|
306
322
|
export type IntentEnginePluginAccounts = {
|
|
307
323
|
claimBoard: ReturnType<typeof getClaimBoardCodec> & SelfFetchFunctions<ClaimBoardArgs, ClaimBoard>;
|
|
324
|
+
claimList: ReturnType<typeof getClaimListCodec> & SelfFetchFunctions<ClaimListArgs, ClaimList>;
|
|
308
325
|
committee: ReturnType<typeof getCommitteeCodec> & SelfFetchFunctions<CommitteeArgs, Committee>;
|
|
309
326
|
config: ReturnType<typeof getConfigCodec> & SelfFetchFunctions<ConfigArgs, Config>;
|
|
310
327
|
intent: ReturnType<typeof getIntentCodec> & SelfFetchFunctions<IntentArgs, Intent>;
|
|
@@ -334,6 +351,7 @@ export type IntentEnginePluginInstructions = {
|
|
|
334
351
|
dropClaim: (input: DropClaimAsyncInput) => ReturnType<typeof getDropClaimInstructionAsync> & SelfPlanAndSendFunctions;
|
|
335
352
|
endFill: (input: EndFillInput) => ReturnType<typeof getEndFillInstruction> & SelfPlanAndSendFunctions;
|
|
336
353
|
expireIntent: (input: ExpireIntentAsyncInput) => ReturnType<typeof getExpireIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
354
|
+
extendClaimants: (input: ExtendClaimantsAsyncInput) => ReturnType<typeof getExtendClaimantsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
337
355
|
fillAttested: (input: FillAttestedAsyncInput) => ReturnType<typeof getFillAttestedInstructionAsync> & SelfPlanAndSendFunctions;
|
|
338
356
|
fillAttestedCommittee: (input: FillAttestedCommitteeAsyncInput) => ReturnType<typeof getFillAttestedCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
|
|
339
357
|
fillAttestedSplit: (input: FillAttestedSplitAsyncInput) => ReturnType<typeof getFillAttestedSplitInstructionAsync> & SelfPlanAndSendFunctions;
|
|
@@ -342,9 +360,11 @@ export type IntentEnginePluginInstructions = {
|
|
|
342
360
|
initConfig: (input: InitConfigAsyncInput) => ReturnType<typeof getInitConfigInstructionAsync> & SelfPlanAndSendFunctions;
|
|
343
361
|
initUser: (input: InitUserAsyncInput) => ReturnType<typeof getInitUserInstructionAsync> & SelfPlanAndSendFunctions;
|
|
344
362
|
leave: (input: LeaveAsyncInput) => ReturnType<typeof getLeaveInstructionAsync> & SelfPlanAndSendFunctions;
|
|
363
|
+
listClaimants: (input: ListClaimantsAsyncInput) => ReturnType<typeof getListClaimantsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
345
364
|
lowerPause: (input: LowerPauseInput) => ReturnType<typeof getLowerPauseInstruction> & SelfPlanAndSendFunctions;
|
|
346
365
|
migrate: (input: MakeOptional<MigrateInput, "payer">) => ReturnType<typeof getMigrateInstruction> & SelfPlanAndSendFunctions;
|
|
347
366
|
openClaims: (input: OpenClaimsAsyncInput) => ReturnType<typeof getOpenClaimsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
367
|
+
openClaimsListed: (input: OpenClaimsListedAsyncInput) => ReturnType<typeof getOpenClaimsListedInstructionAsync> & SelfPlanAndSendFunctions;
|
|
348
368
|
proposeAdmin: (input: ProposeAdminInput) => ReturnType<typeof getProposeAdminInstruction> & SelfPlanAndSendFunctions;
|
|
349
369
|
raisePause: (input: RaisePauseInput) => ReturnType<typeof getRaisePauseInstruction> & SelfPlanAndSendFunctions;
|
|
350
370
|
revokeMandate: (input: RevokeMandateInput) => ReturnType<typeof getRevokeMandateInstruction> & SelfPlanAndSendFunctions;
|
|
@@ -364,6 +384,7 @@ export type IntentEnginePluginPdas = {
|
|
|
364
384
|
profile: typeof findProfilePda;
|
|
365
385
|
committee: typeof findCommitteePda;
|
|
366
386
|
delegate: typeof findDelegatePda;
|
|
387
|
+
claimList: typeof findClaimListPda;
|
|
367
388
|
config: typeof findConfigPda;
|
|
368
389
|
entry: typeof findEntryPda;
|
|
369
390
|
mintCap: typeof findMintCapPda;
|