@pendle/core-v2 5.4.0 → 5.4.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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/050871b1da67e1f57c8ff7f2843b8ca0.json"
4
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PendleSparkLinearDiscountOracleFactory",
4
+ "sourceName": "contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "_pt",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "_baseDiscountPerYear",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "create",
20
+ "outputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "stateMutability": "nonpayable",
28
+ "type": "function"
29
+ }
30
+ ],
31
+ "bytecode": "0x608060405234801561001057600080fd5b50610635806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80630ecaea7314610030575b600080fd5b61004361003e3660046100b5565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b6000828260405161006f906100a8565b6001600160a01b0390921682526020820152604001604051809103906000f0801580156100a0573d6000803e3d6000fd5b509392505050565b610512806100ee83390190565b600080604083850312156100c857600080fd5b82356001600160a01b03811681146100df57600080fd5b94602093909301359350505056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a26469706673582212203adae39fa1b056a9227b370956dd8fd9f0c5077286bc4aa40f76282015ec8a5e64736f6c63430008170033",
32
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80630ecaea7314610030575b600080fd5b61004361003e3660046100b5565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b6000828260405161006f906100a8565b6001600160a01b0390921682526020820152604001604051809103906000f0801580156100a0573d6000803e3d6000fd5b509392505050565b610512806100ee83390190565b600080604083850312156100c857600080fd5b82356001600160a01b03811681146100df57600080fd5b94602093909301359350505056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a26469706673582212203adae39fa1b056a9227b370956dd8fd9f0c5077286bc4aa40f76282015ec8a5e64736f6c63430008170033",
33
+ "linkReferences": {},
34
+ "deployedLinkReferences": {}
35
+ }
@@ -0,0 +1,10 @@
1
+ // SPDX-License-Identifier: SEE LICENSE IN LICENSE
2
+ pragma solidity ^0.8.19;
3
+
4
+ import {PendleSparkLinearDiscountOracle} from "./PendleSparkLinearDiscountOracle.sol";
5
+
6
+ contract PendleSparkLinearDiscountOracleFactory {
7
+ function create(address _pt, uint256 _baseDiscountPerYear) external returns (address) {
8
+ return address(new PendleSparkLinearDiscountOracle(_pt, _baseDiscountPerYear));
9
+ }
10
+ }
@@ -49,6 +49,7 @@
49
49
  "gaugeController": "0x47D74516B33eD5D70ddE7119A40839f6Fcc24e57",
50
50
  "feeDistributor": "0xd7b34a6fDCb2A7ceD2115FF7f5fdD72aa6aA4dE2",
51
51
  "feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9",
52
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
52
53
  "beta": {
53
54
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
54
55
  }
@@ -45,6 +45,7 @@
45
45
  "receiverEndpoint": "0xED18de5442297a4Ec1ce59C7c7d9427Adc2A012b",
46
46
  "vePendle": "0xd5C47D2383Fddc19596489280C0A33AC42b2bB18",
47
47
  "gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C",
48
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
48
49
  "beta": {
49
50
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
50
51
  }
@@ -47,6 +47,7 @@
47
47
  "gaugeController": "0x1e56299ebc8a1010cec26005d12e3e5c5cc2db00",
48
48
  "arbMerkleDistribution": "0x23a102e78D1FF1645a3666691495174764a5FCAF",
49
49
  "linearDistributor": "0x83d85AEDD308261d847C3eb8d7146457bD8F38E8",
50
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
50
51
  "beta": {
51
52
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
52
53
  }
@@ -43,6 +43,7 @@
43
43
  "receiverEndpoint": "0xf799E4c029d14f41Dc1918C9A4C67242F565710e",
44
44
  "vePendle": "0x30c6d4e892871220B5Ab66c10db577da96Fb974b",
45
45
  "gaugeController": "0x428f2f93afAc3F96B0DE59854038c585e06165C8",
46
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
46
47
  "beta": {
47
48
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
48
49
  }
@@ -45,6 +45,7 @@
45
45
  "receiverEndpoint": "0x998CF52b2585e05494BF9F2bF502351a9C7FdA8f",
46
46
  "vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
47
47
  "gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
48
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
48
49
  "beta": {
49
50
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
50
51
  }
@@ -38,6 +38,7 @@
38
38
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
39
39
  "vePendle": "0x051dcd6a80f11fE68F77Fb0EBdE03853FA96B1fD",
40
40
  "gaugeController": "0x17F100fB4bE2707675c6439468d38249DD993d58",
41
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
41
42
  "beta": {
42
43
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
43
44
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "5.4.0",
5
+ "version": "5.4.1",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -0,0 +1,108 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export interface PendleSparkLinearDiscountOracleFactoryInterface
26
+ extends utils.Interface {
27
+ contractName: "PendleSparkLinearDiscountOracleFactory";
28
+ functions: {
29
+ "create(address,uint256)": FunctionFragment;
30
+ };
31
+
32
+ encodeFunctionData(
33
+ functionFragment: "create",
34
+ values: [string, BigNumberish]
35
+ ): string;
36
+
37
+ decodeFunctionResult(functionFragment: "create", data: BytesLike): Result;
38
+
39
+ events: {};
40
+ }
41
+
42
+ export interface PendleSparkLinearDiscountOracleFactory extends BaseContract {
43
+ contractName: "PendleSparkLinearDiscountOracleFactory";
44
+ connect(signerOrProvider: Signer | Provider | string): this;
45
+ attach(addressOrName: string): this;
46
+ deployed(): Promise<this>;
47
+
48
+ interface: PendleSparkLinearDiscountOracleFactoryInterface;
49
+
50
+ queryFilter<TEvent extends TypedEvent>(
51
+ event: TypedEventFilter<TEvent>,
52
+ fromBlockOrBlockhash?: string | number | undefined,
53
+ toBlock?: string | number | undefined
54
+ ): Promise<Array<TEvent>>;
55
+
56
+ listeners<TEvent extends TypedEvent>(
57
+ eventFilter?: TypedEventFilter<TEvent>
58
+ ): Array<TypedListener<TEvent>>;
59
+ listeners(eventName?: string): Array<Listener>;
60
+ removeAllListeners<TEvent extends TypedEvent>(
61
+ eventFilter: TypedEventFilter<TEvent>
62
+ ): this;
63
+ removeAllListeners(eventName?: string): this;
64
+ off: OnEvent<this>;
65
+ on: OnEvent<this>;
66
+ once: OnEvent<this>;
67
+ removeListener: OnEvent<this>;
68
+
69
+ functions: {
70
+ create(
71
+ _pt: string,
72
+ _baseDiscountPerYear: BigNumberish,
73
+ overrides?: Overrides & { from?: string | Promise<string> }
74
+ ): Promise<ContractTransaction>;
75
+ };
76
+
77
+ create(
78
+ _pt: string,
79
+ _baseDiscountPerYear: BigNumberish,
80
+ overrides?: Overrides & { from?: string | Promise<string> }
81
+ ): Promise<ContractTransaction>;
82
+
83
+ callStatic: {
84
+ create(
85
+ _pt: string,
86
+ _baseDiscountPerYear: BigNumberish,
87
+ overrides?: CallOverrides
88
+ ): Promise<string>;
89
+ };
90
+
91
+ filters: {};
92
+
93
+ estimateGas: {
94
+ create(
95
+ _pt: string,
96
+ _baseDiscountPerYear: BigNumberish,
97
+ overrides?: Overrides & { from?: string | Promise<string> }
98
+ ): Promise<BigNumber>;
99
+ };
100
+
101
+ populateTransaction: {
102
+ create(
103
+ _pt: string,
104
+ _baseDiscountPerYear: BigNumberish,
105
+ overrides?: Overrides & { from?: string | Promise<string> }
106
+ ): Promise<PopulatedTransaction>;
107
+ };
108
+ }
@@ -0,0 +1,100 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleSparkLinearDiscountOracleFactory,
8
+ PendleSparkLinearDiscountOracleFactoryInterface,
9
+ } from "../PendleSparkLinearDiscountOracleFactory";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "_pt",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "uint256",
21
+ name: "_baseDiscountPerYear",
22
+ type: "uint256",
23
+ },
24
+ ],
25
+ name: "create",
26
+ outputs: [
27
+ {
28
+ internalType: "address",
29
+ name: "",
30
+ type: "address",
31
+ },
32
+ ],
33
+ stateMutability: "nonpayable",
34
+ type: "function",
35
+ },
36
+ ];
37
+
38
+ const _bytecode =
39
+ "0x608060405234801561001057600080fd5b50610635806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80630ecaea7314610030575b600080fd5b61004361003e3660046100b5565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b6000828260405161006f906100a8565b6001600160a01b0390921682526020820152604001604051809103906000f0801580156100a0573d6000803e3d6000fd5b509392505050565b610512806100ee83390190565b600080604083850312156100c857600080fd5b82356001600160a01b03811681146100df57600080fd5b94602093909301359350505056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a26469706673582212203adae39fa1b056a9227b370956dd8fd9f0c5077286bc4aa40f76282015ec8a5e64736f6c63430008170033";
40
+
41
+ type PendleSparkLinearDiscountOracleFactoryConstructorParams =
42
+ | [signer?: Signer]
43
+ | ConstructorParameters<typeof ContractFactory>;
44
+
45
+ const isSuperArgs = (
46
+ xs: PendleSparkLinearDiscountOracleFactoryConstructorParams
47
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
48
+
49
+ export class PendleSparkLinearDiscountOracleFactory__factory extends ContractFactory {
50
+ constructor(
51
+ ...args: PendleSparkLinearDiscountOracleFactoryConstructorParams
52
+ ) {
53
+ if (isSuperArgs(args)) {
54
+ super(...args);
55
+ } else {
56
+ super(_abi, _bytecode, args[0]);
57
+ }
58
+ this.contractName = "PendleSparkLinearDiscountOracleFactory";
59
+ }
60
+
61
+ deploy(
62
+ overrides?: Overrides & { from?: string | Promise<string> }
63
+ ): Promise<PendleSparkLinearDiscountOracleFactory> {
64
+ return super.deploy(
65
+ overrides || {}
66
+ ) as Promise<PendleSparkLinearDiscountOracleFactory>;
67
+ }
68
+ getDeployTransaction(
69
+ overrides?: Overrides & { from?: string | Promise<string> }
70
+ ): TransactionRequest {
71
+ return super.getDeployTransaction(overrides || {});
72
+ }
73
+ attach(address: string): PendleSparkLinearDiscountOracleFactory {
74
+ return super.attach(address) as PendleSparkLinearDiscountOracleFactory;
75
+ }
76
+ connect(signer: Signer): PendleSparkLinearDiscountOracleFactory__factory {
77
+ return super.connect(
78
+ signer
79
+ ) as PendleSparkLinearDiscountOracleFactory__factory;
80
+ }
81
+ static readonly contractName: "PendleSparkLinearDiscountOracleFactory";
82
+ public readonly contractName: "PendleSparkLinearDiscountOracleFactory";
83
+ static readonly bytecode = _bytecode;
84
+ static readonly abi = _abi;
85
+ static createInterface(): PendleSparkLinearDiscountOracleFactoryInterface {
86
+ return new utils.Interface(
87
+ _abi
88
+ ) as PendleSparkLinearDiscountOracleFactoryInterface;
89
+ }
90
+ static connect(
91
+ address: string,
92
+ signerOrProvider: Signer | Provider
93
+ ): PendleSparkLinearDiscountOracleFactory {
94
+ return new Contract(
95
+ address,
96
+ _abi,
97
+ signerOrProvider
98
+ ) as PendleSparkLinearDiscountOracleFactory;
99
+ }
100
+ }
@@ -668,6 +668,10 @@ declare module "hardhat/types/runtime" {
668
668
  name: "PTExpiry",
669
669
  signerOrOptions?: ethers.Signer | FactoryOptions
670
670
  ): Promise<Contracts.PTExpiry__factory>;
671
+ getContractFactory(
672
+ name: "PendleSparkLinearDiscountOracleFactory",
673
+ signerOrOptions?: ethers.Signer | FactoryOptions
674
+ ): Promise<Contracts.PendleSparkLinearDiscountOracleFactory__factory>;
671
675
  getContractFactory(
672
676
  name: "PendleChainlinkOracle",
673
677
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -732,26 +736,6 @@ declare module "hardhat/types/runtime" {
732
736
  name: "IPSwapAggregator",
733
737
  signerOrOptions?: ethers.Signer | FactoryOptions
734
738
  ): Promise<Contracts.IPSwapAggregator__factory>;
735
- getContractFactory(
736
- name: "IAggregationExecutor",
737
- signerOrOptions?: ethers.Signer | FactoryOptions
738
- ): Promise<Contracts.IAggregationExecutor__factory>;
739
- getContractFactory(
740
- name: "IAggregationExecutorOptimistic",
741
- signerOrOptions?: ethers.Signer | FactoryOptions
742
- ): Promise<Contracts.IAggregationExecutorOptimistic__factory>;
743
- getContractFactory(
744
- name: "IExecutorHelper",
745
- signerOrOptions?: ethers.Signer | FactoryOptions
746
- ): Promise<Contracts.IExecutorHelper__factory>;
747
- getContractFactory(
748
- name: "IExecutorHelperL2",
749
- signerOrOptions?: ethers.Signer | FactoryOptions
750
- ): Promise<Contracts.IExecutorHelperL2__factory>;
751
- getContractFactory(
752
- name: "IMetaAggregationRouterV2",
753
- signerOrOptions?: ethers.Signer | FactoryOptions
754
- ): Promise<Contracts.IMetaAggregationRouterV2__factory>;
755
739
  getContractFactory(
756
740
  name: "IKyberScalingHelper",
757
741
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -1585,6 +1569,11 @@ declare module "hardhat/types/runtime" {
1585
1569
  address: string,
1586
1570
  signer?: ethers.Signer
1587
1571
  ): Promise<Contracts.PTExpiry>;
1572
+ getContractAt(
1573
+ name: "PendleSparkLinearDiscountOracleFactory",
1574
+ address: string,
1575
+ signer?: ethers.Signer
1576
+ ): Promise<Contracts.PendleSparkLinearDiscountOracleFactory>;
1588
1577
  getContractAt(
1589
1578
  name: "PendleChainlinkOracle",
1590
1579
  address: string,
@@ -1665,31 +1654,6 @@ declare module "hardhat/types/runtime" {
1665
1654
  address: string,
1666
1655
  signer?: ethers.Signer
1667
1656
  ): Promise<Contracts.IPSwapAggregator>;
1668
- getContractAt(
1669
- name: "IAggregationExecutor",
1670
- address: string,
1671
- signer?: ethers.Signer
1672
- ): Promise<Contracts.IAggregationExecutor>;
1673
- getContractAt(
1674
- name: "IAggregationExecutorOptimistic",
1675
- address: string,
1676
- signer?: ethers.Signer
1677
- ): Promise<Contracts.IAggregationExecutorOptimistic>;
1678
- getContractAt(
1679
- name: "IExecutorHelper",
1680
- address: string,
1681
- signer?: ethers.Signer
1682
- ): Promise<Contracts.IExecutorHelper>;
1683
- getContractAt(
1684
- name: "IExecutorHelperL2",
1685
- address: string,
1686
- signer?: ethers.Signer
1687
- ): Promise<Contracts.IExecutorHelperL2>;
1688
- getContractAt(
1689
- name: "IMetaAggregationRouterV2",
1690
- address: string,
1691
- signer?: ethers.Signer
1692
- ): Promise<Contracts.IMetaAggregationRouterV2>;
1693
1657
  getContractAt(
1694
1658
  name: "IKyberScalingHelper",
1695
1659
  address: string,
@@ -165,6 +165,7 @@ export type { PendleBoringSolvBTCOneracle } from "./PendleBoringSolvBTCOneracle"
165
165
  export type { PendleRedStoneRateOracleAdapter } from "./PendleRedStoneRateOracleAdapter";
166
166
  export type { PendleSparkLinearDiscountOracle } from "./PendleSparkLinearDiscountOracle";
167
167
  export type { PTExpiry } from "./PTExpiry";
168
+ export type { PendleSparkLinearDiscountOracleFactory } from "./PendleSparkLinearDiscountOracleFactory";
168
169
  export type { PendleChainlinkOracle } from "./PendleChainlinkOracle";
169
170
  export type { PendleChainlinkOracleFactory } from "./PendleChainlinkOracleFactory";
170
171
  export type { PendleChainlinkOracleWithQuote } from "./PendleChainlinkOracleWithQuote";
@@ -181,11 +182,6 @@ export type { ActionSwapYTV3 } from "./ActionSwapYTV3";
181
182
  export type { PendleRouterV4 } from "./PendleRouterV4";
182
183
  export type { Reflector } from "./Reflector";
183
184
  export type { IPSwapAggregator } from "./IPSwapAggregator";
184
- export type { IAggregationExecutor } from "./IAggregationExecutor";
185
- export type { IAggregationExecutorOptimistic } from "./IAggregationExecutorOptimistic";
186
- export type { IExecutorHelper } from "./IExecutorHelper";
187
- export type { IExecutorHelperL2 } from "./IExecutorHelperL2";
188
- export type { IMetaAggregationRouterV2 } from "./IMetaAggregationRouterV2";
189
185
  export type { IKyberScalingHelper } from "./IKyberScalingHelper";
190
186
  export type { IOdosRouterV2 } from "./IOdosRouterV2";
191
187
  export type { PendleSwap } from "./PendleSwap";
@@ -354,6 +350,7 @@ export { PendleBoringSolvBTCOneracle__factory } from "./factories/PendleBoringSo
354
350
  export { PendleRedStoneRateOracleAdapter__factory } from "./factories/PendleRedStoneRateOracleAdapter__factory";
355
351
  export { PendleSparkLinearDiscountOracle__factory } from "./factories/PendleSparkLinearDiscountOracle__factory";
356
352
  export { PTExpiry__factory } from "./factories/PTExpiry__factory";
353
+ export { PendleSparkLinearDiscountOracleFactory__factory } from "./factories/PendleSparkLinearDiscountOracleFactory__factory";
357
354
  export { PendleChainlinkOracle__factory } from "./factories/PendleChainlinkOracle__factory";
358
355
  export { PendleChainlinkOracleFactory__factory } from "./factories/PendleChainlinkOracleFactory__factory";
359
356
  export { PendleChainlinkOracleWithQuote__factory } from "./factories/PendleChainlinkOracleWithQuote__factory";
@@ -370,11 +367,6 @@ export { ActionSwapYTV3__factory } from "./factories/ActionSwapYTV3__factory";
370
367
  export { PendleRouterV4__factory } from "./factories/PendleRouterV4__factory";
371
368
  export { Reflector__factory } from "./factories/Reflector__factory";
372
369
  export { IPSwapAggregator__factory } from "./factories/IPSwapAggregator__factory";
373
- export { IAggregationExecutor__factory } from "./factories/IAggregationExecutor__factory";
374
- export { IAggregationExecutorOptimistic__factory } from "./factories/IAggregationExecutorOptimistic__factory";
375
- export { IExecutorHelper__factory } from "./factories/IExecutorHelper__factory";
376
- export { IExecutorHelperL2__factory } from "./factories/IExecutorHelperL2__factory";
377
- export { IMetaAggregationRouterV2__factory } from "./factories/IMetaAggregationRouterV2__factory";
378
370
  export { IKyberScalingHelper__factory } from "./factories/IKyberScalingHelper__factory";
379
371
  export { IOdosRouterV2__factory } from "./factories/IOdosRouterV2__factory";
380
372
  export { PendleSwap__factory } from "./factories/PendleSwap__factory";