@pendle/core-v2 4.5.1-beta-1 → 4.5.1-oracle-beta
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/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +0 -431
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -431
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPPtLpOracle.sol/IPPtLpOracle.json → IPPYLpOracle.sol/IPPYLpOracle.json} +50 -2
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
- package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.json +422 -0
- package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendlePtOracleLib.sol/PendlePtOracleLib.json → PendlePYOracleLib.sol/PendlePYOracleLib.json} +4 -4
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +183 -0
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +183 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -591
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +56 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
- package/contracts/interfaces/IPActionMiscV3.sol +0 -38
- package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
- package/contracts/interfaces/{IPPtLpOracle.sol → IPPYLpOracle.sol} +5 -1
- package/contracts/interfaces/IPPausingInterface.sol +8 -0
- package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
- package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
- package/contracts/oracles/PendleLpOracleLib.sol +4 -4
- package/contracts/oracles/{PendlePtLpOracle.sol → PendlePYLpOracle.sol} +44 -16
- package/contracts/oracles/{PendlePtOracleLib.sol → PendlePYOracleLib.sol} +31 -1
- package/contracts/oracles/samples/BoringLpGlpOracle.sol +2 -2
- package/contracts/oracles/samples/{BoringPtUsdChainlinkOracle.sol → BoringPYUsdChainlinkAssetOracle.sol} +36 -12
- package/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol +102 -0
- package/contracts/router/ActionMiscV3.sol +36 -216
- package/contracts/router/ActionSwapYTV3.sol +85 -0
- package/contracts/router/base/ActionBase.sol +1 -106
- package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
- package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
- package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
- package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
- package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
- package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
- package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
- package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
- package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
- package/package.json +1 -1
- package/typechain-types/ActionMiscV3.ts +16 -379
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/IPActionMiscV3.ts +16 -249
- package/typechain-types/IPAllActionV3.ts +0 -156
- package/typechain-types/IPGovernanceProxy.ts +142 -0
- package/typechain-types/IPPYLpOracle.ts +379 -0
- package/typechain-types/IPPausingInterface.ts +112 -0
- package/typechain-types/PendleGovernanceProxy.ts +603 -0
- package/typechain-types/PendlePYLpOracle.ts +612 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -590
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
- package/typechain-types/factories/IPActionMiscV3__factory.ts +0 -431
- package/typechain-types/factories/IPAllActionV3__factory.ts +0 -431
- package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
- package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
- package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +63 -0
- package/typechain-types/index.ts +14 -0
- package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +0 -367
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +0 -157
- /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
- /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
- /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
|
@@ -274,437 +274,6 @@
|
|
|
274
274
|
"stateMutability": "nonpayable",
|
|
275
275
|
"type": "function"
|
|
276
276
|
},
|
|
277
|
-
{
|
|
278
|
-
"inputs": [
|
|
279
|
-
{
|
|
280
|
-
"internalType": "address",
|
|
281
|
-
"name": "receiver",
|
|
282
|
-
"type": "address"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"internalType": "address",
|
|
286
|
-
"name": "market",
|
|
287
|
-
"type": "address"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"internalType": "uint256",
|
|
291
|
-
"name": "netPtIn",
|
|
292
|
-
"type": "uint256"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"internalType": "uint256",
|
|
296
|
-
"name": "netLpIn",
|
|
297
|
-
"type": "uint256"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"components": [
|
|
301
|
-
{
|
|
302
|
-
"internalType": "address",
|
|
303
|
-
"name": "tokenOut",
|
|
304
|
-
"type": "address"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"internalType": "uint256",
|
|
308
|
-
"name": "minTokenOut",
|
|
309
|
-
"type": "uint256"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"internalType": "address",
|
|
313
|
-
"name": "tokenRedeemSy",
|
|
314
|
-
"type": "address"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"internalType": "address",
|
|
318
|
-
"name": "pendleSwap",
|
|
319
|
-
"type": "address"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"components": [
|
|
323
|
-
{
|
|
324
|
-
"internalType": "enum SwapType",
|
|
325
|
-
"name": "swapType",
|
|
326
|
-
"type": "uint8"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"internalType": "address",
|
|
330
|
-
"name": "extRouter",
|
|
331
|
-
"type": "address"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"internalType": "bytes",
|
|
335
|
-
"name": "extCalldata",
|
|
336
|
-
"type": "bytes"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"internalType": "bool",
|
|
340
|
-
"name": "needScale",
|
|
341
|
-
"type": "bool"
|
|
342
|
-
}
|
|
343
|
-
],
|
|
344
|
-
"internalType": "struct SwapData",
|
|
345
|
-
"name": "swapData",
|
|
346
|
-
"type": "tuple"
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"internalType": "struct TokenOutput",
|
|
350
|
-
"name": "output",
|
|
351
|
-
"type": "tuple"
|
|
352
|
-
}
|
|
353
|
-
],
|
|
354
|
-
"name": "exitMultiplePostExpiry",
|
|
355
|
-
"outputs": [
|
|
356
|
-
{
|
|
357
|
-
"internalType": "uint256",
|
|
358
|
-
"name": "netTokenOut",
|
|
359
|
-
"type": "uint256"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"internalType": "uint256",
|
|
363
|
-
"name": "netPtFromRemove",
|
|
364
|
-
"type": "uint256"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"internalType": "uint256",
|
|
368
|
-
"name": "netSyFromRemove",
|
|
369
|
-
"type": "uint256"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"internalType": "uint256",
|
|
373
|
-
"name": "netPtRedeem",
|
|
374
|
-
"type": "uint256"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"internalType": "uint256",
|
|
378
|
-
"name": "netSyFromRedeem",
|
|
379
|
-
"type": "uint256"
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"stateMutability": "nonpayable",
|
|
383
|
-
"type": "function"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"inputs": [
|
|
387
|
-
{
|
|
388
|
-
"internalType": "address",
|
|
389
|
-
"name": "receiver",
|
|
390
|
-
"type": "address"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"internalType": "address",
|
|
394
|
-
"name": "market",
|
|
395
|
-
"type": "address"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"internalType": "uint256",
|
|
399
|
-
"name": "netPtIn",
|
|
400
|
-
"type": "uint256"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"internalType": "uint256",
|
|
404
|
-
"name": "netYtIn",
|
|
405
|
-
"type": "uint256"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"internalType": "uint256",
|
|
409
|
-
"name": "netLpIn",
|
|
410
|
-
"type": "uint256"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"components": [
|
|
414
|
-
{
|
|
415
|
-
"internalType": "address",
|
|
416
|
-
"name": "tokenOut",
|
|
417
|
-
"type": "address"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"internalType": "uint256",
|
|
421
|
-
"name": "minTokenOut",
|
|
422
|
-
"type": "uint256"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"internalType": "address",
|
|
426
|
-
"name": "tokenRedeemSy",
|
|
427
|
-
"type": "address"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"internalType": "address",
|
|
431
|
-
"name": "pendleSwap",
|
|
432
|
-
"type": "address"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"components": [
|
|
436
|
-
{
|
|
437
|
-
"internalType": "enum SwapType",
|
|
438
|
-
"name": "swapType",
|
|
439
|
-
"type": "uint8"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"internalType": "address",
|
|
443
|
-
"name": "extRouter",
|
|
444
|
-
"type": "address"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"internalType": "bytes",
|
|
448
|
-
"name": "extCalldata",
|
|
449
|
-
"type": "bytes"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"internalType": "bool",
|
|
453
|
-
"name": "needScale",
|
|
454
|
-
"type": "bool"
|
|
455
|
-
}
|
|
456
|
-
],
|
|
457
|
-
"internalType": "struct SwapData",
|
|
458
|
-
"name": "swapData",
|
|
459
|
-
"type": "tuple"
|
|
460
|
-
}
|
|
461
|
-
],
|
|
462
|
-
"internalType": "struct TokenOutput",
|
|
463
|
-
"name": "output",
|
|
464
|
-
"type": "tuple"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"components": [
|
|
468
|
-
{
|
|
469
|
-
"internalType": "address",
|
|
470
|
-
"name": "limitRouter",
|
|
471
|
-
"type": "address"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"internalType": "uint256",
|
|
475
|
-
"name": "epsSkipMarket",
|
|
476
|
-
"type": "uint256"
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"components": [
|
|
480
|
-
{
|
|
481
|
-
"components": [
|
|
482
|
-
{
|
|
483
|
-
"internalType": "uint256",
|
|
484
|
-
"name": "salt",
|
|
485
|
-
"type": "uint256"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"internalType": "uint256",
|
|
489
|
-
"name": "expiry",
|
|
490
|
-
"type": "uint256"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"internalType": "uint256",
|
|
494
|
-
"name": "nonce",
|
|
495
|
-
"type": "uint256"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"internalType": "enum IPLimitOrderType.OrderType",
|
|
499
|
-
"name": "orderType",
|
|
500
|
-
"type": "uint8"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"internalType": "address",
|
|
504
|
-
"name": "token",
|
|
505
|
-
"type": "address"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"internalType": "address",
|
|
509
|
-
"name": "YT",
|
|
510
|
-
"type": "address"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"internalType": "address",
|
|
514
|
-
"name": "maker",
|
|
515
|
-
"type": "address"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"internalType": "address",
|
|
519
|
-
"name": "receiver",
|
|
520
|
-
"type": "address"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"internalType": "uint256",
|
|
524
|
-
"name": "makingAmount",
|
|
525
|
-
"type": "uint256"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"internalType": "uint256",
|
|
529
|
-
"name": "lnImpliedRate",
|
|
530
|
-
"type": "uint256"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"internalType": "uint256",
|
|
534
|
-
"name": "failSafeRate",
|
|
535
|
-
"type": "uint256"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"internalType": "bytes",
|
|
539
|
-
"name": "permit",
|
|
540
|
-
"type": "bytes"
|
|
541
|
-
}
|
|
542
|
-
],
|
|
543
|
-
"internalType": "struct Order",
|
|
544
|
-
"name": "order",
|
|
545
|
-
"type": "tuple"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"internalType": "bytes",
|
|
549
|
-
"name": "signature",
|
|
550
|
-
"type": "bytes"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"internalType": "uint256",
|
|
554
|
-
"name": "makingAmount",
|
|
555
|
-
"type": "uint256"
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
"internalType": "struct FillOrderParams[]",
|
|
559
|
-
"name": "normalFills",
|
|
560
|
-
"type": "tuple[]"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"components": [
|
|
564
|
-
{
|
|
565
|
-
"components": [
|
|
566
|
-
{
|
|
567
|
-
"internalType": "uint256",
|
|
568
|
-
"name": "salt",
|
|
569
|
-
"type": "uint256"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"internalType": "uint256",
|
|
573
|
-
"name": "expiry",
|
|
574
|
-
"type": "uint256"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"internalType": "uint256",
|
|
578
|
-
"name": "nonce",
|
|
579
|
-
"type": "uint256"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"internalType": "enum IPLimitOrderType.OrderType",
|
|
583
|
-
"name": "orderType",
|
|
584
|
-
"type": "uint8"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"internalType": "address",
|
|
588
|
-
"name": "token",
|
|
589
|
-
"type": "address"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"internalType": "address",
|
|
593
|
-
"name": "YT",
|
|
594
|
-
"type": "address"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"internalType": "address",
|
|
598
|
-
"name": "maker",
|
|
599
|
-
"type": "address"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"internalType": "address",
|
|
603
|
-
"name": "receiver",
|
|
604
|
-
"type": "address"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"internalType": "uint256",
|
|
608
|
-
"name": "makingAmount",
|
|
609
|
-
"type": "uint256"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"internalType": "uint256",
|
|
613
|
-
"name": "lnImpliedRate",
|
|
614
|
-
"type": "uint256"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"internalType": "uint256",
|
|
618
|
-
"name": "failSafeRate",
|
|
619
|
-
"type": "uint256"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"internalType": "bytes",
|
|
623
|
-
"name": "permit",
|
|
624
|
-
"type": "bytes"
|
|
625
|
-
}
|
|
626
|
-
],
|
|
627
|
-
"internalType": "struct Order",
|
|
628
|
-
"name": "order",
|
|
629
|
-
"type": "tuple"
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"internalType": "bytes",
|
|
633
|
-
"name": "signature",
|
|
634
|
-
"type": "bytes"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"internalType": "uint256",
|
|
638
|
-
"name": "makingAmount",
|
|
639
|
-
"type": "uint256"
|
|
640
|
-
}
|
|
641
|
-
],
|
|
642
|
-
"internalType": "struct FillOrderParams[]",
|
|
643
|
-
"name": "flashFills",
|
|
644
|
-
"type": "tuple[]"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"internalType": "bytes",
|
|
648
|
-
"name": "optData",
|
|
649
|
-
"type": "bytes"
|
|
650
|
-
}
|
|
651
|
-
],
|
|
652
|
-
"internalType": "struct LimitOrderData",
|
|
653
|
-
"name": "limit",
|
|
654
|
-
"type": "tuple"
|
|
655
|
-
}
|
|
656
|
-
],
|
|
657
|
-
"name": "exitMultiplePreExpiry",
|
|
658
|
-
"outputs": [
|
|
659
|
-
{
|
|
660
|
-
"internalType": "uint256",
|
|
661
|
-
"name": "netTokenOut",
|
|
662
|
-
"type": "uint256"
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"internalType": "uint256",
|
|
666
|
-
"name": "netPtFromRemove",
|
|
667
|
-
"type": "uint256"
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"internalType": "uint256",
|
|
671
|
-
"name": "netSyFromRemove",
|
|
672
|
-
"type": "uint256"
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"internalType": "uint256",
|
|
676
|
-
"name": "netPyRedeem",
|
|
677
|
-
"type": "uint256"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"internalType": "uint256",
|
|
681
|
-
"name": "netSyFromRedeem",
|
|
682
|
-
"type": "uint256"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"internalType": "uint256",
|
|
686
|
-
"name": "netPtSwap",
|
|
687
|
-
"type": "uint256"
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"internalType": "uint256",
|
|
691
|
-
"name": "netYtSwap",
|
|
692
|
-
"type": "uint256"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"internalType": "uint256",
|
|
696
|
-
"name": "netSyFromSwap",
|
|
697
|
-
"type": "uint256"
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"internalType": "uint256",
|
|
701
|
-
"name": "netSyFee",
|
|
702
|
-
"type": "uint256"
|
|
703
|
-
}
|
|
704
|
-
],
|
|
705
|
-
"stateMutability": "nonpayable",
|
|
706
|
-
"type": "function"
|
|
707
|
-
},
|
|
708
277
|
{
|
|
709
278
|
"inputs": [
|
|
710
279
|
{
|