@pafi-dev/core 0.5.6 → 0.5.7
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/abi/index.cjs +3 -3
- package/dist/abi/index.d.cts +172 -79
- package/dist/abi/index.d.ts +172 -79
- package/dist/abi/index.js +2 -2
- package/dist/{chunk-FXNG4G22.js → chunk-5JZOJIBT.js} +213 -101
- package/dist/chunk-5JZOJIBT.js.map +1 -0
- package/dist/{chunk-S2XRFFP3.cjs → chunk-LRHY7GOR.cjs} +213 -101
- package/dist/chunk-LRHY7GOR.cjs.map +1 -0
- package/dist/{chunk-ALCWYDVG.cjs → chunk-R6OFGVMP.cjs} +11 -1
- package/dist/chunk-R6OFGVMP.cjs.map +1 -0
- package/dist/{chunk-7UBO7DY5.js → chunk-Y2MZ7MKJ.js} +11 -1
- package/dist/chunk-Y2MZ7MKJ.js.map +1 -0
- package/dist/chunk-YHUPQP6R.cjs +112 -0
- package/dist/chunk-YHUPQP6R.cjs.map +1 -0
- package/dist/chunk-ZGA5EAFJ.js +112 -0
- package/dist/chunk-ZGA5EAFJ.js.map +1 -0
- package/dist/contract/index.cjs +3 -3
- package/dist/contract/index.d.cts +9 -1
- package/dist/contract/index.d.ts +9 -1
- package/dist/contract/index.js +2 -2
- package/dist/eip712/index.d.cts +1 -1
- package/dist/eip712/index.d.ts +1 -1
- package/dist/{index-BEx-Q1bW.d.cts → index-3C_HdEIm.d.cts} +1 -1
- package/dist/{index-r4xCdQO7.d.ts → index-DKtVEoRC.d.ts} +1 -1
- package/dist/index.cjs +7 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -344
- package/dist/index.d.ts +6 -344
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/quoting/index.d.cts +1 -1
- package/dist/quoting/index.d.ts +1 -1
- package/dist/swap/index.d.cts +2 -2
- package/dist/swap/index.d.ts +2 -2
- package/dist/{types-b5_Tokjl.d.cts → types-JyuXUM8C.d.cts} +8 -8
- package/dist/{types-b5_Tokjl.d.ts → types-JyuXUM8C.d.ts} +8 -8
- package/package.json +1 -1
- package/dist/chunk-5VZMSNY4.cjs +0 -180
- package/dist/chunk-5VZMSNY4.cjs.map +0 -1
- package/dist/chunk-7UBO7DY5.js.map +0 -1
- package/dist/chunk-ALCWYDVG.cjs.map +0 -1
- package/dist/chunk-FXNG4G22.js.map +0 -1
- package/dist/chunk-S2XRFFP3.cjs.map +0 -1
- package/dist/chunk-VHZ7M3CL.js +0 -180
- package/dist/chunk-VHZ7M3CL.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Address, Hex, PublicClient, HttpTransport, WalletClient } from 'viem';
|
|
2
|
-
import { P as PoolKey, C as ChainConfig, a as PafiSDKConfig, b as PointTokenDomainConfig, M as MintRequest, R as ReceiverConsent, E as EIP712Signature, S as SignatureVerification, B as BestQuote, Q as QuoteResult } from './types-
|
|
3
|
-
export { c as BurnRequest, I as Issuer, d as PathKey } from './types-
|
|
4
|
-
export { erc20Abi, issuerRegistryAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v4QuoterAbi } from './abi/index.js';
|
|
2
|
+
import { P as PoolKey, C as ChainConfig, a as PafiSDKConfig, b as PointTokenDomainConfig, M as MintRequest, R as ReceiverConsent, E as EIP712Signature, S as SignatureVerification, B as BestQuote, Q as QuoteResult } from './types-JyuXUM8C.js';
|
|
3
|
+
export { c as BurnRequest, I as Issuer, d as PathKey } from './types-JyuXUM8C.js';
|
|
4
|
+
export { pointTokenAbi as POINT_TOKEN_V2_ABI, erc20Abi, issuerRegistryAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v4QuoterAbi } from './abi/index.js';
|
|
5
5
|
export { buildBurnRequestTypedData, buildDomain, buildMintRequestTypedData, buildReceiverConsentTypedData, signBurnRequest, signMintRequest, signReceiverConsent, verifyBurnRequest, verifyMintRequest, verifyReceiverConsent } from './eip712/index.js';
|
|
6
6
|
export { getBurnRequestNonce, getIssuer, getMintRequestNonce, getPointTokenBalance, getPointTokenIssuer, getPointTokenIssuerAddress, getReceiverConsentNonce, getTokenName, isActiveIssuer, isMinter, verifyMintCap } from './contract/index.js';
|
|
7
7
|
export { buildAllPaths, combineRoutes, findBestQuote, quoteBestRoute, quoteExactInput, quoteExactInputSingle } from './quoting/index.js';
|
|
8
|
-
import { P as PartialUserOperation, O as Operation, U as UserOperation, S as SwapSimulationResult } from './index-
|
|
9
|
-
export { B as BuildSwapWithGasDeductionParams, a as PaymasterFields, b as SETTLE_ALL, c as SWAP_EXACT_IN, T as TAKE_ALL, d as UserOpReceipt, V as V4_SWAP, Z as ZERO_VALUE, e as buildErc20ApprovalCalldata, f as buildPermit2ApprovalCalldata, g as buildSwapFromQuote, h as buildSwapWithGasDeduction, i as buildUniversalRouterExecuteArgs, j as buildV4SwapInput, k as checkAllowance, s as simulateSwap } from './index-
|
|
8
|
+
import { P as PartialUserOperation, O as Operation, U as UserOperation, S as SwapSimulationResult } from './index-DKtVEoRC.js';
|
|
9
|
+
export { B as BuildSwapWithGasDeductionParams, a as PaymasterFields, b as SETTLE_ALL, c as SWAP_EXACT_IN, T as TAKE_ALL, d as UserOpReceipt, V as V4_SWAP, Z as ZERO_VALUE, e as buildErc20ApprovalCalldata, f as buildPermit2ApprovalCalldata, g as buildSwapFromQuote, h as buildSwapWithGasDeduction, i as buildUniversalRouterExecuteArgs, j as buildV4SwapInput, k as checkAllowance, s as simulateSwap } from './index-DKtVEoRC.js';
|
|
10
10
|
import { LoginMessageParams } from './auth/index.js';
|
|
11
11
|
export { SPONSOR_AUTH_DOMAIN_NAME, SPONSOR_AUTH_TYPES, SponsorAuthPayload, SponsorAuthVerifyResult, VerifyLoginResult, buildSponsorAuthDomain, buildSponsorAuthTypedData, computeCallDataHash, createLoginMessage, parseLoginMessage, signSponsorAuth, verifyLoginMessage, verifySponsorAuth } from './auth/index.js';
|
|
12
12
|
|
|
@@ -868,344 +868,6 @@ interface SendWithPaymasterFallbackParams {
|
|
|
868
868
|
*/
|
|
869
869
|
declare function sendWithPaymasterFallback(params: SendWithPaymasterFallbackParams): Promise<Hex>;
|
|
870
870
|
|
|
871
|
-
/**
|
|
872
|
-
* Real `PointToken` ABI — matches the contract deployed on Base mainnet
|
|
873
|
-
* (POINT at `0x7d25E7156E51F865D522fd3ef257a6B5DD41b97e`). Sourced from
|
|
874
|
-
* the Solidity contract shipped by the SC team 2026-04-21.
|
|
875
|
-
*
|
|
876
|
-
* ## Mint — two paths
|
|
877
|
-
*
|
|
878
|
-
* Path 1 — Direct (whitelisted minter):
|
|
879
|
-
* mint(address to, uint256 amount)
|
|
880
|
-
* - msg.sender must be in minters[]
|
|
881
|
-
* - Used by off-chain services that hold a minter key
|
|
882
|
-
*
|
|
883
|
-
* Path 2 — Sig-gated (gasless, v1.4 sponsored flow):
|
|
884
|
-
* mint(address to, uint256 amount, uint256 deadline, bytes minterSig)
|
|
885
|
-
* - msg.sender MUST equal `to` (the receiver)
|
|
886
|
-
* - minterSig is an EIP-712 MintRequest signature from a whitelisted minter
|
|
887
|
-
* - Consumes `mintRequestNonces[to]`
|
|
888
|
-
* - This is the path v1.4 uses: issuer backend signs, user submits
|
|
889
|
-
* via EIP-7702 + Coinbase Paymaster
|
|
890
|
-
*
|
|
891
|
-
* ## Burn — mirror structure
|
|
892
|
-
*
|
|
893
|
-
* Path 1: burn(address from, uint256 amount) — whitelisted burner
|
|
894
|
-
* Path 2: burn(address from, uint256 amount, uint256 deadline, bytes burnerSig)
|
|
895
|
-
* — msg.sender must equal `from`, burnerSig from whitelisted burner,
|
|
896
|
-
* consumes `burnRequestNonces[from]`
|
|
897
|
-
*
|
|
898
|
-
* Either burn path emits `Transfer(from → 0x0)` so BurnIndexer semantics
|
|
899
|
-
* don't depend on which path was taken.
|
|
900
|
-
*
|
|
901
|
-
* ## EIP-712 type hashes (from contract source)
|
|
902
|
-
*
|
|
903
|
-
* MintRequest(address to,uint256 amount,uint256 nonce,uint256 deadline)
|
|
904
|
-
* BurnRequest(address from,uint256 amount,uint256 nonce,uint256 deadline)
|
|
905
|
-
*
|
|
906
|
-
* Domain: EIP-712 standard — name = ERC-20 token name, version = "1",
|
|
907
|
-
* chainId, verifyingContract = this PointToken address.
|
|
908
|
-
*/
|
|
909
|
-
declare const POINT_TOKEN_ABI: readonly [{
|
|
910
|
-
readonly name: "mint";
|
|
911
|
-
readonly type: "function";
|
|
912
|
-
readonly stateMutability: "nonpayable";
|
|
913
|
-
readonly inputs: readonly [{
|
|
914
|
-
readonly type: "address";
|
|
915
|
-
readonly name: "to";
|
|
916
|
-
}, {
|
|
917
|
-
readonly type: "uint256";
|
|
918
|
-
readonly name: "amount";
|
|
919
|
-
}];
|
|
920
|
-
readonly outputs: readonly [];
|
|
921
|
-
}, {
|
|
922
|
-
readonly name: "mint";
|
|
923
|
-
readonly type: "function";
|
|
924
|
-
readonly stateMutability: "nonpayable";
|
|
925
|
-
readonly inputs: readonly [{
|
|
926
|
-
readonly type: "address";
|
|
927
|
-
readonly name: "to";
|
|
928
|
-
}, {
|
|
929
|
-
readonly type: "uint256";
|
|
930
|
-
readonly name: "amount";
|
|
931
|
-
}, {
|
|
932
|
-
readonly type: "uint256";
|
|
933
|
-
readonly name: "deadline";
|
|
934
|
-
}, {
|
|
935
|
-
readonly type: "bytes";
|
|
936
|
-
readonly name: "minterSig";
|
|
937
|
-
}];
|
|
938
|
-
readonly outputs: readonly [];
|
|
939
|
-
}, {
|
|
940
|
-
readonly name: "burn";
|
|
941
|
-
readonly type: "function";
|
|
942
|
-
readonly stateMutability: "nonpayable";
|
|
943
|
-
readonly inputs: readonly [{
|
|
944
|
-
readonly type: "address";
|
|
945
|
-
readonly name: "from";
|
|
946
|
-
}, {
|
|
947
|
-
readonly type: "uint256";
|
|
948
|
-
readonly name: "amount";
|
|
949
|
-
}];
|
|
950
|
-
readonly outputs: readonly [];
|
|
951
|
-
}, {
|
|
952
|
-
readonly name: "burn";
|
|
953
|
-
readonly type: "function";
|
|
954
|
-
readonly stateMutability: "nonpayable";
|
|
955
|
-
readonly inputs: readonly [{
|
|
956
|
-
readonly type: "address";
|
|
957
|
-
readonly name: "from";
|
|
958
|
-
}, {
|
|
959
|
-
readonly type: "uint256";
|
|
960
|
-
readonly name: "amount";
|
|
961
|
-
}, {
|
|
962
|
-
readonly type: "uint256";
|
|
963
|
-
readonly name: "deadline";
|
|
964
|
-
}, {
|
|
965
|
-
readonly type: "bytes";
|
|
966
|
-
readonly name: "burnerSig";
|
|
967
|
-
}];
|
|
968
|
-
readonly outputs: readonly [];
|
|
969
|
-
}, {
|
|
970
|
-
readonly name: "minters";
|
|
971
|
-
readonly type: "function";
|
|
972
|
-
readonly stateMutability: "view";
|
|
973
|
-
readonly inputs: readonly [{
|
|
974
|
-
readonly type: "address";
|
|
975
|
-
readonly name: "account";
|
|
976
|
-
}];
|
|
977
|
-
readonly outputs: readonly [{
|
|
978
|
-
readonly type: "bool";
|
|
979
|
-
}];
|
|
980
|
-
}, {
|
|
981
|
-
readonly name: "burners";
|
|
982
|
-
readonly type: "function";
|
|
983
|
-
readonly stateMutability: "view";
|
|
984
|
-
readonly inputs: readonly [{
|
|
985
|
-
readonly type: "address";
|
|
986
|
-
readonly name: "account";
|
|
987
|
-
}];
|
|
988
|
-
readonly outputs: readonly [{
|
|
989
|
-
readonly type: "bool";
|
|
990
|
-
}];
|
|
991
|
-
}, {
|
|
992
|
-
readonly name: "addMinter";
|
|
993
|
-
readonly type: "function";
|
|
994
|
-
readonly stateMutability: "nonpayable";
|
|
995
|
-
readonly inputs: readonly [{
|
|
996
|
-
readonly type: "address";
|
|
997
|
-
readonly name: "minter";
|
|
998
|
-
}];
|
|
999
|
-
readonly outputs: readonly [];
|
|
1000
|
-
}, {
|
|
1001
|
-
readonly name: "removeMinter";
|
|
1002
|
-
readonly type: "function";
|
|
1003
|
-
readonly stateMutability: "nonpayable";
|
|
1004
|
-
readonly inputs: readonly [{
|
|
1005
|
-
readonly type: "address";
|
|
1006
|
-
readonly name: "minter";
|
|
1007
|
-
}];
|
|
1008
|
-
readonly outputs: readonly [];
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly name: "addBurner";
|
|
1011
|
-
readonly type: "function";
|
|
1012
|
-
readonly stateMutability: "nonpayable";
|
|
1013
|
-
readonly inputs: readonly [{
|
|
1014
|
-
readonly type: "address";
|
|
1015
|
-
readonly name: "burner";
|
|
1016
|
-
}];
|
|
1017
|
-
readonly outputs: readonly [];
|
|
1018
|
-
}, {
|
|
1019
|
-
readonly name: "removeBurner";
|
|
1020
|
-
readonly type: "function";
|
|
1021
|
-
readonly stateMutability: "nonpayable";
|
|
1022
|
-
readonly inputs: readonly [{
|
|
1023
|
-
readonly type: "address";
|
|
1024
|
-
readonly name: "burner";
|
|
1025
|
-
}];
|
|
1026
|
-
readonly outputs: readonly [];
|
|
1027
|
-
}, {
|
|
1028
|
-
readonly name: "mintRequestNonces";
|
|
1029
|
-
readonly type: "function";
|
|
1030
|
-
readonly stateMutability: "view";
|
|
1031
|
-
readonly inputs: readonly [{
|
|
1032
|
-
readonly type: "address";
|
|
1033
|
-
readonly name: "receiver";
|
|
1034
|
-
}];
|
|
1035
|
-
readonly outputs: readonly [{
|
|
1036
|
-
readonly type: "uint256";
|
|
1037
|
-
}];
|
|
1038
|
-
}, {
|
|
1039
|
-
readonly name: "burnRequestNonces";
|
|
1040
|
-
readonly type: "function";
|
|
1041
|
-
readonly stateMutability: "view";
|
|
1042
|
-
readonly inputs: readonly [{
|
|
1043
|
-
readonly type: "address";
|
|
1044
|
-
readonly name: "from";
|
|
1045
|
-
}];
|
|
1046
|
-
readonly outputs: readonly [{
|
|
1047
|
-
readonly type: "uint256";
|
|
1048
|
-
}];
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly name: "mintingOracle";
|
|
1051
|
-
readonly type: "function";
|
|
1052
|
-
readonly stateMutability: "view";
|
|
1053
|
-
readonly inputs: readonly [];
|
|
1054
|
-
readonly outputs: readonly [{
|
|
1055
|
-
readonly type: "address";
|
|
1056
|
-
}];
|
|
1057
|
-
}, {
|
|
1058
|
-
readonly name: "setMintingOracle";
|
|
1059
|
-
readonly type: "function";
|
|
1060
|
-
readonly stateMutability: "nonpayable";
|
|
1061
|
-
readonly inputs: readonly [{
|
|
1062
|
-
readonly type: "address";
|
|
1063
|
-
readonly name: "_mintingOracle";
|
|
1064
|
-
}];
|
|
1065
|
-
readonly outputs: readonly [];
|
|
1066
|
-
}, {
|
|
1067
|
-
readonly name: "issuer";
|
|
1068
|
-
readonly type: "function";
|
|
1069
|
-
readonly stateMutability: "view";
|
|
1070
|
-
readonly inputs: readonly [];
|
|
1071
|
-
readonly outputs: readonly [{
|
|
1072
|
-
readonly type: "address";
|
|
1073
|
-
}];
|
|
1074
|
-
}, {
|
|
1075
|
-
readonly name: "balanceOf";
|
|
1076
|
-
readonly type: "function";
|
|
1077
|
-
readonly stateMutability: "view";
|
|
1078
|
-
readonly inputs: readonly [{
|
|
1079
|
-
readonly type: "address";
|
|
1080
|
-
readonly name: "account";
|
|
1081
|
-
}];
|
|
1082
|
-
readonly outputs: readonly [{
|
|
1083
|
-
readonly type: "uint256";
|
|
1084
|
-
}];
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly name: "totalSupply";
|
|
1087
|
-
readonly type: "function";
|
|
1088
|
-
readonly stateMutability: "view";
|
|
1089
|
-
readonly inputs: readonly [];
|
|
1090
|
-
readonly outputs: readonly [{
|
|
1091
|
-
readonly type: "uint256";
|
|
1092
|
-
}];
|
|
1093
|
-
}, {
|
|
1094
|
-
readonly name: "name";
|
|
1095
|
-
readonly type: "function";
|
|
1096
|
-
readonly stateMutability: "view";
|
|
1097
|
-
readonly inputs: readonly [];
|
|
1098
|
-
readonly outputs: readonly [{
|
|
1099
|
-
readonly type: "string";
|
|
1100
|
-
}];
|
|
1101
|
-
}, {
|
|
1102
|
-
readonly name: "symbol";
|
|
1103
|
-
readonly type: "function";
|
|
1104
|
-
readonly stateMutability: "view";
|
|
1105
|
-
readonly inputs: readonly [];
|
|
1106
|
-
readonly outputs: readonly [{
|
|
1107
|
-
readonly type: "string";
|
|
1108
|
-
}];
|
|
1109
|
-
}, {
|
|
1110
|
-
readonly name: "decimals";
|
|
1111
|
-
readonly type: "function";
|
|
1112
|
-
readonly stateMutability: "view";
|
|
1113
|
-
readonly inputs: readonly [];
|
|
1114
|
-
readonly outputs: readonly [{
|
|
1115
|
-
readonly type: "uint8";
|
|
1116
|
-
}];
|
|
1117
|
-
}, {
|
|
1118
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
1119
|
-
readonly type: "function";
|
|
1120
|
-
readonly stateMutability: "view";
|
|
1121
|
-
readonly inputs: readonly [];
|
|
1122
|
-
readonly outputs: readonly [{
|
|
1123
|
-
readonly type: "bytes32";
|
|
1124
|
-
}];
|
|
1125
|
-
}, {
|
|
1126
|
-
readonly name: "eip712Domain";
|
|
1127
|
-
readonly type: "function";
|
|
1128
|
-
readonly stateMutability: "view";
|
|
1129
|
-
readonly inputs: readonly [];
|
|
1130
|
-
readonly outputs: readonly [{
|
|
1131
|
-
readonly type: "bytes1";
|
|
1132
|
-
readonly name: "fields";
|
|
1133
|
-
}, {
|
|
1134
|
-
readonly type: "string";
|
|
1135
|
-
readonly name: "name";
|
|
1136
|
-
}, {
|
|
1137
|
-
readonly type: "string";
|
|
1138
|
-
readonly name: "version";
|
|
1139
|
-
}, {
|
|
1140
|
-
readonly type: "uint256";
|
|
1141
|
-
readonly name: "chainId";
|
|
1142
|
-
}, {
|
|
1143
|
-
readonly type: "address";
|
|
1144
|
-
readonly name: "verifyingContract";
|
|
1145
|
-
}, {
|
|
1146
|
-
readonly type: "bytes32";
|
|
1147
|
-
readonly name: "salt";
|
|
1148
|
-
}, {
|
|
1149
|
-
readonly type: "uint256[]";
|
|
1150
|
-
readonly name: "extensions";
|
|
1151
|
-
}];
|
|
1152
|
-
}, {
|
|
1153
|
-
readonly name: "Transfer";
|
|
1154
|
-
readonly type: "event";
|
|
1155
|
-
readonly inputs: readonly [{
|
|
1156
|
-
readonly type: "address";
|
|
1157
|
-
readonly name: "from";
|
|
1158
|
-
readonly indexed: true;
|
|
1159
|
-
}, {
|
|
1160
|
-
readonly type: "address";
|
|
1161
|
-
readonly name: "to";
|
|
1162
|
-
readonly indexed: true;
|
|
1163
|
-
}, {
|
|
1164
|
-
readonly type: "uint256";
|
|
1165
|
-
readonly name: "value";
|
|
1166
|
-
}];
|
|
1167
|
-
}, {
|
|
1168
|
-
readonly name: "MinterAdded";
|
|
1169
|
-
readonly type: "event";
|
|
1170
|
-
readonly inputs: readonly [{
|
|
1171
|
-
readonly type: "address";
|
|
1172
|
-
readonly name: "minter";
|
|
1173
|
-
readonly indexed: true;
|
|
1174
|
-
}];
|
|
1175
|
-
}, {
|
|
1176
|
-
readonly name: "MinterRemoved";
|
|
1177
|
-
readonly type: "event";
|
|
1178
|
-
readonly inputs: readonly [{
|
|
1179
|
-
readonly type: "address";
|
|
1180
|
-
readonly name: "minter";
|
|
1181
|
-
readonly indexed: true;
|
|
1182
|
-
}];
|
|
1183
|
-
}, {
|
|
1184
|
-
readonly name: "BurnerAdded";
|
|
1185
|
-
readonly type: "event";
|
|
1186
|
-
readonly inputs: readonly [{
|
|
1187
|
-
readonly type: "address";
|
|
1188
|
-
readonly name: "burner";
|
|
1189
|
-
readonly indexed: true;
|
|
1190
|
-
}];
|
|
1191
|
-
}, {
|
|
1192
|
-
readonly name: "BurnerRemoved";
|
|
1193
|
-
readonly type: "event";
|
|
1194
|
-
readonly inputs: readonly [{
|
|
1195
|
-
readonly type: "address";
|
|
1196
|
-
readonly name: "burner";
|
|
1197
|
-
readonly indexed: true;
|
|
1198
|
-
}];
|
|
1199
|
-
}, {
|
|
1200
|
-
readonly name: "MintingOracleUpdated";
|
|
1201
|
-
readonly type: "event";
|
|
1202
|
-
readonly inputs: readonly [{
|
|
1203
|
-
readonly type: "address";
|
|
1204
|
-
readonly name: "mintingOracle";
|
|
1205
|
-
readonly indexed: true;
|
|
1206
|
-
}];
|
|
1207
|
-
}];
|
|
1208
|
-
|
|
1209
871
|
declare const BATCH_EXECUTOR_ADDRESS_BASE_MAINNET: `0x${string}`;
|
|
1210
872
|
declare const BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA: `0x${string}`;
|
|
1211
873
|
|
|
@@ -1643,4 +1305,4 @@ declare class PafiSDK {
|
|
|
1643
1305
|
signLoginMessage(message: string): Promise<Hex>;
|
|
1644
1306
|
}
|
|
1645
1307
|
|
|
1646
|
-
export { ApiError, BATCH_EXECUTOR_ABI, BATCH_EXECUTOR_ADDRESS_BASE_MAINNET, BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA, BROKER_HASHES, BestQuote, type BuildDelegationUserOpParams, type BuildPartialUserOpParams, type BuildPerpDepositWithGasDeductionParams, COMMON_POOLS, COMMON_TOKENS, CONTRACT_ADDRESSES, ChainConfig, type CheckEthAndBranchParams, ConfigurationError, type ContractAddresses, EIP712Signature, ENTRY_POINT_V07, LoginMessageParams, MintRequest, type ModalOpenOptions, ORDERLY_VAULT_ABI, ORDERLY_VAULT_ADDRESSES, ORDERLY_VAULT_BASE_MAINNET, Operation, PAFI_SUBGRAPH_URL, PERMIT2_ADDRESS, POINT_TOKEN_FACTORY_ADDRESSES, POINT_TOKEN_IMPL_ADDRESSES, POINT_TOKEN_POOLS,
|
|
1308
|
+
export { ApiError, BATCH_EXECUTOR_ABI, BATCH_EXECUTOR_ADDRESS_BASE_MAINNET, BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA, BROKER_HASHES, BestQuote, type BuildDelegationUserOpParams, type BuildPartialUserOpParams, type BuildPerpDepositWithGasDeductionParams, COMMON_POOLS, COMMON_TOKENS, CONTRACT_ADDRESSES, ChainConfig, type CheckEthAndBranchParams, ConfigurationError, type ContractAddresses, EIP712Signature, ENTRY_POINT_V07, LoginMessageParams, MintRequest, type ModalOpenOptions, ORDERLY_VAULT_ABI, ORDERLY_VAULT_ADDRESSES, ORDERLY_VAULT_BASE_MAINNET, Operation, PAFI_SUBGRAPH_URL, PERMIT2_ADDRESS, POINT_TOKEN_FACTORY_ADDRESSES, POINT_TOKEN_IMPL_ADDRESSES, POINT_TOKEN_POOLS, type PafiProxyTransportParams, PafiSDK, PafiSDKConfig, PafiSDKError, type PafiWebModalAdapter, type PafiWebModalHandle, PartialUserOperation, type PaymasterConfig, PointTokenDomainConfig, PoolKey, QuoteResult, ReceiverConsent, SUPPORTED_CHAINS, type SendWithPaymasterFallbackParams, type SignatureStruct, SignatureVerification, SigningError, SimulationError, type SmartAccountSender, type SponsorshipScenario, type SubmissionPath, SwapSimulationResult, TOKEN_HASHES, UNIVERSAL_ROUTER_ADDRESSES, UserOperation, V4_QUOTER_ADDRESSES, type VaultDepositFE, _resetPaymasterConfigForTests, assembleUserOperation, buildDelegationUserOp, buildPartialUserOperation, buildPerpDepositWithGasDeduction, burnRequestTypes, checkDelegation, checkEthAndBranch, computeAccountId, computeAuthorizationHash, computeUserOpHash, createPafiProxyTransport, decodeBatchExecuteCalls, encodeBatchExecute, erc20ApproveOp, erc20BurnOp, erc20TransferOp, fetchPafiPools, getAaNonce, getContractAddresses, getPafiWebModalAdapter, getPaymasterConfig, isDelegatedTo, isDelegatedToTarget, isPaymasterConfigured, isPaymasterError, mintRequestTypes, openPafiWebModal, openWebPopup, parseEip7702DelegatedAddress, rawCallOp, receiverConsentTypes, sendWithPaymasterFallback, serializeUserOpToJsonRpc, setPafiWebModalAdapter, setPaymasterConfig, webPopupAdapter };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pointTokenFactoryAbi
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y2MZ7MKJ.js";
|
|
4
4
|
import {
|
|
5
5
|
SPONSOR_AUTH_DOMAIN_NAME,
|
|
6
6
|
SPONSOR_AUTH_TYPES,
|
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
verifySponsorAuth
|
|
15
15
|
} from "./chunk-W6VULMCO.js";
|
|
16
16
|
import {
|
|
17
|
-
POINT_TOKEN_ABI,
|
|
18
17
|
getBurnRequestNonce,
|
|
19
18
|
getIssuer,
|
|
20
19
|
getIssuer2,
|
|
@@ -26,12 +25,12 @@ import {
|
|
|
26
25
|
isActiveIssuer,
|
|
27
26
|
isMinter,
|
|
28
27
|
verifyMintCap
|
|
29
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZGA5EAFJ.js";
|
|
30
29
|
import {
|
|
31
30
|
issuerRegistryAbi,
|
|
32
31
|
mintingOracleAbi,
|
|
33
32
|
pointTokenAbi
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5JZOJIBT.js";
|
|
35
34
|
import {
|
|
36
35
|
buildBurnRequestTypedData,
|
|
37
36
|
buildDomain,
|
|
@@ -981,7 +980,7 @@ export {
|
|
|
981
980
|
POINT_TOKEN_FACTORY_ADDRESSES,
|
|
982
981
|
POINT_TOKEN_IMPL_ADDRESSES,
|
|
983
982
|
POINT_TOKEN_POOLS,
|
|
984
|
-
|
|
983
|
+
pointTokenAbi as POINT_TOKEN_V2_ABI,
|
|
985
984
|
PafiSDK,
|
|
986
985
|
PafiSDKError,
|
|
987
986
|
SETTLE_ALL,
|