@pendle/core-v2 4.4.4 → 4.4.6
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/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/{PendleUSDEMantleSY.sol/PendleUSDEMantleSY.json → PendleUSDEL2SY.sol/PendleUSDEL2SY.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.json +1036 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeERC20SY.sol/PendleZtakeERC20SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeERC20SY.sol/PendleZtakeERC20SY.json +1036 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol/PendleZtakeUSDESY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol/PendleZtakeUSDESY.json +1086 -0
- package/build/artifacts/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol/ITensorplexStTAO.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol/ITensorplexStTAO.json +106 -0
- package/contracts/core/StandardizedYield/implementations/Ethena/{PendleUSDEMantleSY.sol → PendleUSDEL2SY.sol} +1 -2
- package/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol +106 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/{PendleZtakeWETHSY.sol → PendleZtakeERC20SY.sol} +16 -16
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol +133 -0
- package/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol +16 -0
- package/deployments/1-markets/STTAO-JUNE2024.json +13 -0
- package/deployments/1-markets/ZIRCUIT-USDE-JUNE2024.json +13 -0
- package/deployments/1-offchain-helper.json +2 -1
- package/deployments/10-offchain-helper.json +2 -1
- package/deployments/42161-markets/USDE-ARBITRUM-AUG2024.json +11 -0
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-offchain-helper.json +2 -1
- package/deployments/56-offchain-helper.json +2 -1
- package/package.json +1 -1
- package/typechain-types/ITensorplexStTAO.ts +221 -0
- package/typechain-types/PendleStTAOSY.ts +1314 -0
- package/typechain-types/PendleUSDEL2SY.ts +1363 -0
- package/typechain-types/PendleZtakeERC20SY.ts +1336 -0
- package/typechain-types/PendleZtakeUSDESY.ts +1393 -0
- package/typechain-types/factories/ITensorplexStTAO__factory.ts +121 -0
- package/typechain-types/factories/PendleStTAOSY__factory.ts +1088 -0
- package/typechain-types/factories/PendleUSDEL2SY__factory.ts +1110 -0
- package/typechain-types/factories/PendleZtakeERC20SY__factory.ts +1097 -0
- package/typechain-types/factories/PendleZtakeUSDESY__factory.ts +1147 -0
- package/typechain-types/hardhat.d.ts +45 -0
- package/typechain-types/index.ts +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEMantleSY.sol/PendleUSDEMantleSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.json +0 -1025
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ITensorplexStTAO,
|
|
9
|
+
ITensorplexStTAOInterface,
|
|
10
|
+
} from "../ITensorplexStTAO";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "uint256",
|
|
17
|
+
name: "wtaoAmount",
|
|
18
|
+
type: "uint256",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
name: "calculateAmtAfterFee",
|
|
22
|
+
outputs: [
|
|
23
|
+
{
|
|
24
|
+
internalType: "uint256",
|
|
25
|
+
name: "",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: "uint256",
|
|
30
|
+
name: "",
|
|
31
|
+
type: "uint256",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
stateMutability: "view",
|
|
35
|
+
type: "function",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [],
|
|
39
|
+
name: "exchangeRate",
|
|
40
|
+
outputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "view",
|
|
48
|
+
type: "function",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "wtaoAmount",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "getWstTAObyWTAO",
|
|
59
|
+
outputs: [
|
|
60
|
+
{
|
|
61
|
+
internalType: "uint256",
|
|
62
|
+
name: "",
|
|
63
|
+
type: "uint256",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
stateMutability: "view",
|
|
67
|
+
type: "function",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
inputs: [],
|
|
71
|
+
name: "maxTaoForWrap",
|
|
72
|
+
outputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
stateMutability: "view",
|
|
80
|
+
type: "function",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
inputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "wtaoAmount",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "wrap",
|
|
91
|
+
outputs: [],
|
|
92
|
+
stateMutability: "nonpayable",
|
|
93
|
+
type: "function",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [],
|
|
97
|
+
name: "wrappedToken",
|
|
98
|
+
outputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
stateMutability: "view",
|
|
106
|
+
type: "function",
|
|
107
|
+
},
|
|
108
|
+
];
|
|
109
|
+
|
|
110
|
+
export class ITensorplexStTAO__factory {
|
|
111
|
+
static readonly abi = _abi;
|
|
112
|
+
static createInterface(): ITensorplexStTAOInterface {
|
|
113
|
+
return new utils.Interface(_abi) as ITensorplexStTAOInterface;
|
|
114
|
+
}
|
|
115
|
+
static connect(
|
|
116
|
+
address: string,
|
|
117
|
+
signerOrProvider: Signer | Provider
|
|
118
|
+
): ITensorplexStTAO {
|
|
119
|
+
return new Contract(address, _abi, signerOrProvider) as ITensorplexStTAO;
|
|
120
|
+
}
|
|
121
|
+
}
|