@boostxyz/sdk 5.2.1 → 5.3.1

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.
Files changed (97) hide show
  1. package/README.md +10 -0
  2. package/dist/Actions/Action.cjs +1 -1
  3. package/dist/Actions/Action.js +1 -1
  4. package/dist/Actions/EventAction.cjs +1 -1
  5. package/dist/Actions/EventAction.cjs.map +1 -1
  6. package/dist/Actions/EventAction.d.ts +84 -41
  7. package/dist/Actions/EventAction.d.ts.map +1 -1
  8. package/dist/Actions/EventAction.js +1866 -378
  9. package/dist/Actions/EventAction.js.map +1 -1
  10. package/dist/AllowLists/AllowList.cjs +1 -1
  11. package/dist/AllowLists/AllowList.js +2 -2
  12. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  13. package/dist/AllowLists/SimpleAllowList.js +2 -2
  14. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  15. package/dist/AllowLists/SimpleDenyList.js +3 -3
  16. package/dist/Auth/PassthroughAuth.cjs +1 -1
  17. package/dist/Auth/PassthroughAuth.js +1 -1
  18. package/dist/BoostCore.cjs +2 -2
  19. package/dist/BoostCore.cjs.map +1 -1
  20. package/dist/BoostCore.d.ts +42 -1
  21. package/dist/BoostCore.d.ts.map +1 -1
  22. package/dist/BoostCore.js +360 -318
  23. package/dist/BoostCore.js.map +1 -1
  24. package/dist/BoostRegistry.cjs +1 -1
  25. package/dist/BoostRegistry.js +2 -2
  26. package/dist/{Budget-N0YEfSt2.cjs → Budget-AoNx7uFd.cjs} +2 -2
  27. package/dist/{Budget-N0YEfSt2.cjs.map → Budget-AoNx7uFd.cjs.map} +1 -1
  28. package/dist/{Budget-C0SMvfEl.js → Budget-DYIV9iNK.js} +3 -3
  29. package/dist/{Budget-C0SMvfEl.js.map → Budget-DYIV9iNK.js.map} +1 -1
  30. package/dist/Budgets/Budget.cjs +1 -1
  31. package/dist/Budgets/Budget.js +2 -2
  32. package/dist/Budgets/ManagedBudget.cjs +1 -1
  33. package/dist/Budgets/ManagedBudget.js +2 -2
  34. package/dist/Deployable/DeployableTarget.cjs +1 -1
  35. package/dist/Deployable/DeployableTarget.js +1 -1
  36. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  37. package/dist/Deployable/DeployableTargetWithRBAC.js +2 -2
  38. package/dist/Incentive-BbkfwGOb.cjs +2 -0
  39. package/dist/Incentive-BbkfwGOb.cjs.map +1 -0
  40. package/dist/{Incentive-DBZHQ9Np.js → Incentive-qlnv5kQB.js} +77 -50
  41. package/dist/Incentive-qlnv5kQB.js.map +1 -0
  42. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  43. package/dist/Incentives/AllowListIncentive.js +3 -3
  44. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  45. package/dist/Incentives/CGDAIncentive.js +2 -2
  46. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  47. package/dist/Incentives/ERC20Incentive.js +6 -6
  48. package/dist/Incentives/ERC20PeggedIncentive.d.ts +10 -1
  49. package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
  50. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  51. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +2 -2
  52. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  53. package/dist/Incentives/ERC20VariableIncentive.js +2 -2
  54. package/dist/Incentives/Incentive.cjs +1 -1
  55. package/dist/Incentives/Incentive.js +2 -2
  56. package/dist/Incentives/PointsIncentive.cjs +1 -1
  57. package/dist/Incentives/PointsIncentive.js +2 -2
  58. package/dist/{SimpleDenyList-B8QeJthf.js → SimpleDenyList-ByAr4X1r.js} +3 -3
  59. package/dist/{SimpleDenyList-B8QeJthf.js.map → SimpleDenyList-ByAr4X1r.js.map} +1 -1
  60. package/dist/{SimpleDenyList-DIb4xX3j.cjs → SimpleDenyList-CsRXJPwm.cjs} +2 -2
  61. package/dist/{SimpleDenyList-DIb4xX3j.cjs.map → SimpleDenyList-CsRXJPwm.cjs.map} +1 -1
  62. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  63. package/dist/Validators/LimitedSignerValidator.js +2 -2
  64. package/dist/Validators/SignerValidator.cjs +1 -1
  65. package/dist/Validators/SignerValidator.js +2 -2
  66. package/dist/Validators/Validator.cjs +1 -1
  67. package/dist/Validators/Validator.js +1 -1
  68. package/dist/{deployments-COxshLqt.js → deployments-D0fs26TV.js} +16 -16
  69. package/dist/{deployments-COxshLqt.js.map → deployments-D0fs26TV.js.map} +1 -1
  70. package/dist/{deployments-BGpr4ppG.cjs → deployments-DoIOqxco.cjs} +2 -2
  71. package/dist/deployments-DoIOqxco.cjs.map +1 -0
  72. package/dist/deployments.json +3 -3
  73. package/dist/errors.cjs +1 -1
  74. package/dist/errors.cjs.map +1 -1
  75. package/dist/errors.d.ts +40 -0
  76. package/dist/errors.d.ts.map +1 -1
  77. package/dist/errors.js +42 -16
  78. package/dist/errors.js.map +1 -1
  79. package/dist/{generated-ClbO_ULI.js → generated-Cyvr_Tjx.js} +446 -438
  80. package/dist/generated-Cyvr_Tjx.js.map +1 -0
  81. package/dist/{generated-CRD9XfOT.cjs → generated-DtYPHhtX.cjs} +2 -2
  82. package/dist/generated-DtYPHhtX.cjs.map +1 -0
  83. package/dist/index.cjs +1 -1
  84. package/dist/index.js +160 -155
  85. package/package.json +1 -1
  86. package/src/Actions/EventAction.test.ts +294 -3
  87. package/src/Actions/EventAction.ts +417 -154
  88. package/src/BoostCore.test.ts +51 -3
  89. package/src/BoostCore.ts +73 -0
  90. package/src/Incentives/ERC20PeggedIncentive.ts +33 -4
  91. package/src/errors.ts +50 -0
  92. package/dist/Incentive-BpZePiOD.cjs +0 -2
  93. package/dist/Incentive-BpZePiOD.cjs.map +0 -1
  94. package/dist/Incentive-DBZHQ9Np.js.map +0 -1
  95. package/dist/deployments-BGpr4ppG.cjs.map +0 -1
  96. package/dist/generated-CRD9XfOT.cjs.map +0 -1
  97. package/dist/generated-ClbO_ULI.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { eventActionAbi } from '@boostxyz/evm';
2
- import { type AbiEvent, type AbiFunction, type Address, type GetLogsReturnType, type GetTransactionParameters, type Hex, type Transaction } from 'viem';
2
+ import { type AbiEvent, type AbiFunction, type AbiParameter, type Address, type GetLogsReturnType, type GetTransactionParameters, type Hex, type Log, type Transaction } from 'viem';
3
3
  import type { DeployableOptions, GenericDeployableParams } from '../Deployable/Deployable';
4
4
  import { DeployableTarget } from '../Deployable/DeployableTarget';
5
5
  import { type ReadParams, RegistryType, type WriteParams } from '../utils';
@@ -29,7 +29,8 @@ export declare enum PrimitiveType {
29
29
  UINT = 0,
30
30
  ADDRESS = 1,
31
31
  BYTES = 2,
32
- STRING = 3
32
+ STRING = 3,
33
+ TUPLE = 4
33
34
  }
34
35
  /**
35
36
  * Object representation of a `Criteria` struct used in event actions.
@@ -54,6 +55,9 @@ export interface Criteria {
54
55
  /**
55
56
  * The index in the logs argument array where the field is located.
56
57
  *
58
+ * If `fieldType` is TUPLE, this value is **bitpacked** with up to 5 sub-indexes,
59
+ * with the maximum 6-bit value used as a "terminator" to indicate no further indexes.
60
+ *
57
61
  * @type {number}
58
62
  */
59
63
  fieldIndex: number;
@@ -250,6 +254,14 @@ export interface EventActionPayloadRaw {
250
254
  * @typedef {EventLogs}
251
255
  */
252
256
  export type EventLogs = GetLogsReturnType<AbiEvent, AbiEvent[], true>;
257
+ /**
258
+ * Single event log
259
+ * @export
260
+ * @typedef {EventLog}
261
+ */
262
+ export type EventLog = EventLogs[0] & {
263
+ args: unknown[];
264
+ };
253
265
  /**
254
266
  * A generic event action
255
267
  *
@@ -406,8 +418,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
406
418
  readonly type: "uint8";
407
419
  }, {
408
420
  readonly name: "fieldIndex";
409
- readonly internalType: "uint8";
410
- readonly type: "uint8";
421
+ readonly internalType: "uint32";
422
+ readonly type: "uint32";
411
423
  }, {
412
424
  readonly name: "filterData";
413
425
  readonly internalType: "bytes";
@@ -453,8 +465,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
453
465
  readonly type: "uint8";
454
466
  }, {
455
467
  readonly name: "fieldIndex";
456
- readonly internalType: "uint8";
457
- readonly type: "uint8";
468
+ readonly internalType: "uint32";
469
+ readonly type: "uint32";
458
470
  }, {
459
471
  readonly name: "filterData";
460
472
  readonly internalType: "bytes";
@@ -500,8 +512,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
500
512
  readonly type: "uint8";
501
513
  }, {
502
514
  readonly name: "fieldIndex";
503
- readonly internalType: "uint8";
504
- readonly type: "uint8";
515
+ readonly internalType: "uint32";
516
+ readonly type: "uint32";
505
517
  }, {
506
518
  readonly name: "filterData";
507
519
  readonly internalType: "bytes";
@@ -547,8 +559,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
547
559
  readonly type: "uint8";
548
560
  }, {
549
561
  readonly name: "fieldIndex";
550
- readonly internalType: "uint8";
551
- readonly type: "uint8";
562
+ readonly internalType: "uint32";
563
+ readonly type: "uint32";
552
564
  }, {
553
565
  readonly name: "filterData";
554
566
  readonly internalType: "bytes";
@@ -673,8 +685,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
673
685
  readonly type: "uint8";
674
686
  }, {
675
687
  readonly name: "fieldIndex";
676
- readonly internalType: "uint8";
677
- readonly type: "uint8";
688
+ readonly internalType: "uint32";
689
+ readonly type: "uint32";
678
690
  }, {
679
691
  readonly name: "filterData";
680
692
  readonly internalType: "bytes";
@@ -725,8 +737,8 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
725
737
  readonly type: "uint8";
726
738
  }, {
727
739
  readonly name: "fieldIndex";
728
- readonly internalType: "uint8";
729
- readonly type: "uint8";
740
+ readonly internalType: "uint32";
741
+ readonly type: "uint32";
730
742
  }, {
731
743
  readonly name: "filterData";
732
744
  readonly internalType: "bytes";
@@ -940,17 +952,16 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
940
952
  isActionStepValid(actionStep: ActionStep, params: ValidateActionStepParams): Promise<boolean>;
941
953
  /**
942
954
  * Validates a single action event with a given criteria against logs.
943
- * If logs are provided in the optional `params` argument, then those logs will be used instead of being fetched with the configured client.
944
955
  *
945
956
  * @public
946
- * @async
947
957
  * @param {ActionStep} actionStep - The action step containing the event to validate.
948
958
  * @param {EventLogs} logs - Event logs to validate the given step against
949
- * @returns {Promise<boolean>} Resolves to true if the action event is valid, throws if input is invalid, otherwise false.
959
+ * @param {AbiEvent} eventAbi - The ABI definition of the event
960
+ * @returns {boolean} Resolves to true if the action event is valid, throws if input is invalid, otherwise false.
950
961
  */
951
- isActionEventValid(actionStep: ActionStep, logs: EventLogs): boolean;
962
+ isActionEventValid(actionStep: ActionStep, logs: EventLogs, eventAbi: AbiEvent): boolean;
952
963
  /**
953
- * Decodes transfer logs specifically for ERC721 and ERC20 Transfer events.
964
+ * Decodes logs specifically for ERC721 and ERC20 Transfer events.
954
965
  *
955
966
  * This special handling is required because both ERC20 and ERC721 Transfer events:
956
967
  * 1. Share the same event signature (0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef)
@@ -962,11 +973,26 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
962
973
  * try decoding both ways to determine which type of Transfer event we're dealing with.
963
974
  *
964
975
  * @param {GetTransactionReceiptReturnType} receipt - The transaction receipt containing the logs
965
- * @param {ActionStep} actionStep - The action step being validated
966
- * @returns {Promise<boolean>} - Returns true if the transfer logs are valid for either ERC20 or ERC721
976
+ * @returns {Promise<{ decodedLogs: EventLogs; event: AbiEvent }>} - Returns the decoded logs and the transfer event ABI used for decoding
967
977
  * @throws {DecodedArgsError} - Throws if neither ERC20 nor ERC721 decoding succeeds
968
978
  */
969
979
  private decodeTransferLogs;
980
+ /**
981
+ * Parses the final (scalar) field from a set of decoded arguments, given an ABI definition.
982
+ * If the fieldType is TUPLE, we decode `fieldIndex` as a bitpacked array of indexes to drill down
983
+ * into nested tuples. Otherwise, we parse the single `fieldIndex` as normal.
984
+ *
985
+ * @public
986
+ * @param {readonly unknown[]} allArgs - The decoded arguments array from an event log or function call.
987
+ * @param {number} criteriaIndex - The field index (bitpacked if TUPLE).
988
+ * @param {AbiParameter[]} abiInputs - The ABI inputs describing each decoded argument.
989
+ * @param {PrimitiveType} declaredType - Either TUPLE or a standard scalar type
990
+ * @returns {{ value: string | bigint | Hex; type: Exclude<PrimitiveType, PrimitiveType.TUPLE> }}
991
+ */
992
+ parseFieldFromAbi(allArgs: readonly unknown[], criteriaIndex: number, abiInputs: readonly AbiParameter[], declaredType: PrimitiveType): {
993
+ value: string | bigint | Hex;
994
+ type: Exclude<PrimitiveType, PrimitiveType.TUPLE>;
995
+ };
970
996
  /**
971
997
  * Validates a single action function with a given criteria against the transaction input.
972
998
  *
@@ -982,38 +1008,22 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
982
1008
  */
983
1009
  isActionFunctionValid(actionStep: ActionStep, transaction: Transaction, params: Pick<ValidateActionStepParams, 'abiItem' | 'knownSignatures'>): boolean;
984
1010
  /**
985
- * Validates a field against a given criteria.
1011
+ * Validates a field against a given criteria. The field is assumed to be a non-tuple scalar,
1012
+ * along with its final resolved `PrimitiveType`. (Any TUPLE logic has been extracted elsewhere.)
986
1013
  *
987
1014
  * @param {Criteria} criteria - The criteria to validate against.
988
1015
  * @param {string | bigint | Hex} fieldValue - The field value to validate.
1016
+ * @param {Exclude<PrimitiveType, PrimitiveType.TUPLE>} fieldType - The final resolved primitive type.
989
1017
  * @param {Object} input - Additional context for validation.
990
1018
  * @param {EventLogs[0]} [input.log] - The event log, if validating an event.
991
1019
  * @param {readonly (string | bigint)[]} [input.decodedArgs] - The decoded function arguments, if validating a function call.
992
- * @returns {Promise<boolean>} - Returns true if the field passes the criteria, false otherwise.
1020
+ * @returns {boolean} - Returns true if the field passes the criteria, false otherwise.
993
1021
  */
994
1022
  validateFieldAgainstCriteria(criteria: Criteria, fieldValue: string | bigint | Hex, input: {
995
1023
  log: EventLogs[0];
996
1024
  } | {
997
1025
  decodedArgs: readonly (string | bigint)[];
998
1026
  }): boolean;
999
- /**
1000
- * Validates a {@link Log} against a given criteria.
1001
- * If the criteria's fieldIndex is 255 (using CheatCodes enum), it is reserved for anyValidation
1002
- *
1003
- * @param {Criteria} criteria - The criteria to validate against.
1004
- * @param {Log} log - The Viem event log.
1005
- * @returns {boolean} - Returns true if the log passes the criteria, false otherwise.
1006
- */
1007
- validateLogAgainstCriteria(criteria: Criteria, log: EventLogs[0]): boolean;
1008
- /**
1009
- * Validates a function's decoded arguments against a given criteria.
1010
- * If the criteria's fieldIndex is 255 (using CheatCodes enum), it is reserved for anyValidation
1011
- *
1012
- * @param {Criteria} criteria - The criteria to validate against.
1013
- * @param {unknown[]} decodedArgs - The decoded arguments of the function call.
1014
- * @returns {Promise<boolean>} - Returns true if the decoded argument passes the criteria, false otherwise.
1015
- */
1016
- validateFunctionAgainstCriteria(criteria: Criteria, decodedArgs: readonly (string | bigint)[]): boolean;
1017
1027
  /**
1018
1028
  * @inheritdoc
1019
1029
  *
@@ -1023,6 +1033,15 @@ export declare class EventAction extends DeployableTarget<EventActionPayload, ty
1023
1033
  * @returns {GenericDeployableParams}
1024
1034
  */
1025
1035
  buildParameters(_payload?: EventActionPayload, _options?: DeployableOptions): GenericDeployableParams;
1036
+ /**
1037
+ * Determines whether a string or bytes field is indexed in the event definition.
1038
+ * If the user tries to filter on an indexed string/bytes, we throw an error.
1039
+ *
1040
+ * @public
1041
+ * @param {ActionStep} step
1042
+ * @param {AbiEvent} event
1043
+ * @returns {boolean}
1044
+ */
1026
1045
  isArraylikeIndexed(step: ActionStep, event: AbiEvent): boolean;
1027
1046
  }
1028
1047
  /**
@@ -1082,4 +1101,28 @@ export declare function anyActionParameter(): Criteria;
1082
1101
  * await eventAction.deploy(payload);
1083
1102
  */
1084
1103
  export declare function transactionSenderClaimant(chainId: number): ActionClaimant;
1104
+ /**
1105
+ * Packs up to five indexes into a single uint32 value.
1106
+ *
1107
+ * @param {number[]} indexes - Array of up to five indexes to pack.
1108
+ * @returns {number} - Packed uint32 value.
1109
+ * @throws {Error} - If more than five indexes are provided or an index exceeds the maximum value.
1110
+ */
1111
+ export declare function packFieldIndexes(indexes: number[]): number;
1112
+ /**
1113
+ * Unpacks a uint32 fieldIndex value into an array of up to five indexes.
1114
+ *
1115
+ * @param {number} packed - Packed uint32 value.
1116
+ * @returns {number[]} - Array of unpacked indexes.
1117
+ */
1118
+ export declare function unpackFieldIndexes(packed: number): number[];
1119
+ /**
1120
+ * Decodes an event log and reorders the arguments to match the original ABI order.
1121
+ * This is necessary because viem's decodeEventLog reorders indexed parameters to the front.
1122
+ *
1123
+ * @param event - The event ABI definition
1124
+ * @param log - The log to decode
1125
+ * @returns {EventLog} The decoded log with arguments in the original ABI order
1126
+ */
1127
+ export declare function decodeAndReorderLogArgs(event: AbiEvent, log: Log): EventLog;
1085
1128
  //# sourceMappingURL=EventAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventAction.d.ts","sourceRoot":"","sources":["../../src/Actions/EventAction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAKf,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAE7B,KAAK,GAAG,EAER,KAAK,WAAW,EAUjB,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAclE,OAAO,EAGL,KAAK,UAAU,EACf,YAAY,EAEZ,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAMlB;;;;;GAKG;AACH,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,SAAS,IAAI;IACb,YAAY,IAAI;IAChB,SAAS,IAAI;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