@pafi-dev/core 0.7.2 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -921,7 +921,7 @@ interface PaymasterConfig {
921
921
  * validates the request's target contracts + function selectors
922
922
  * match the expected pattern for the scenario.
923
923
  */
924
- type SponsorshipScenario = "mint" | "burn" | "swap" | "perp-deposit";
924
+ type SponsorshipScenario = "mint" | "burn" | "swap" | "perp-deposit" | "delegate";
925
925
 
926
926
  /**
927
927
  * @deprecated v0.7.1 — see file comment.
package/dist/index.d.ts CHANGED
@@ -921,7 +921,7 @@ interface PaymasterConfig {
921
921
  * validates the request's target contracts + function selectors
922
922
  * match the expected pattern for the scenario.
923
923
  */
924
- type SponsorshipScenario = "mint" | "burn" | "swap" | "perp-deposit";
924
+ type SponsorshipScenario = "mint" | "burn" | "swap" | "perp-deposit" | "delegate";
925
925
 
926
926
  /**
927
927
  * @deprecated v0.7.1 — see file comment.
package/dist/index.js CHANGED
@@ -873,11 +873,20 @@ var CONTRACT_ADDRESSES = {
873
873
  // tokenImpl: PointToken (impl) 0x2e6FB1B0C1A51abb83eC974890126a64eC02E995
874
874
  // mockUsdt: MockERC20 0x5d313485Ba59C3bb91e1A9C0C11782F0b83d5dcd
875
875
  // POINT: PointToken instance 0x7d25E7156E51F865D522fd3ef257a6B5DD41b97e
876
- // batchExecutor: Coinbase SW v2 0x7702cb554e6bFb442cb743A7dF23154544a7176C
876
+ // batchExecutor: Pimlico Simple7702 0xe6Cae83BdE06E4c305530e199D7217f42808555B
877
+ // (v0.7.6 — switched from Coinbase SW v2
878
+ // `0x7702cb...7176C`; CSW v2 uses SignatureWrapper
879
+ // format that Pimlico's `pm_sponsorUserOperation`
880
+ // cannot produce a working dummy sig for, leading
881
+ // to AA23 `0x3c10b94e` reverts on the simulator.
882
+ // Pimlico's `Simple7702Account` accepts standard
883
+ // v0.7 ECDSA dummy and matches what the web FE +
884
+ // permissionless `to7702SimpleSmartAccount` already
885
+ // used in production.)
877
886
  // pafiHook: PAFIHook (V4, 10%) 0x870cAF9882d3160602AaC1769C2B264A2d8EC044
878
887
  8453: {
879
888
  pointToken: "0x7d25E7156E51F865D522fd3ef257a6B5DD41b97e",
880
- batchExecutor: "0x7702cb554e6bFb442cb743A7dF23154544a7176C",
889
+ batchExecutor: "0xe6Cae83BdE06E4c305530e199D7217f42808555B",
881
890
  usdt: "0x5d313485Ba59C3bb91e1A9C0C11782F0b83d5dcd",
882
891
  issuerRegistry: "0xda2D3338CF70F462Ac175F5f2edfa45660CA4f31",
883
892
  mintingOracle: "0xD85165939C700E51c8a45099316C6482634C2Ab9",