@pendle/core-v2 5.7.0-sonic → 5.7.0
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/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +29 -5
- package/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +9 -2
- package/deployments/146-core.json +4 -4
- package/package.json +1 -1
- package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +60 -18
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +28 -4
- package/typechain-types/hardhat.d.ts +0 -9
|
@@ -7,16 +7,40 @@
|
|
|
7
7
|
"inputs": [
|
|
8
8
|
{
|
|
9
9
|
"internalType": "address",
|
|
10
|
-
"name": "
|
|
10
|
+
"name": "market",
|
|
11
11
|
"type": "address"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"internalType": "uint256",
|
|
15
|
-
"name": "
|
|
15
|
+
"name": "baseDiscountPerYear",
|
|
16
16
|
"type": "uint256"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
-
"name": "
|
|
19
|
+
"name": "createWithMarket",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "address"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "nonpayable",
|
|
28
|
+
"type": "function"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"inputs": [
|
|
32
|
+
{
|
|
33
|
+
"internalType": "address",
|
|
34
|
+
"name": "pt",
|
|
35
|
+
"type": "address"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "uint256",
|
|
39
|
+
"name": "baseDiscountPerYear",
|
|
40
|
+
"type": "uint256"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "createWithPt",
|
|
20
44
|
"outputs": [
|
|
21
45
|
{
|
|
22
46
|
"internalType": "address",
|
|
@@ -28,8 +52,8 @@
|
|
|
28
52
|
"type": "function"
|
|
29
53
|
}
|
|
30
54
|
],
|
|
31
|
-
"bytecode": "
|
|
32
|
-
"deployedBytecode": "
|
|
55
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610762806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633b8863cc1461003b57806380245dad1461006a575b600080fd5b61004e610049366004610188565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610188565b610124565b600080836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156100be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e291906101b4565b5091505080836040516100f490610163565b6100ff929190610201565b604051809103906000f08015801561011b573d6000803e3d6000fd5b50949350505050565b6000828260405161013490610163565b61013f929190610201565b604051809103906000f08015801561015b573d6000803e3d6000fd5b509392505050565b6105128061021b83390190565b6001600160a01b038116811461018557600080fd5b50565b6000806040838503121561019b57600080fd5b82356101a681610170565b946020939093013593505050565b6000806000606084860312156101c957600080fd5b83516101d481610170565b60208501519093506101e581610170565b60408501519092506101f681610170565b809150509250925092565b6001600160a01b0392909216825260208201526040019056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a2646970667358221220c64fad83121df1e1f922ac639d112c8f7556006a369b264afcd5f5b1f194e62964736f6c63430008170033",
|
|
56
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80633b8863cc1461003b57806380245dad1461006a575b600080fd5b61004e610049366004610188565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610188565b610124565b600080836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156100be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e291906101b4565b5091505080836040516100f490610163565b6100ff929190610201565b604051809103906000f08015801561011b573d6000803e3d6000fd5b50949350505050565b6000828260405161013490610163565b61013f929190610201565b604051809103906000f08015801561015b573d6000803e3d6000fd5b509392505050565b6105128061021b83390190565b6001600160a01b038116811461018557600080fd5b50565b6000806040838503121561019b57600080fd5b82356101a681610170565b946020939093013593505050565b6000806000606084860312156101c957600080fd5b83516101d481610170565b60208501519093506101e581610170565b60408501519092506101f681610170565b809150509250925092565b6001600160a01b0392909216825260208201526040019056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a2646970667358221220c64fad83121df1e1f922ac639d112c8f7556006a369b264afcd5f5b1f194e62964736f6c63430008170033",
|
|
33
57
|
"linkReferences": {},
|
|
34
58
|
"deployedLinkReferences": {}
|
|
35
59
|
}
|
|
@@ -2,9 +2,16 @@
|
|
|
2
2
|
pragma solidity ^0.8.19;
|
|
3
3
|
|
|
4
4
|
import {PendleSparkLinearDiscountOracle} from "./PendleSparkLinearDiscountOracle.sol";
|
|
5
|
+
import "../../interfaces/IPPrincipalToken.sol";
|
|
6
|
+
import "../../interfaces/IPMarket.sol";
|
|
5
7
|
|
|
6
8
|
contract PendleSparkLinearDiscountOracleFactory {
|
|
7
|
-
function
|
|
8
|
-
return address(new PendleSparkLinearDiscountOracle(
|
|
9
|
+
function createWithPt(address pt, uint256 baseDiscountPerYear) external returns (address) {
|
|
10
|
+
return address(new PendleSparkLinearDiscountOracle(pt, baseDiscountPerYear));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function createWithMarket(address market, uint256 baseDiscountPerYear) external returns (address) {
|
|
14
|
+
(, IPPrincipalToken PT, ) = IPMarket(market).readTokens();
|
|
15
|
+
return address(new PendleSparkLinearDiscountOracle(address(PT), baseDiscountPerYear));
|
|
9
16
|
}
|
|
10
17
|
}
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"routerStatic": "0x0013ACc071f732fd6BF8210AB46A3794a7D8945e",
|
|
33
33
|
"pendleSwap": "0x313e7Ef7d52f5C10aC04ebaa4d33CDc68634c212",
|
|
34
|
-
"pyYtLpOracle": "
|
|
34
|
+
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
35
35
|
"reflector": "0x5039Da22E5126e7c4e9284376116716A91782faF",
|
|
36
36
|
"receiverEndpoint": "0x3209E9412cca80B18338f2a56ADA59c484c39644",
|
|
37
37
|
"limitRouter": "0x0000000000000000000000000000000000000000",
|
|
38
38
|
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
39
39
|
"vePendle": "0xE017CCC08505Ac8fbb5a364680e459d9fBaEE74d",
|
|
40
40
|
"gaugeController": "0xeE708FC793a02F1eDd5BB9DBD7fD13010D1F7136",
|
|
41
|
-
"sparkLinearDiscountOracleFactory": "
|
|
42
|
-
"vePendleAirdropDistributor": "
|
|
43
|
-
"externalRewardsDistributor": "
|
|
41
|
+
"sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
|
|
42
|
+
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
43
|
+
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
44
44
|
"beta": {
|
|
45
45
|
"PendleChainlinkOracleFactory": "0x0000000000000000000000000000000000000000"
|
|
46
46
|
}
|
package/package.json
CHANGED
|
@@ -26,15 +26,27 @@ export interface PendleSparkLinearDiscountOracleFactoryInterface
|
|
|
26
26
|
extends utils.Interface {
|
|
27
27
|
contractName: "PendleSparkLinearDiscountOracleFactory";
|
|
28
28
|
functions: {
|
|
29
|
-
"
|
|
29
|
+
"createWithMarket(address,uint256)": FunctionFragment;
|
|
30
|
+
"createWithPt(address,uint256)": FunctionFragment;
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
encodeFunctionData(
|
|
33
|
-
functionFragment: "
|
|
34
|
+
functionFragment: "createWithMarket",
|
|
35
|
+
values: [string, BigNumberish]
|
|
36
|
+
): string;
|
|
37
|
+
encodeFunctionData(
|
|
38
|
+
functionFragment: "createWithPt",
|
|
34
39
|
values: [string, BigNumberish]
|
|
35
40
|
): string;
|
|
36
41
|
|
|
37
|
-
decodeFunctionResult(
|
|
42
|
+
decodeFunctionResult(
|
|
43
|
+
functionFragment: "createWithMarket",
|
|
44
|
+
data: BytesLike
|
|
45
|
+
): Result;
|
|
46
|
+
decodeFunctionResult(
|
|
47
|
+
functionFragment: "createWithPt",
|
|
48
|
+
data: BytesLike
|
|
49
|
+
): Result;
|
|
38
50
|
|
|
39
51
|
events: {};
|
|
40
52
|
}
|
|
@@ -67,23 +79,41 @@ export interface PendleSparkLinearDiscountOracleFactory extends BaseContract {
|
|
|
67
79
|
removeListener: OnEvent<this>;
|
|
68
80
|
|
|
69
81
|
functions: {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
82
|
+
createWithMarket(
|
|
83
|
+
market: string,
|
|
84
|
+
baseDiscountPerYear: BigNumberish,
|
|
85
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
86
|
+
): Promise<ContractTransaction>;
|
|
87
|
+
|
|
88
|
+
createWithPt(
|
|
89
|
+
pt: string,
|
|
90
|
+
baseDiscountPerYear: BigNumberish,
|
|
73
91
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
74
92
|
): Promise<ContractTransaction>;
|
|
75
93
|
};
|
|
76
94
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
95
|
+
createWithMarket(
|
|
96
|
+
market: string,
|
|
97
|
+
baseDiscountPerYear: BigNumberish,
|
|
98
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
99
|
+
): Promise<ContractTransaction>;
|
|
100
|
+
|
|
101
|
+
createWithPt(
|
|
102
|
+
pt: string,
|
|
103
|
+
baseDiscountPerYear: BigNumberish,
|
|
80
104
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
81
105
|
): Promise<ContractTransaction>;
|
|
82
106
|
|
|
83
107
|
callStatic: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
108
|
+
createWithMarket(
|
|
109
|
+
market: string,
|
|
110
|
+
baseDiscountPerYear: BigNumberish,
|
|
111
|
+
overrides?: CallOverrides
|
|
112
|
+
): Promise<string>;
|
|
113
|
+
|
|
114
|
+
createWithPt(
|
|
115
|
+
pt: string,
|
|
116
|
+
baseDiscountPerYear: BigNumberish,
|
|
87
117
|
overrides?: CallOverrides
|
|
88
118
|
): Promise<string>;
|
|
89
119
|
};
|
|
@@ -91,17 +121,29 @@ export interface PendleSparkLinearDiscountOracleFactory extends BaseContract {
|
|
|
91
121
|
filters: {};
|
|
92
122
|
|
|
93
123
|
estimateGas: {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
124
|
+
createWithMarket(
|
|
125
|
+
market: string,
|
|
126
|
+
baseDiscountPerYear: BigNumberish,
|
|
127
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
128
|
+
): Promise<BigNumber>;
|
|
129
|
+
|
|
130
|
+
createWithPt(
|
|
131
|
+
pt: string,
|
|
132
|
+
baseDiscountPerYear: BigNumberish,
|
|
97
133
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
98
134
|
): Promise<BigNumber>;
|
|
99
135
|
};
|
|
100
136
|
|
|
101
137
|
populateTransaction: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
138
|
+
createWithMarket(
|
|
139
|
+
market: string,
|
|
140
|
+
baseDiscountPerYear: BigNumberish,
|
|
141
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
142
|
+
): Promise<PopulatedTransaction>;
|
|
143
|
+
|
|
144
|
+
createWithPt(
|
|
145
|
+
pt: string,
|
|
146
|
+
baseDiscountPerYear: BigNumberish,
|
|
105
147
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
106
148
|
): Promise<PopulatedTransaction>;
|
|
107
149
|
};
|
|
@@ -13,16 +13,40 @@ const _abi = [
|
|
|
13
13
|
inputs: [
|
|
14
14
|
{
|
|
15
15
|
internalType: "address",
|
|
16
|
-
name: "
|
|
16
|
+
name: "market",
|
|
17
17
|
type: "address",
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
internalType: "uint256",
|
|
21
|
-
name: "
|
|
21
|
+
name: "baseDiscountPerYear",
|
|
22
22
|
type: "uint256",
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
|
-
name: "
|
|
25
|
+
name: "createWithMarket",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "nonpayable",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "pt",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "baseDiscountPerYear",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "createWithPt",
|
|
26
50
|
outputs: [
|
|
27
51
|
{
|
|
28
52
|
internalType: "address",
|
|
@@ -36,7 +60,7 @@ const _abi = [
|
|
|
36
60
|
];
|
|
37
61
|
|
|
38
62
|
const _bytecode =
|
|
39
|
-
"
|
|
63
|
+
"0x608060405234801561001057600080fd5b50610762806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633b8863cc1461003b57806380245dad1461006a575b600080fd5b61004e610049366004610188565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610188565b610124565b600080836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156100be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e291906101b4565b5091505080836040516100f490610163565b6100ff929190610201565b604051809103906000f08015801561011b573d6000803e3d6000fd5b50949350505050565b6000828260405161013490610163565b61013f929190610201565b604051809103906000f08015801561015b573d6000803e3d6000fd5b509392505050565b6105128061021b83390190565b6001600160a01b038116811461018557600080fd5b50565b6000806040838503121561019b57600080fd5b82356101a681610170565b946020939093013593505050565b6000806000606084860312156101c957600080fd5b83516101d481610170565b60208501519093506101e581610170565b60408501519092506101f681610170565b809150509250925092565b6001600160a01b0392909216825260208201526040019056fe60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033a2646970667358221220c64fad83121df1e1f922ac639d112c8f7556006a369b264afcd5f5b1f194e62964736f6c63430008170033";
|
|
40
64
|
|
|
41
65
|
type PendleSparkLinearDiscountOracleFactoryConstructorParams =
|
|
42
66
|
| [signer?: Signer]
|
|
@@ -640,10 +640,6 @@ declare module "hardhat/types/runtime" {
|
|
|
640
640
|
name: "PendleOffchainStorage",
|
|
641
641
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
642
642
|
): Promise<Contracts.PendleOffchainStorage__factory>;
|
|
643
|
-
getContractFactory(
|
|
644
|
-
name: "PendlePoolDeployHelper",
|
|
645
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
646
|
-
): Promise<Contracts.PendlePoolDeployHelper__factory>;
|
|
647
643
|
getContractFactory(
|
|
648
644
|
name: "PendleWstETHPriceFeed",
|
|
649
645
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1582,11 +1578,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1582
1578
|
address: string,
|
|
1583
1579
|
signer?: ethers.Signer
|
|
1584
1580
|
): Promise<Contracts.PendleOffchainStorage>;
|
|
1585
|
-
getContractAt(
|
|
1586
|
-
name: "PendlePoolDeployHelper",
|
|
1587
|
-
address: string,
|
|
1588
|
-
signer?: ethers.Signer
|
|
1589
|
-
): Promise<Contracts.PendlePoolDeployHelper>;
|
|
1590
1581
|
getContractAt(
|
|
1591
1582
|
name: "PendleWstETHPriceFeed",
|
|
1592
1583
|
address: string,
|