@pendle/core-v2 4.5.1-beta-2 → 4.5.1-beta-4
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 +46 -2
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +46 -2
- 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/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
- package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.json +30 -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/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- 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 +48 -4
- 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/Reflector.sol/Reflector.dbg.json +4 -0
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +34 -0
- 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 +9 -2
- package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
- package/contracts/interfaces/IPPausingInterface.sol +8 -0
- package/contracts/interfaces/IPReflector.sol +6 -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/router/ActionMiscV3.sol +31 -5
- package/contracts/router/Reflector.sol +69 -0
- package/contracts/router/base/ActionBase.sol +0 -16
- 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/UNIETH-MAINNET-SEP2024.json +13 -0
- package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
- package/deployments/42161-core.json +1 -1
- 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 +61 -6
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/IPActionMiscV3.ts +61 -6
- package/typechain-types/IPAllActionV3.ts +61 -6
- package/typechain-types/IPGovernanceProxy.ts +142 -0
- package/typechain-types/IPPYLpOracle.ts +379 -0
- package/typechain-types/IPPausingInterface.ts +112 -0
- package/typechain-types/IPReflector.ts +95 -0
- package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
- package/typechain-types/PendleGovernanceProxy.ts +603 -0
- package/typechain-types/PendlePYLpOracle.ts +612 -0
- package/typechain-types/Reflector.ts +95 -0
- package/typechain-types/SupplyCapReader.ts +105 -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 +47 -3
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__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 +46 -2
- package/typechain-types/factories/IPAllActionV3__factory.ts +46 -2
- 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/IPReflector__factory.ts +42 -0
- package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -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/factories/Reflector__factory.ts +84 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
- package/typechain-types/hardhat.d.ts +72 -0
- package/typechain-types/index.ts +16 -0
- /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
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
{
|
|
168
168
|
"indexed": false,
|
|
169
169
|
"internalType": "uint256",
|
|
170
|
-
"name": "
|
|
170
|
+
"name": "netLpIn",
|
|
171
171
|
"type": "uint256"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
{
|
|
258
258
|
"indexed": false,
|
|
259
259
|
"internalType": "uint256",
|
|
260
|
-
"name": "
|
|
260
|
+
"name": "netLpIn",
|
|
261
261
|
"type": "uint256"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
@@ -594,6 +594,50 @@
|
|
|
594
594
|
"stateMutability": "nonpayable",
|
|
595
595
|
"type": "function"
|
|
596
596
|
},
|
|
597
|
+
{
|
|
598
|
+
"inputs": [
|
|
599
|
+
{
|
|
600
|
+
"internalType": "address payable",
|
|
601
|
+
"name": "reflector",
|
|
602
|
+
"type": "address"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"internalType": "bytes",
|
|
606
|
+
"name": "selfCall1",
|
|
607
|
+
"type": "bytes"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"internalType": "bytes",
|
|
611
|
+
"name": "selfCall2",
|
|
612
|
+
"type": "bytes"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"internalType": "bytes",
|
|
616
|
+
"name": "reflectCall",
|
|
617
|
+
"type": "bytes"
|
|
618
|
+
}
|
|
619
|
+
],
|
|
620
|
+
"name": "callAndReflect",
|
|
621
|
+
"outputs": [
|
|
622
|
+
{
|
|
623
|
+
"internalType": "bytes",
|
|
624
|
+
"name": "selfRes1",
|
|
625
|
+
"type": "bytes"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"internalType": "bytes",
|
|
629
|
+
"name": "selfRes2",
|
|
630
|
+
"type": "bytes"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"internalType": "bytes",
|
|
634
|
+
"name": "reflectRes",
|
|
635
|
+
"type": "bytes"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"stateMutability": "payable",
|
|
639
|
+
"type": "function"
|
|
640
|
+
},
|
|
597
641
|
{
|
|
598
642
|
"inputs": [
|
|
599
643
|
{
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
{
|
|
499
499
|
"indexed": false,
|
|
500
500
|
"internalType": "uint256",
|
|
501
|
-
"name": "
|
|
501
|
+
"name": "netLpIn",
|
|
502
502
|
"type": "uint256"
|
|
503
503
|
},
|
|
504
504
|
{
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
{
|
|
589
589
|
"indexed": false,
|
|
590
590
|
"internalType": "uint256",
|
|
591
|
-
"name": "
|
|
591
|
+
"name": "netLpIn",
|
|
592
592
|
"type": "uint256"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
@@ -2529,6 +2529,50 @@
|
|
|
2529
2529
|
"stateMutability": "nonpayable",
|
|
2530
2530
|
"type": "function"
|
|
2531
2531
|
},
|
|
2532
|
+
{
|
|
2533
|
+
"inputs": [
|
|
2534
|
+
{
|
|
2535
|
+
"internalType": "address payable",
|
|
2536
|
+
"name": "reflector",
|
|
2537
|
+
"type": "address"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"internalType": "bytes",
|
|
2541
|
+
"name": "selfCall1",
|
|
2542
|
+
"type": "bytes"
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"internalType": "bytes",
|
|
2546
|
+
"name": "selfCall2",
|
|
2547
|
+
"type": "bytes"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"internalType": "bytes",
|
|
2551
|
+
"name": "reflectCall",
|
|
2552
|
+
"type": "bytes"
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
2555
|
+
"name": "callAndReflect",
|
|
2556
|
+
"outputs": [
|
|
2557
|
+
{
|
|
2558
|
+
"internalType": "bytes",
|
|
2559
|
+
"name": "selfRes1",
|
|
2560
|
+
"type": "bytes"
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
"internalType": "bytes",
|
|
2564
|
+
"name": "selfRes2",
|
|
2565
|
+
"type": "bytes"
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"internalType": "bytes",
|
|
2569
|
+
"name": "reflectRes",
|
|
2570
|
+
"type": "bytes"
|
|
2571
|
+
}
|
|
2572
|
+
],
|
|
2573
|
+
"stateMutability": "payable",
|
|
2574
|
+
"type": "function"
|
|
2575
|
+
},
|
|
2532
2576
|
{
|
|
2533
2577
|
"inputs": [],
|
|
2534
2578
|
"name": "claimOwnership",
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPGovernanceProxy",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPGovernanceProxy.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "target",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "uint256",
|
|
17
|
+
"name": "value",
|
|
18
|
+
"type": "uint256"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "bytes",
|
|
22
|
+
"name": "callData",
|
|
23
|
+
"type": "bytes"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"internalType": "struct IPGovernanceProxy.Call[]",
|
|
27
|
+
"name": "calls",
|
|
28
|
+
"type": "tuple[]"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"name": "aggregate",
|
|
32
|
+
"outputs": [
|
|
33
|
+
{
|
|
34
|
+
"internalType": "bytes[]",
|
|
35
|
+
"name": "rtnData",
|
|
36
|
+
"type": "bytes[]"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"stateMutability": "payable",
|
|
40
|
+
"type": "function"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "address[]",
|
|
46
|
+
"name": "addrs",
|
|
47
|
+
"type": "address[]"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "pause",
|
|
51
|
+
"outputs": [],
|
|
52
|
+
"stateMutability": "nonpayable",
|
|
53
|
+
"type": "function"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"bytecode": "0x",
|
|
57
|
+
"deployedBytecode": "0x",
|
|
58
|
+
"linkReferences": {},
|
|
59
|
+
"deployedLinkReferences": {}
|
|
60
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPPausingInterface",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPPausingInterface.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "pause",
|
|
9
|
+
"outputs": [],
|
|
10
|
+
"stateMutability": "nonpayable",
|
|
11
|
+
"type": "function"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"inputs": [],
|
|
15
|
+
"name": "unpause",
|
|
16
|
+
"outputs": [],
|
|
17
|
+
"stateMutability": "nonpayable",
|
|
18
|
+
"type": "function"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"bytecode": "0x",
|
|
22
|
+
"deployedBytecode": "0x",
|
|
23
|
+
"linkReferences": {},
|
|
24
|
+
"deployedLinkReferences": {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IPReflector",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPReflector.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "inputData",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "reflect",
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "bytes",
|
|
18
|
+
"name": "result",
|
|
19
|
+
"type": "bytes"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"stateMutability": "nonpayable",
|
|
23
|
+
"type": "function"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"bytecode": "0x",
|
|
27
|
+
"deployedBytecode": "0x",
|
|
28
|
+
"linkReferences": {},
|
|
29
|
+
"deployedLinkReferences": {}
|
|
30
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ISwellSimpleStakingERC20",
|
|
4
|
+
"sourceName": "contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "ADDRESS_NULL",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "AMOUNT_NULL",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [],
|
|
18
|
+
"name": "INSUFFICIENT_BALANCE",
|
|
19
|
+
"type": "error"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "token",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "TOKEN_NOT_ALLOWED",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"anonymous": false,
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"indexed": true,
|
|
37
|
+
"internalType": "address",
|
|
38
|
+
"name": "token",
|
|
39
|
+
"type": "address"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"indexed": true,
|
|
43
|
+
"internalType": "address",
|
|
44
|
+
"name": "staker",
|
|
45
|
+
"type": "address"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"indexed": false,
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "amount",
|
|
51
|
+
"type": "uint256"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "Deposit",
|
|
55
|
+
"type": "event"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"anonymous": false,
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"indexed": true,
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "token",
|
|
64
|
+
"type": "address"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"components": [
|
|
68
|
+
{
|
|
69
|
+
"internalType": "bool",
|
|
70
|
+
"name": "deposit",
|
|
71
|
+
"type": "bool"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "bool",
|
|
75
|
+
"name": "withdraw",
|
|
76
|
+
"type": "bool"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"indexed": false,
|
|
80
|
+
"internalType": "struct ISwellSimpleStakingERC20.Supported",
|
|
81
|
+
"name": "supported",
|
|
82
|
+
"type": "tuple"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"name": "SupportedToken",
|
|
86
|
+
"type": "event"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"anonymous": false,
|
|
90
|
+
"inputs": [
|
|
91
|
+
{
|
|
92
|
+
"indexed": true,
|
|
93
|
+
"internalType": "address",
|
|
94
|
+
"name": "token",
|
|
95
|
+
"type": "address"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"indexed": true,
|
|
99
|
+
"internalType": "address",
|
|
100
|
+
"name": "staker",
|
|
101
|
+
"type": "address"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"indexed": false,
|
|
105
|
+
"internalType": "uint256",
|
|
106
|
+
"name": "amount",
|
|
107
|
+
"type": "uint256"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"name": "Withdraw",
|
|
111
|
+
"type": "event"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"inputs": [
|
|
115
|
+
{
|
|
116
|
+
"internalType": "address",
|
|
117
|
+
"name": "_token",
|
|
118
|
+
"type": "address"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "_amount",
|
|
123
|
+
"type": "uint256"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"internalType": "address",
|
|
127
|
+
"name": "_receiver",
|
|
128
|
+
"type": "address"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"name": "deposit",
|
|
132
|
+
"outputs": [],
|
|
133
|
+
"stateMutability": "nonpayable",
|
|
134
|
+
"type": "function"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"inputs": [
|
|
138
|
+
{
|
|
139
|
+
"internalType": "address",
|
|
140
|
+
"name": "_token",
|
|
141
|
+
"type": "address"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"name": "rescueERC20",
|
|
145
|
+
"outputs": [],
|
|
146
|
+
"stateMutability": "nonpayable",
|
|
147
|
+
"type": "function"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inputs": [
|
|
151
|
+
{
|
|
152
|
+
"internalType": "address",
|
|
153
|
+
"name": "_token",
|
|
154
|
+
"type": "address"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"components": [
|
|
158
|
+
{
|
|
159
|
+
"internalType": "bool",
|
|
160
|
+
"name": "deposit",
|
|
161
|
+
"type": "bool"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"internalType": "bool",
|
|
165
|
+
"name": "withdraw",
|
|
166
|
+
"type": "bool"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"internalType": "struct ISwellSimpleStakingERC20.Supported",
|
|
170
|
+
"name": "_supported",
|
|
171
|
+
"type": "tuple"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"name": "supportToken",
|
|
175
|
+
"outputs": [],
|
|
176
|
+
"stateMutability": "nonpayable",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"internalType": "address",
|
|
183
|
+
"name": "_token",
|
|
184
|
+
"type": "address"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"internalType": "uint256",
|
|
188
|
+
"name": "_amount",
|
|
189
|
+
"type": "uint256"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"internalType": "address",
|
|
193
|
+
"name": "_receiver",
|
|
194
|
+
"type": "address"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"name": "withdraw",
|
|
198
|
+
"outputs": [],
|
|
199
|
+
"stateMutability": "nonpayable",
|
|
200
|
+
"type": "function"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"bytecode": "0x",
|
|
204
|
+
"deployedBytecode": "0x",
|
|
205
|
+
"linkReferences": {},
|
|
206
|
+
"deployedLinkReferences": {}
|
|
207
|
+
}
|