@pafi-dev/core 0.3.0-beta.4 → 0.3.0-beta.5
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 +2 -6
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.d.cts +1 -286
- package/dist/abi/index.d.ts +1 -286
- package/dist/abi/index.js +1 -5
- package/dist/{chunk-5YH4D7QF.js → chunk-7UBO7DY5.js} +1 -1
- package/dist/{chunk-FGKLDKJK.cjs → chunk-ALCWYDVG.cjs} +1 -1
- package/dist/{chunk-FGKLDKJK.cjs.map → chunk-ALCWYDVG.cjs.map} +1 -1
- package/dist/{chunk-X3I5XWAR.cjs → chunk-CQCSQPWG.cjs} +2 -15
- package/dist/chunk-CQCSQPWG.cjs.map +1 -0
- package/dist/{chunk-CXFUP2YK.cjs → chunk-EDR5SFJN.cjs} +46 -6
- package/dist/chunk-EDR5SFJN.cjs.map +1 -0
- package/dist/{chunk-VQSRCMMK.js → chunk-QGO6X6LG.js} +2 -15
- package/dist/chunk-QGO6X6LG.js.map +1 -0
- package/dist/{chunk-IK4UK7KT.js → chunk-W23EJNYG.js} +44 -4
- package/dist/chunk-W23EJNYG.js.map +1 -0
- package/dist/contract/index.cjs +2 -5
- package/dist/contract/index.cjs.map +1 -1
- package/dist/contract/index.d.cts +2 -4
- package/dist/contract/index.d.ts +2 -4
- package/dist/contract/index.js +1 -4
- package/dist/eip712/index.d.cts +1 -1
- package/dist/eip712/index.d.ts +1 -1
- package/dist/{index-BYL8Nn-n.d.ts → index-B06IJlHe.d.ts} +1 -1
- package/dist/{index-B5OJ9Kcx.d.cts → index-B7pGBych.d.cts} +1 -1
- package/dist/index.cjs +36 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +64 -115
- package/dist/index.d.ts +64 -115
- package/dist/index.js +34 -120
- 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.cjs +2 -3
- package/dist/swap/index.cjs.map +1 -1
- package/dist/swap/index.d.cts +2 -2
- package/dist/swap/index.d.ts +2 -2
- package/dist/swap/index.js +1 -2
- package/dist/{types-DGDlKiDe.d.ts → types-b5_Tokjl.d.cts} +1 -17
- package/dist/{types-DGDlKiDe.d.cts → types-b5_Tokjl.d.ts} +1 -17
- package/package.json +1 -1
- package/dist/chunk-27V32VNM.cjs +0 -370
- package/dist/chunk-27V32VNM.cjs.map +0 -1
- package/dist/chunk-4RYBJLF3.js +0 -370
- package/dist/chunk-4RYBJLF3.js.map +0 -1
- package/dist/chunk-5QJZT7VB.cjs +0 -46
- package/dist/chunk-5QJZT7VB.cjs.map +0 -1
- package/dist/chunk-CXFUP2YK.cjs.map +0 -1
- package/dist/chunk-IK4UK7KT.js.map +0 -1
- package/dist/chunk-L74CZAVQ.cjs +0 -99
- package/dist/chunk-L74CZAVQ.cjs.map +0 -1
- package/dist/chunk-P56TUGTS.js +0 -46
- package/dist/chunk-P56TUGTS.js.map +0 -1
- package/dist/chunk-VQSRCMMK.js.map +0 -1
- package/dist/chunk-X3I5XWAR.cjs.map +0 -1
- package/dist/chunk-X4IXUTTD.js +0 -99
- package/dist/chunk-X4IXUTTD.js.map +0 -1
- package/dist/relay/index.cjs +0 -19
- package/dist/relay/index.cjs.map +0 -1
- package/dist/relay/index.d.cts +0 -75
- package/dist/relay/index.d.ts +0 -75
- package/dist/relay/index.js +0 -19
- package/dist/relay/index.js.map +0 -1
- /package/dist/{chunk-5YH4D7QF.js.map → chunk-7UBO7DY5.js.map} +0 -0
|
@@ -39,16 +39,6 @@ interface SignatureVerification {
|
|
|
39
39
|
recoveredAddress: Address;
|
|
40
40
|
}
|
|
41
41
|
/** Auto-generated from Solidity struct — do not edit */
|
|
42
|
-
interface MintParams {
|
|
43
|
-
pointToken: Address;
|
|
44
|
-
receiver: Address;
|
|
45
|
-
amount: bigint;
|
|
46
|
-
deadline: bigint;
|
|
47
|
-
minterSig: Hex;
|
|
48
|
-
receiverSig: Hex;
|
|
49
|
-
extData: Hex;
|
|
50
|
-
}
|
|
51
|
-
/** Auto-generated from Solidity struct — do not edit */
|
|
52
42
|
interface PathKey {
|
|
53
43
|
intermediateCurrency: Address;
|
|
54
44
|
fee: number;
|
|
@@ -57,11 +47,6 @@ interface PathKey {
|
|
|
57
47
|
hookData: Hex;
|
|
58
48
|
}
|
|
59
49
|
/** Auto-generated from Solidity struct — do not edit */
|
|
60
|
-
interface SwapParams {
|
|
61
|
-
path: PathKey[];
|
|
62
|
-
deadline: bigint;
|
|
63
|
-
}
|
|
64
|
-
/** Auto-generated from Solidity struct — do not edit */
|
|
65
50
|
interface Issuer {
|
|
66
51
|
issuerAddress: Address;
|
|
67
52
|
signerAddress: Address;
|
|
@@ -95,11 +80,10 @@ interface BestQuote {
|
|
|
95
80
|
}
|
|
96
81
|
interface PafiSDKConfig {
|
|
97
82
|
pointTokenAddress?: Address;
|
|
98
|
-
relayContractAddress?: Address;
|
|
99
83
|
signer?: WalletClient;
|
|
100
84
|
provider?: PublicClient;
|
|
101
85
|
rpcUrl?: string;
|
|
102
86
|
chainId?: number;
|
|
103
87
|
}
|
|
104
88
|
|
|
105
|
-
export type { BestQuote as B, ChainConfig as C, EIP712Signature as E, Issuer as I, MintRequest as M, PoolKey as P, QuoteResult as Q, ReceiverConsent as R, SignatureVerification as S, PafiSDKConfig as a, PointTokenDomainConfig as b,
|
|
89
|
+
export type { BestQuote as B, ChainConfig as C, EIP712Signature as E, Issuer as I, MintRequest as M, PoolKey as P, QuoteResult as Q, ReceiverConsent as R, SignatureVerification as S, PafiSDKConfig as a, PointTokenDomainConfig as b, BurnRequest as c, PathKey as d };
|
|
@@ -39,16 +39,6 @@ interface SignatureVerification {
|
|
|
39
39
|
recoveredAddress: Address;
|
|
40
40
|
}
|
|
41
41
|
/** Auto-generated from Solidity struct — do not edit */
|
|
42
|
-
interface MintParams {
|
|
43
|
-
pointToken: Address;
|
|
44
|
-
receiver: Address;
|
|
45
|
-
amount: bigint;
|
|
46
|
-
deadline: bigint;
|
|
47
|
-
minterSig: Hex;
|
|
48
|
-
receiverSig: Hex;
|
|
49
|
-
extData: Hex;
|
|
50
|
-
}
|
|
51
|
-
/** Auto-generated from Solidity struct — do not edit */
|
|
52
42
|
interface PathKey {
|
|
53
43
|
intermediateCurrency: Address;
|
|
54
44
|
fee: number;
|
|
@@ -57,11 +47,6 @@ interface PathKey {
|
|
|
57
47
|
hookData: Hex;
|
|
58
48
|
}
|
|
59
49
|
/** Auto-generated from Solidity struct — do not edit */
|
|
60
|
-
interface SwapParams {
|
|
61
|
-
path: PathKey[];
|
|
62
|
-
deadline: bigint;
|
|
63
|
-
}
|
|
64
|
-
/** Auto-generated from Solidity struct — do not edit */
|
|
65
50
|
interface Issuer {
|
|
66
51
|
issuerAddress: Address;
|
|
67
52
|
signerAddress: Address;
|
|
@@ -95,11 +80,10 @@ interface BestQuote {
|
|
|
95
80
|
}
|
|
96
81
|
interface PafiSDKConfig {
|
|
97
82
|
pointTokenAddress?: Address;
|
|
98
|
-
relayContractAddress?: Address;
|
|
99
83
|
signer?: WalletClient;
|
|
100
84
|
provider?: PublicClient;
|
|
101
85
|
rpcUrl?: string;
|
|
102
86
|
chainId?: number;
|
|
103
87
|
}
|
|
104
88
|
|
|
105
|
-
export type { BestQuote as B, ChainConfig as C, EIP712Signature as E, Issuer as I, MintRequest as M, PoolKey as P, QuoteResult as Q, ReceiverConsent as R, SignatureVerification as S, PafiSDKConfig as a, PointTokenDomainConfig as b,
|
|
89
|
+
export type { BestQuote as B, ChainConfig as C, EIP712Signature as E, Issuer as I, MintRequest as M, PoolKey as P, QuoteResult as Q, ReceiverConsent as R, SignatureVerification as S, PafiSDKConfig as a, PointTokenDomainConfig as b, BurnRequest as c, PathKey as d };
|
package/package.json
CHANGED
package/dist/chunk-27V32VNM.cjs
DELETED
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/abi/relay.ts
|
|
2
|
-
var relayAbi = [
|
|
3
|
-
{
|
|
4
|
-
"type": "constructor",
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"name": "initialOwner",
|
|
8
|
-
"type": "address",
|
|
9
|
-
"internalType": "address"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "_poolManager",
|
|
13
|
-
"type": "address",
|
|
14
|
-
"internalType": "address"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "_usdt",
|
|
18
|
-
"type": "address",
|
|
19
|
-
"internalType": "address"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"stateMutability": "nonpayable"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "function",
|
|
26
|
-
"name": "acceptOwnership",
|
|
27
|
-
"inputs": [],
|
|
28
|
-
"outputs": [],
|
|
29
|
-
"stateMutability": "nonpayable"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"type": "function",
|
|
33
|
-
"name": "mintAndSwap",
|
|
34
|
-
"inputs": [
|
|
35
|
-
{
|
|
36
|
-
"name": "mint",
|
|
37
|
-
"type": "tuple",
|
|
38
|
-
"internalType": "struct Relay.MintParams",
|
|
39
|
-
"components": [
|
|
40
|
-
{
|
|
41
|
-
"name": "pointToken",
|
|
42
|
-
"type": "address",
|
|
43
|
-
"internalType": "address"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "receiver",
|
|
47
|
-
"type": "address",
|
|
48
|
-
"internalType": "address"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "amount",
|
|
52
|
-
"type": "uint256",
|
|
53
|
-
"internalType": "uint256"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "deadline",
|
|
57
|
-
"type": "uint256",
|
|
58
|
-
"internalType": "uint256"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "minterSig",
|
|
62
|
-
"type": "bytes",
|
|
63
|
-
"internalType": "bytes"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "receiverSig",
|
|
67
|
-
"type": "bytes",
|
|
68
|
-
"internalType": "bytes"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "extData",
|
|
72
|
-
"type": "bytes",
|
|
73
|
-
"internalType": "bytes"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "swap",
|
|
79
|
-
"type": "tuple",
|
|
80
|
-
"internalType": "struct Relay.SwapParams",
|
|
81
|
-
"components": [
|
|
82
|
-
{
|
|
83
|
-
"name": "path",
|
|
84
|
-
"type": "tuple[]",
|
|
85
|
-
"internalType": "struct Relay.PathKey[]",
|
|
86
|
-
"components": [
|
|
87
|
-
{
|
|
88
|
-
"name": "intermediateCurrency",
|
|
89
|
-
"type": "address",
|
|
90
|
-
"internalType": "address"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "fee",
|
|
94
|
-
"type": "uint24",
|
|
95
|
-
"internalType": "uint24"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "tickSpacing",
|
|
99
|
-
"type": "int24",
|
|
100
|
-
"internalType": "int24"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "hooks",
|
|
104
|
-
"type": "address",
|
|
105
|
-
"internalType": "address"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "hookData",
|
|
109
|
-
"type": "bytes",
|
|
110
|
-
"internalType": "bytes"
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "deadline",
|
|
116
|
-
"type": "uint256",
|
|
117
|
-
"internalType": "uint256"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"outputs": [],
|
|
123
|
-
"stateMutability": "nonpayable"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "function",
|
|
127
|
-
"name": "owner",
|
|
128
|
-
"inputs": [],
|
|
129
|
-
"outputs": [
|
|
130
|
-
{
|
|
131
|
-
"name": "",
|
|
132
|
-
"type": "address",
|
|
133
|
-
"internalType": "address"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"stateMutability": "view"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"type": "function",
|
|
140
|
-
"name": "pendingOwner",
|
|
141
|
-
"inputs": [],
|
|
142
|
-
"outputs": [
|
|
143
|
-
{
|
|
144
|
-
"name": "",
|
|
145
|
-
"type": "address",
|
|
146
|
-
"internalType": "address"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"stateMutability": "view"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"type": "function",
|
|
153
|
-
"name": "poolManager",
|
|
154
|
-
"inputs": [],
|
|
155
|
-
"outputs": [
|
|
156
|
-
{
|
|
157
|
-
"name": "",
|
|
158
|
-
"type": "address",
|
|
159
|
-
"internalType": "address"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"stateMutability": "view"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"type": "function",
|
|
166
|
-
"name": "renounceOwnership",
|
|
167
|
-
"inputs": [],
|
|
168
|
-
"outputs": [],
|
|
169
|
-
"stateMutability": "nonpayable"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"type": "function",
|
|
173
|
-
"name": "transferOwnership",
|
|
174
|
-
"inputs": [
|
|
175
|
-
{
|
|
176
|
-
"name": "newOwner",
|
|
177
|
-
"type": "address",
|
|
178
|
-
"internalType": "address"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"outputs": [],
|
|
182
|
-
"stateMutability": "nonpayable"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"type": "function",
|
|
186
|
-
"name": "unlockCallback",
|
|
187
|
-
"inputs": [
|
|
188
|
-
{
|
|
189
|
-
"name": "data",
|
|
190
|
-
"type": "bytes",
|
|
191
|
-
"internalType": "bytes"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"outputs": [
|
|
195
|
-
{
|
|
196
|
-
"name": "",
|
|
197
|
-
"type": "bytes",
|
|
198
|
-
"internalType": "bytes"
|
|
199
|
-
}
|
|
200
|
-
],
|
|
201
|
-
"stateMutability": "nonpayable"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"type": "function",
|
|
205
|
-
"name": "usdt",
|
|
206
|
-
"inputs": [],
|
|
207
|
-
"outputs": [
|
|
208
|
-
{
|
|
209
|
-
"name": "",
|
|
210
|
-
"type": "address",
|
|
211
|
-
"internalType": "address"
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"stateMutability": "view"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"type": "event",
|
|
218
|
-
"name": "MintAndSwapExecuted",
|
|
219
|
-
"inputs": [
|
|
220
|
-
{
|
|
221
|
-
"name": "pointToken",
|
|
222
|
-
"type": "address",
|
|
223
|
-
"indexed": true,
|
|
224
|
-
"internalType": "address"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "receiver",
|
|
228
|
-
"type": "address",
|
|
229
|
-
"indexed": true,
|
|
230
|
-
"internalType": "address"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "mintAmount",
|
|
234
|
-
"type": "uint256",
|
|
235
|
-
"indexed": false,
|
|
236
|
-
"internalType": "uint256"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "usdtOut",
|
|
240
|
-
"type": "uint256",
|
|
241
|
-
"indexed": false,
|
|
242
|
-
"internalType": "uint256"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"name": "fee",
|
|
246
|
-
"type": "uint256",
|
|
247
|
-
"indexed": false,
|
|
248
|
-
"internalType": "uint256"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "relayer",
|
|
252
|
-
"type": "address",
|
|
253
|
-
"indexed": true,
|
|
254
|
-
"internalType": "address"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"anonymous": false
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"type": "event",
|
|
261
|
-
"name": "OwnershipTransferStarted",
|
|
262
|
-
"inputs": [
|
|
263
|
-
{
|
|
264
|
-
"name": "previousOwner",
|
|
265
|
-
"type": "address",
|
|
266
|
-
"indexed": true,
|
|
267
|
-
"internalType": "address"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "newOwner",
|
|
271
|
-
"type": "address",
|
|
272
|
-
"indexed": true,
|
|
273
|
-
"internalType": "address"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"anonymous": false
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"type": "event",
|
|
280
|
-
"name": "OwnershipTransferred",
|
|
281
|
-
"inputs": [
|
|
282
|
-
{
|
|
283
|
-
"name": "previousOwner",
|
|
284
|
-
"type": "address",
|
|
285
|
-
"indexed": true,
|
|
286
|
-
"internalType": "address"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "newOwner",
|
|
290
|
-
"type": "address",
|
|
291
|
-
"indexed": true,
|
|
292
|
-
"internalType": "address"
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"anonymous": false
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"type": "error",
|
|
299
|
-
"name": "DeadlineExpired",
|
|
300
|
-
"inputs": []
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"type": "error",
|
|
304
|
-
"name": "FeeExceedsOutput",
|
|
305
|
-
"inputs": []
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"type": "error",
|
|
309
|
-
"name": "InsufficientOutputAmount",
|
|
310
|
-
"inputs": []
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"type": "error",
|
|
314
|
-
"name": "InvalidPath",
|
|
315
|
-
"inputs": []
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"type": "error",
|
|
319
|
-
"name": "OnlyPoolManager",
|
|
320
|
-
"inputs": []
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"type": "error",
|
|
324
|
-
"name": "OwnableInvalidOwner",
|
|
325
|
-
"inputs": [
|
|
326
|
-
{
|
|
327
|
-
"name": "owner",
|
|
328
|
-
"type": "address",
|
|
329
|
-
"internalType": "address"
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"type": "error",
|
|
335
|
-
"name": "OwnableUnauthorizedAccount",
|
|
336
|
-
"inputs": [
|
|
337
|
-
{
|
|
338
|
-
"name": "account",
|
|
339
|
-
"type": "address",
|
|
340
|
-
"internalType": "address"
|
|
341
|
-
}
|
|
342
|
-
]
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"type": "error",
|
|
346
|
-
"name": "ReentrancyGuardReentrantCall",
|
|
347
|
-
"inputs": []
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"type": "error",
|
|
351
|
-
"name": "SafeERC20FailedOperation",
|
|
352
|
-
"inputs": [
|
|
353
|
-
{
|
|
354
|
-
"name": "token",
|
|
355
|
-
"type": "address",
|
|
356
|
-
"internalType": "address"
|
|
357
|
-
}
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"type": "error",
|
|
362
|
-
"name": "ZeroAddress",
|
|
363
|
-
"inputs": []
|
|
364
|
-
}
|
|
365
|
-
];
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
exports.relayAbi = relayAbi;
|
|
370
|
-
//# sourceMappingURL=chunk-27V32VNM.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/phitran/Pacific-Finance/pafi-backend/pafi-sdk/pack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ACE,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,qBAAA;AAAA,IACR,QAAA,EAAU;AAAA,MACR;AAAA,QACE,MAAA,EAAQ,OAAA;AAAA,QACR,MAAA,EAAQ,SAAA;AAAA,QACR,cAAA,EAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF,CAAA;AAAA,EACA;AAAA,IACE,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,4BAAA;AAAA,IACR,QAAA,EAAU;AAAA,MACR;AAAA,QACE,MAAA,EAAQ,SAAA;AAAA,QACR,MAAA,EAAQ,SAAA;AAAA,QACR,cAAA,EAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF,CAAA;AAAA,EACA;AAAA,IACE,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,8BAAA;AAAA,IACR,QAAA,EAAU,CAAC;AAAA,EACb,CAAA;AAAA,EACA;AAAA,IACE,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,0BAAA;AAAA,IACR,QAAA,EAAU;AAAA,MACR;AAAA,QACE,MAAA,EAAQ,OAAA;AAAA,QACR,MAAA,EAAQ,SAAA;AAAA,QACR,cAAA,EAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF,CAAA;AAAA,EACA;AAAA,IACE,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,aAAA;AAAA,IACR,QAAA,EAAU,CAAC;AAAA,EACb;AACF,CAAA;ADCA;AACA;AACE;AACF,4BAAC","file":"/Users/phitran/Pacific-Finance/pafi-backend/pafi-sdk/packages/core/dist/chunk-27V32VNM.cjs","sourcesContent":[null,"/** ABI for Relay contract (mint + swap via PoolManager) — auto-generated from Foundry artifacts, do not edit */\nexport const relayAbi = [\n {\n \"type\": \"constructor\",\n \"inputs\": [\n {\n \"name\": \"initialOwner\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"_poolManager\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"_usdt\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"acceptOwnership\",\n \"inputs\": [],\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"mintAndSwap\",\n \"inputs\": [\n {\n \"name\": \"mint\",\n \"type\": \"tuple\",\n \"internalType\": \"struct Relay.MintParams\",\n \"components\": [\n {\n \"name\": \"pointToken\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"receiver\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"amount\",\n \"type\": \"uint256\",\n \"internalType\": \"uint256\"\n },\n {\n \"name\": \"deadline\",\n \"type\": \"uint256\",\n \"internalType\": \"uint256\"\n },\n {\n \"name\": \"minterSig\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n },\n {\n \"name\": \"receiverSig\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n },\n {\n \"name\": \"extData\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n }\n ]\n },\n {\n \"name\": \"swap\",\n \"type\": \"tuple\",\n \"internalType\": \"struct Relay.SwapParams\",\n \"components\": [\n {\n \"name\": \"path\",\n \"type\": \"tuple[]\",\n \"internalType\": \"struct Relay.PathKey[]\",\n \"components\": [\n {\n \"name\": \"intermediateCurrency\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"fee\",\n \"type\": \"uint24\",\n \"internalType\": \"uint24\"\n },\n {\n \"name\": \"tickSpacing\",\n \"type\": \"int24\",\n \"internalType\": \"int24\"\n },\n {\n \"name\": \"hooks\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n },\n {\n \"name\": \"hookData\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n }\n ]\n },\n {\n \"name\": \"deadline\",\n \"type\": \"uint256\",\n \"internalType\": \"uint256\"\n }\n ]\n }\n ],\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"owner\",\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"stateMutability\": \"view\"\n },\n {\n \"type\": \"function\",\n \"name\": \"pendingOwner\",\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"stateMutability\": \"view\"\n },\n {\n \"type\": \"function\",\n \"name\": \"poolManager\",\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"stateMutability\": \"view\"\n },\n {\n \"type\": \"function\",\n \"name\": \"renounceOwnership\",\n \"inputs\": [],\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"transferOwnership\",\n \"inputs\": [\n {\n \"name\": \"newOwner\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"unlockCallback\",\n \"inputs\": [\n {\n \"name\": \"data\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n }\n ],\n \"outputs\": [\n {\n \"name\": \"\",\n \"type\": \"bytes\",\n \"internalType\": \"bytes\"\n }\n ],\n \"stateMutability\": \"nonpayable\"\n },\n {\n \"type\": \"function\",\n \"name\": \"usdt\",\n \"inputs\": [],\n \"outputs\": [\n {\n \"name\": \"\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ],\n \"stateMutability\": \"view\"\n },\n {\n \"type\": \"event\",\n \"name\": \"MintAndSwapExecuted\",\n \"inputs\": [\n {\n \"name\": \"pointToken\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n },\n {\n \"name\": \"receiver\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n },\n {\n \"name\": \"mintAmount\",\n \"type\": \"uint256\",\n \"indexed\": false,\n \"internalType\": \"uint256\"\n },\n {\n \"name\": \"usdtOut\",\n \"type\": \"uint256\",\n \"indexed\": false,\n \"internalType\": \"uint256\"\n },\n {\n \"name\": \"fee\",\n \"type\": \"uint256\",\n \"indexed\": false,\n \"internalType\": \"uint256\"\n },\n {\n \"name\": \"relayer\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n }\n ],\n \"anonymous\": false\n },\n {\n \"type\": \"event\",\n \"name\": \"OwnershipTransferStarted\",\n \"inputs\": [\n {\n \"name\": \"previousOwner\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n },\n {\n \"name\": \"newOwner\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n }\n ],\n \"anonymous\": false\n },\n {\n \"type\": \"event\",\n \"name\": \"OwnershipTransferred\",\n \"inputs\": [\n {\n \"name\": \"previousOwner\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n },\n {\n \"name\": \"newOwner\",\n \"type\": \"address\",\n \"indexed\": true,\n \"internalType\": \"address\"\n }\n ],\n \"anonymous\": false\n },\n {\n \"type\": \"error\",\n \"name\": \"DeadlineExpired\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"FeeExceedsOutput\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"InsufficientOutputAmount\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"InvalidPath\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"OnlyPoolManager\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"OwnableInvalidOwner\",\n \"inputs\": [\n {\n \"name\": \"owner\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ]\n },\n {\n \"type\": \"error\",\n \"name\": \"OwnableUnauthorizedAccount\",\n \"inputs\": [\n {\n \"name\": \"account\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ]\n },\n {\n \"type\": \"error\",\n \"name\": \"ReentrancyGuardReentrantCall\",\n \"inputs\": []\n },\n {\n \"type\": \"error\",\n \"name\": \"SafeERC20FailedOperation\",\n \"inputs\": [\n {\n \"name\": \"token\",\n \"type\": \"address\",\n \"internalType\": \"address\"\n }\n ]\n },\n {\n \"type\": \"error\",\n \"name\": \"ZeroAddress\",\n \"inputs\": []\n }\n] as const;\n"]}
|