@pendle/core-v2 1.4.2-testnet → 1.4.4-testnet
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/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLiquidityMigrator.sol/IPLiquidityMigrator.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
- package/deployments/43113-core.json +2 -2
- package/deployments/80001-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/ISiloPriceProvider.ts +150 -0
- package/typechain-types/PendlePtOracleBase.ts +26 -0
- package/typechain-types/PendleStargateLPSY.ts +1442 -0
- package/typechain-types/PtFraxUsdcOracle.ts +26 -0
- package/typechain-types/PtStETHOracle.ts +26 -0
- package/typechain-types/factories/ISiloPriceProvider__factory.ts +90 -0
- package/typechain-types/factories/PendlePtOracleBase__factory.ts +26 -0
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1241 -0
- package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +27 -1
- package/typechain-types/factories/PtStETHOracle__factory.ts +27 -1
- package/typechain-types/hardhat.d.ts +81 -0
- package/typechain-types/index.ts +16 -0
|
@@ -0,0 +1,1241 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
PendleStargateLPSY,
|
|
15
|
+
PendleStargateLPSYInterface,
|
|
16
|
+
} from "../PendleStargateLPSY";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "string",
|
|
23
|
+
name: "_name",
|
|
24
|
+
type: "string",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "string",
|
|
28
|
+
name: "_symbol",
|
|
29
|
+
type: "string",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "_stargateLP",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_stargateStaking",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "_sid",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "nonpayable",
|
|
48
|
+
type: "constructor",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "actualSharesOut",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "requiredSharesOut",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "SYInsufficientSharesOut",
|
|
64
|
+
type: "error",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [
|
|
68
|
+
{
|
|
69
|
+
internalType: "uint256",
|
|
70
|
+
name: "actualTokenOut",
|
|
71
|
+
type: "uint256",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "requiredTokenOut",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
name: "SYInsufficientTokenOut",
|
|
80
|
+
type: "error",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
inputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "address",
|
|
86
|
+
name: "token",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "SYInvalidTokenIn",
|
|
91
|
+
type: "error",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [
|
|
95
|
+
{
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "token",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "SYInvalidTokenOut",
|
|
102
|
+
type: "error",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
internalType: "uint256",
|
|
108
|
+
name: "amountLpDesired",
|
|
109
|
+
type: "uint256",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
internalType: "uint256",
|
|
113
|
+
name: "amountLpRedeemable",
|
|
114
|
+
type: "uint256",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "SYStargateRedeemCapExceeded",
|
|
118
|
+
type: "error",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
inputs: [],
|
|
122
|
+
name: "SYZeroDeposit",
|
|
123
|
+
type: "error",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [],
|
|
127
|
+
name: "SYZeroRedeem",
|
|
128
|
+
type: "error",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
anonymous: false,
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
indexed: true,
|
|
135
|
+
internalType: "address",
|
|
136
|
+
name: "owner",
|
|
137
|
+
type: "address",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
indexed: true,
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "spender",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
indexed: false,
|
|
147
|
+
internalType: "uint256",
|
|
148
|
+
name: "value",
|
|
149
|
+
type: "uint256",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
name: "Approval",
|
|
153
|
+
type: "event",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
anonymous: false,
|
|
157
|
+
inputs: [
|
|
158
|
+
{
|
|
159
|
+
indexed: true,
|
|
160
|
+
internalType: "address",
|
|
161
|
+
name: "user",
|
|
162
|
+
type: "address",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
indexed: false,
|
|
166
|
+
internalType: "address[]",
|
|
167
|
+
name: "rewardTokens",
|
|
168
|
+
type: "address[]",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
indexed: false,
|
|
172
|
+
internalType: "uint256[]",
|
|
173
|
+
name: "rewardAmounts",
|
|
174
|
+
type: "uint256[]",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
name: "ClaimRewards",
|
|
178
|
+
type: "event",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
anonymous: false,
|
|
182
|
+
inputs: [
|
|
183
|
+
{
|
|
184
|
+
indexed: true,
|
|
185
|
+
internalType: "address",
|
|
186
|
+
name: "caller",
|
|
187
|
+
type: "address",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
indexed: true,
|
|
191
|
+
internalType: "address",
|
|
192
|
+
name: "receiver",
|
|
193
|
+
type: "address",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
indexed: true,
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "tokenIn",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
indexed: false,
|
|
203
|
+
internalType: "uint256",
|
|
204
|
+
name: "amountDeposited",
|
|
205
|
+
type: "uint256",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
indexed: false,
|
|
209
|
+
internalType: "uint256",
|
|
210
|
+
name: "amountSyOut",
|
|
211
|
+
type: "uint256",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
name: "Deposit",
|
|
215
|
+
type: "event",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
anonymous: false,
|
|
219
|
+
inputs: [
|
|
220
|
+
{
|
|
221
|
+
indexed: false,
|
|
222
|
+
internalType: "uint8",
|
|
223
|
+
name: "version",
|
|
224
|
+
type: "uint8",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
name: "Initialized",
|
|
228
|
+
type: "event",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
anonymous: false,
|
|
232
|
+
inputs: [
|
|
233
|
+
{
|
|
234
|
+
indexed: true,
|
|
235
|
+
internalType: "address",
|
|
236
|
+
name: "previousOwner",
|
|
237
|
+
type: "address",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
indexed: true,
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "newOwner",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
name: "OwnershipTransferred",
|
|
247
|
+
type: "event",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
anonymous: false,
|
|
251
|
+
inputs: [
|
|
252
|
+
{
|
|
253
|
+
indexed: false,
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "account",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
name: "Paused",
|
|
260
|
+
type: "event",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
anonymous: false,
|
|
264
|
+
inputs: [
|
|
265
|
+
{
|
|
266
|
+
indexed: true,
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "caller",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
indexed: true,
|
|
273
|
+
internalType: "address",
|
|
274
|
+
name: "receiver",
|
|
275
|
+
type: "address",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
indexed: true,
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "tokenOut",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
indexed: false,
|
|
285
|
+
internalType: "uint256",
|
|
286
|
+
name: "amountSyToRedeem",
|
|
287
|
+
type: "uint256",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
indexed: false,
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "amountTokenOut",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
name: "Redeem",
|
|
297
|
+
type: "event",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
anonymous: false,
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
indexed: true,
|
|
304
|
+
internalType: "address",
|
|
305
|
+
name: "from",
|
|
306
|
+
type: "address",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
indexed: true,
|
|
310
|
+
internalType: "address",
|
|
311
|
+
name: "to",
|
|
312
|
+
type: "address",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
indexed: false,
|
|
316
|
+
internalType: "uint256",
|
|
317
|
+
name: "value",
|
|
318
|
+
type: "uint256",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
name: "Transfer",
|
|
322
|
+
type: "event",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
anonymous: false,
|
|
326
|
+
inputs: [
|
|
327
|
+
{
|
|
328
|
+
indexed: false,
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "account",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
name: "Unpaused",
|
|
335
|
+
type: "event",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
inputs: [],
|
|
339
|
+
name: "DOMAIN_SEPARATOR",
|
|
340
|
+
outputs: [
|
|
341
|
+
{
|
|
342
|
+
internalType: "bytes32",
|
|
343
|
+
name: "",
|
|
344
|
+
type: "bytes32",
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
stateMutability: "view",
|
|
348
|
+
type: "function",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
inputs: [],
|
|
352
|
+
name: "STARGATE_BP_DENOMINATOR",
|
|
353
|
+
outputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "uint256",
|
|
356
|
+
name: "",
|
|
357
|
+
type: "uint256",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
stateMutability: "view",
|
|
361
|
+
type: "function",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
inputs: [
|
|
365
|
+
{
|
|
366
|
+
internalType: "address",
|
|
367
|
+
name: "user",
|
|
368
|
+
type: "address",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
name: "accruedRewards",
|
|
372
|
+
outputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint256[]",
|
|
375
|
+
name: "rewardAmounts",
|
|
376
|
+
type: "uint256[]",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
stateMutability: "view",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "address",
|
|
386
|
+
name: "owner",
|
|
387
|
+
type: "address",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "spender",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
name: "allowance",
|
|
396
|
+
outputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "uint256",
|
|
399
|
+
name: "",
|
|
400
|
+
type: "uint256",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
stateMutability: "view",
|
|
404
|
+
type: "function",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
inputs: [
|
|
408
|
+
{
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "spender",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "uint256",
|
|
415
|
+
name: "amount",
|
|
416
|
+
type: "uint256",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
name: "approve",
|
|
420
|
+
outputs: [
|
|
421
|
+
{
|
|
422
|
+
internalType: "bool",
|
|
423
|
+
name: "",
|
|
424
|
+
type: "bool",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
stateMutability: "nonpayable",
|
|
428
|
+
type: "function",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
inputs: [],
|
|
432
|
+
name: "assetInfo",
|
|
433
|
+
outputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
436
|
+
name: "assetType",
|
|
437
|
+
type: "uint8",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
internalType: "address",
|
|
441
|
+
name: "assetAddress",
|
|
442
|
+
type: "address",
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
internalType: "uint8",
|
|
446
|
+
name: "assetDecimals",
|
|
447
|
+
type: "uint8",
|
|
448
|
+
},
|
|
449
|
+
],
|
|
450
|
+
stateMutability: "view",
|
|
451
|
+
type: "function",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
inputs: [
|
|
455
|
+
{
|
|
456
|
+
internalType: "address",
|
|
457
|
+
name: "account",
|
|
458
|
+
type: "address",
|
|
459
|
+
},
|
|
460
|
+
],
|
|
461
|
+
name: "balanceOf",
|
|
462
|
+
outputs: [
|
|
463
|
+
{
|
|
464
|
+
internalType: "uint256",
|
|
465
|
+
name: "",
|
|
466
|
+
type: "uint256",
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
stateMutability: "view",
|
|
470
|
+
type: "function",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
inputs: [],
|
|
474
|
+
name: "claimOwnership",
|
|
475
|
+
outputs: [],
|
|
476
|
+
stateMutability: "nonpayable",
|
|
477
|
+
type: "function",
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
inputs: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "address",
|
|
483
|
+
name: "user",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
name: "claimRewards",
|
|
488
|
+
outputs: [
|
|
489
|
+
{
|
|
490
|
+
internalType: "uint256[]",
|
|
491
|
+
name: "rewardAmounts",
|
|
492
|
+
type: "uint256[]",
|
|
493
|
+
},
|
|
494
|
+
],
|
|
495
|
+
stateMutability: "nonpayable",
|
|
496
|
+
type: "function",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
inputs: [],
|
|
500
|
+
name: "convertRate",
|
|
501
|
+
outputs: [
|
|
502
|
+
{
|
|
503
|
+
internalType: "uint256",
|
|
504
|
+
name: "",
|
|
505
|
+
type: "uint256",
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
stateMutability: "view",
|
|
509
|
+
type: "function",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
inputs: [],
|
|
513
|
+
name: "decimals",
|
|
514
|
+
outputs: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint8",
|
|
517
|
+
name: "",
|
|
518
|
+
type: "uint8",
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
stateMutability: "view",
|
|
522
|
+
type: "function",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [
|
|
526
|
+
{
|
|
527
|
+
internalType: "address",
|
|
528
|
+
name: "receiver",
|
|
529
|
+
type: "address",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
internalType: "address",
|
|
533
|
+
name: "tokenIn",
|
|
534
|
+
type: "address",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
name: "amountTokenToDeposit",
|
|
539
|
+
type: "uint256",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
internalType: "uint256",
|
|
543
|
+
name: "minSharesOut",
|
|
544
|
+
type: "uint256",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
547
|
+
name: "deposit",
|
|
548
|
+
outputs: [
|
|
549
|
+
{
|
|
550
|
+
internalType: "uint256",
|
|
551
|
+
name: "amountSharesOut",
|
|
552
|
+
type: "uint256",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
stateMutability: "payable",
|
|
556
|
+
type: "function",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
inputs: [],
|
|
560
|
+
name: "exchangeRate",
|
|
561
|
+
outputs: [
|
|
562
|
+
{
|
|
563
|
+
internalType: "uint256",
|
|
564
|
+
name: "",
|
|
565
|
+
type: "uint256",
|
|
566
|
+
},
|
|
567
|
+
],
|
|
568
|
+
stateMutability: "view",
|
|
569
|
+
type: "function",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
inputs: [],
|
|
573
|
+
name: "getRewardTokens",
|
|
574
|
+
outputs: [
|
|
575
|
+
{
|
|
576
|
+
internalType: "address[]",
|
|
577
|
+
name: "rewardTokens",
|
|
578
|
+
type: "address[]",
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
stateMutability: "view",
|
|
582
|
+
type: "function",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
inputs: [],
|
|
586
|
+
name: "getTokensIn",
|
|
587
|
+
outputs: [
|
|
588
|
+
{
|
|
589
|
+
internalType: "address[]",
|
|
590
|
+
name: "res",
|
|
591
|
+
type: "address[]",
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
stateMutability: "view",
|
|
595
|
+
type: "function",
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
inputs: [],
|
|
599
|
+
name: "getTokensOut",
|
|
600
|
+
outputs: [
|
|
601
|
+
{
|
|
602
|
+
internalType: "address[]",
|
|
603
|
+
name: "res",
|
|
604
|
+
type: "address[]",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
stateMutability: "view",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
inputs: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "address",
|
|
614
|
+
name: "token",
|
|
615
|
+
type: "address",
|
|
616
|
+
},
|
|
617
|
+
],
|
|
618
|
+
name: "isValidTokenIn",
|
|
619
|
+
outputs: [
|
|
620
|
+
{
|
|
621
|
+
internalType: "bool",
|
|
622
|
+
name: "",
|
|
623
|
+
type: "bool",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
stateMutability: "view",
|
|
627
|
+
type: "function",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
inputs: [
|
|
631
|
+
{
|
|
632
|
+
internalType: "address",
|
|
633
|
+
name: "token",
|
|
634
|
+
type: "address",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "isValidTokenOut",
|
|
638
|
+
outputs: [
|
|
639
|
+
{
|
|
640
|
+
internalType: "bool",
|
|
641
|
+
name: "",
|
|
642
|
+
type: "bool",
|
|
643
|
+
},
|
|
644
|
+
],
|
|
645
|
+
stateMutability: "view",
|
|
646
|
+
type: "function",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
inputs: [],
|
|
650
|
+
name: "lastRewardBlock",
|
|
651
|
+
outputs: [
|
|
652
|
+
{
|
|
653
|
+
internalType: "uint256",
|
|
654
|
+
name: "",
|
|
655
|
+
type: "uint256",
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
stateMutability: "view",
|
|
659
|
+
type: "function",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
inputs: [],
|
|
663
|
+
name: "lp",
|
|
664
|
+
outputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "address",
|
|
667
|
+
name: "",
|
|
668
|
+
type: "address",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
stateMutability: "view",
|
|
672
|
+
type: "function",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
inputs: [],
|
|
676
|
+
name: "name",
|
|
677
|
+
outputs: [
|
|
678
|
+
{
|
|
679
|
+
internalType: "string",
|
|
680
|
+
name: "",
|
|
681
|
+
type: "string",
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
stateMutability: "view",
|
|
685
|
+
type: "function",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
inputs: [
|
|
689
|
+
{
|
|
690
|
+
internalType: "address",
|
|
691
|
+
name: "owner",
|
|
692
|
+
type: "address",
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
name: "nonces",
|
|
696
|
+
outputs: [
|
|
697
|
+
{
|
|
698
|
+
internalType: "uint256",
|
|
699
|
+
name: "",
|
|
700
|
+
type: "uint256",
|
|
701
|
+
},
|
|
702
|
+
],
|
|
703
|
+
stateMutability: "view",
|
|
704
|
+
type: "function",
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
inputs: [],
|
|
708
|
+
name: "owner",
|
|
709
|
+
outputs: [
|
|
710
|
+
{
|
|
711
|
+
internalType: "address",
|
|
712
|
+
name: "",
|
|
713
|
+
type: "address",
|
|
714
|
+
},
|
|
715
|
+
],
|
|
716
|
+
stateMutability: "view",
|
|
717
|
+
type: "function",
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
inputs: [],
|
|
721
|
+
name: "pause",
|
|
722
|
+
outputs: [],
|
|
723
|
+
stateMutability: "nonpayable",
|
|
724
|
+
type: "function",
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
inputs: [],
|
|
728
|
+
name: "paused",
|
|
729
|
+
outputs: [
|
|
730
|
+
{
|
|
731
|
+
internalType: "bool",
|
|
732
|
+
name: "",
|
|
733
|
+
type: "bool",
|
|
734
|
+
},
|
|
735
|
+
],
|
|
736
|
+
stateMutability: "view",
|
|
737
|
+
type: "function",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
inputs: [],
|
|
741
|
+
name: "pendingOwner",
|
|
742
|
+
outputs: [
|
|
743
|
+
{
|
|
744
|
+
internalType: "address",
|
|
745
|
+
name: "",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
],
|
|
749
|
+
stateMutability: "view",
|
|
750
|
+
type: "function",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
inputs: [
|
|
754
|
+
{
|
|
755
|
+
internalType: "address",
|
|
756
|
+
name: "owner",
|
|
757
|
+
type: "address",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
internalType: "address",
|
|
761
|
+
name: "spender",
|
|
762
|
+
type: "address",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
internalType: "uint256",
|
|
766
|
+
name: "value",
|
|
767
|
+
type: "uint256",
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
internalType: "uint256",
|
|
771
|
+
name: "deadline",
|
|
772
|
+
type: "uint256",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
internalType: "uint8",
|
|
776
|
+
name: "v",
|
|
777
|
+
type: "uint8",
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
internalType: "bytes32",
|
|
781
|
+
name: "r",
|
|
782
|
+
type: "bytes32",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
internalType: "bytes32",
|
|
786
|
+
name: "s",
|
|
787
|
+
type: "bytes32",
|
|
788
|
+
},
|
|
789
|
+
],
|
|
790
|
+
name: "permit",
|
|
791
|
+
outputs: [],
|
|
792
|
+
stateMutability: "nonpayable",
|
|
793
|
+
type: "function",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
inputs: [],
|
|
797
|
+
name: "pid",
|
|
798
|
+
outputs: [
|
|
799
|
+
{
|
|
800
|
+
internalType: "uint16",
|
|
801
|
+
name: "",
|
|
802
|
+
type: "uint16",
|
|
803
|
+
},
|
|
804
|
+
],
|
|
805
|
+
stateMutability: "view",
|
|
806
|
+
type: "function",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
inputs: [
|
|
810
|
+
{
|
|
811
|
+
internalType: "address",
|
|
812
|
+
name: "tokenIn",
|
|
813
|
+
type: "address",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
internalType: "uint256",
|
|
817
|
+
name: "amountTokenToDeposit",
|
|
818
|
+
type: "uint256",
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
name: "previewDeposit",
|
|
822
|
+
outputs: [
|
|
823
|
+
{
|
|
824
|
+
internalType: "uint256",
|
|
825
|
+
name: "amountSharesOut",
|
|
826
|
+
type: "uint256",
|
|
827
|
+
},
|
|
828
|
+
],
|
|
829
|
+
stateMutability: "view",
|
|
830
|
+
type: "function",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
inputs: [
|
|
834
|
+
{
|
|
835
|
+
internalType: "address",
|
|
836
|
+
name: "tokenOut",
|
|
837
|
+
type: "address",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "amountSharesToRedeem",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
name: "previewRedeem",
|
|
846
|
+
outputs: [
|
|
847
|
+
{
|
|
848
|
+
internalType: "uint256",
|
|
849
|
+
name: "amountTokenOut",
|
|
850
|
+
type: "uint256",
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
stateMutability: "view",
|
|
854
|
+
type: "function",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
inputs: [
|
|
858
|
+
{
|
|
859
|
+
internalType: "address",
|
|
860
|
+
name: "receiver",
|
|
861
|
+
type: "address",
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
internalType: "uint256",
|
|
865
|
+
name: "amountSharesToRedeem",
|
|
866
|
+
type: "uint256",
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
internalType: "address",
|
|
870
|
+
name: "tokenOut",
|
|
871
|
+
type: "address",
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
internalType: "uint256",
|
|
875
|
+
name: "minTokenOut",
|
|
876
|
+
type: "uint256",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
internalType: "bool",
|
|
880
|
+
name: "burnFromInternalBalance",
|
|
881
|
+
type: "bool",
|
|
882
|
+
},
|
|
883
|
+
],
|
|
884
|
+
name: "redeem",
|
|
885
|
+
outputs: [
|
|
886
|
+
{
|
|
887
|
+
internalType: "uint256",
|
|
888
|
+
name: "amountTokenOut",
|
|
889
|
+
type: "uint256",
|
|
890
|
+
},
|
|
891
|
+
],
|
|
892
|
+
stateMutability: "nonpayable",
|
|
893
|
+
type: "function",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
inputs: [],
|
|
897
|
+
name: "rewardIndexesCurrent",
|
|
898
|
+
outputs: [
|
|
899
|
+
{
|
|
900
|
+
internalType: "uint256[]",
|
|
901
|
+
name: "indexes",
|
|
902
|
+
type: "uint256[]",
|
|
903
|
+
},
|
|
904
|
+
],
|
|
905
|
+
stateMutability: "nonpayable",
|
|
906
|
+
type: "function",
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
inputs: [],
|
|
910
|
+
name: "rewardIndexesStored",
|
|
911
|
+
outputs: [
|
|
912
|
+
{
|
|
913
|
+
internalType: "uint256[]",
|
|
914
|
+
name: "indexes",
|
|
915
|
+
type: "uint256[]",
|
|
916
|
+
},
|
|
917
|
+
],
|
|
918
|
+
stateMutability: "view",
|
|
919
|
+
type: "function",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
inputs: [
|
|
923
|
+
{
|
|
924
|
+
internalType: "address",
|
|
925
|
+
name: "",
|
|
926
|
+
type: "address",
|
|
927
|
+
},
|
|
928
|
+
],
|
|
929
|
+
name: "rewardState",
|
|
930
|
+
outputs: [
|
|
931
|
+
{
|
|
932
|
+
internalType: "uint128",
|
|
933
|
+
name: "index",
|
|
934
|
+
type: "uint128",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
internalType: "uint128",
|
|
938
|
+
name: "lastBalance",
|
|
939
|
+
type: "uint128",
|
|
940
|
+
},
|
|
941
|
+
],
|
|
942
|
+
stateMutability: "view",
|
|
943
|
+
type: "function",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
inputs: [],
|
|
947
|
+
name: "sid",
|
|
948
|
+
outputs: [
|
|
949
|
+
{
|
|
950
|
+
internalType: "uint256",
|
|
951
|
+
name: "",
|
|
952
|
+
type: "uint256",
|
|
953
|
+
},
|
|
954
|
+
],
|
|
955
|
+
stateMutability: "view",
|
|
956
|
+
type: "function",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
inputs: [],
|
|
960
|
+
name: "stargateRouter",
|
|
961
|
+
outputs: [
|
|
962
|
+
{
|
|
963
|
+
internalType: "address",
|
|
964
|
+
name: "",
|
|
965
|
+
type: "address",
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
stateMutability: "view",
|
|
969
|
+
type: "function",
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
inputs: [],
|
|
973
|
+
name: "stargateStaking",
|
|
974
|
+
outputs: [
|
|
975
|
+
{
|
|
976
|
+
internalType: "address",
|
|
977
|
+
name: "",
|
|
978
|
+
type: "address",
|
|
979
|
+
},
|
|
980
|
+
],
|
|
981
|
+
stateMutability: "view",
|
|
982
|
+
type: "function",
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
inputs: [],
|
|
986
|
+
name: "stgToken",
|
|
987
|
+
outputs: [
|
|
988
|
+
{
|
|
989
|
+
internalType: "address",
|
|
990
|
+
name: "",
|
|
991
|
+
type: "address",
|
|
992
|
+
},
|
|
993
|
+
],
|
|
994
|
+
stateMutability: "view",
|
|
995
|
+
type: "function",
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
inputs: [],
|
|
999
|
+
name: "symbol",
|
|
1000
|
+
outputs: [
|
|
1001
|
+
{
|
|
1002
|
+
internalType: "string",
|
|
1003
|
+
name: "",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
},
|
|
1006
|
+
],
|
|
1007
|
+
stateMutability: "view",
|
|
1008
|
+
type: "function",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
inputs: [],
|
|
1012
|
+
name: "totalSupply",
|
|
1013
|
+
outputs: [
|
|
1014
|
+
{
|
|
1015
|
+
internalType: "uint256",
|
|
1016
|
+
name: "",
|
|
1017
|
+
type: "uint256",
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
stateMutability: "view",
|
|
1021
|
+
type: "function",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
inputs: [
|
|
1025
|
+
{
|
|
1026
|
+
internalType: "address",
|
|
1027
|
+
name: "to",
|
|
1028
|
+
type: "address",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
internalType: "uint256",
|
|
1032
|
+
name: "amount",
|
|
1033
|
+
type: "uint256",
|
|
1034
|
+
},
|
|
1035
|
+
],
|
|
1036
|
+
name: "transfer",
|
|
1037
|
+
outputs: [
|
|
1038
|
+
{
|
|
1039
|
+
internalType: "bool",
|
|
1040
|
+
name: "",
|
|
1041
|
+
type: "bool",
|
|
1042
|
+
},
|
|
1043
|
+
],
|
|
1044
|
+
stateMutability: "nonpayable",
|
|
1045
|
+
type: "function",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
inputs: [
|
|
1049
|
+
{
|
|
1050
|
+
internalType: "address",
|
|
1051
|
+
name: "from",
|
|
1052
|
+
type: "address",
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
internalType: "address",
|
|
1056
|
+
name: "to",
|
|
1057
|
+
type: "address",
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
internalType: "uint256",
|
|
1061
|
+
name: "amount",
|
|
1062
|
+
type: "uint256",
|
|
1063
|
+
},
|
|
1064
|
+
],
|
|
1065
|
+
name: "transferFrom",
|
|
1066
|
+
outputs: [
|
|
1067
|
+
{
|
|
1068
|
+
internalType: "bool",
|
|
1069
|
+
name: "",
|
|
1070
|
+
type: "bool",
|
|
1071
|
+
},
|
|
1072
|
+
],
|
|
1073
|
+
stateMutability: "nonpayable",
|
|
1074
|
+
type: "function",
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
inputs: [
|
|
1078
|
+
{
|
|
1079
|
+
internalType: "address",
|
|
1080
|
+
name: "newOwner",
|
|
1081
|
+
type: "address",
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
internalType: "bool",
|
|
1085
|
+
name: "direct",
|
|
1086
|
+
type: "bool",
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
internalType: "bool",
|
|
1090
|
+
name: "renounce",
|
|
1091
|
+
type: "bool",
|
|
1092
|
+
},
|
|
1093
|
+
],
|
|
1094
|
+
name: "transferOwnership",
|
|
1095
|
+
outputs: [],
|
|
1096
|
+
stateMutability: "nonpayable",
|
|
1097
|
+
type: "function",
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
inputs: [],
|
|
1101
|
+
name: "underlying",
|
|
1102
|
+
outputs: [
|
|
1103
|
+
{
|
|
1104
|
+
internalType: "address",
|
|
1105
|
+
name: "",
|
|
1106
|
+
type: "address",
|
|
1107
|
+
},
|
|
1108
|
+
],
|
|
1109
|
+
stateMutability: "view",
|
|
1110
|
+
type: "function",
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
inputs: [],
|
|
1114
|
+
name: "unpause",
|
|
1115
|
+
outputs: [],
|
|
1116
|
+
stateMutability: "nonpayable",
|
|
1117
|
+
type: "function",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
inputs: [
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "address",
|
|
1123
|
+
name: "",
|
|
1124
|
+
type: "address",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
internalType: "address",
|
|
1128
|
+
name: "",
|
|
1129
|
+
type: "address",
|
|
1130
|
+
},
|
|
1131
|
+
],
|
|
1132
|
+
name: "userReward",
|
|
1133
|
+
outputs: [
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "uint128",
|
|
1136
|
+
name: "index",
|
|
1137
|
+
type: "uint128",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
internalType: "uint128",
|
|
1141
|
+
name: "accrued",
|
|
1142
|
+
type: "uint128",
|
|
1143
|
+
},
|
|
1144
|
+
],
|
|
1145
|
+
stateMutability: "view",
|
|
1146
|
+
type: "function",
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
inputs: [],
|
|
1150
|
+
name: "yieldToken",
|
|
1151
|
+
outputs: [
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "address",
|
|
1154
|
+
name: "",
|
|
1155
|
+
type: "address",
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
stateMutability: "view",
|
|
1159
|
+
type: "function",
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
stateMutability: "payable",
|
|
1163
|
+
type: "receive",
|
|
1164
|
+
},
|
|
1165
|
+
];
|
|
1166
|
+
|
|
1167
|
+
const _bytecode =
|
|
1168
|
+
"0x6102806040523480156200001257600080fd5b50604051620050c5380380620050c5833981016040819052620000359162000a17565b8484848282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a2919062000ab0565b6040805180820190915260018152603160f81b602082015283908184846003620000cd848262000b6b565b506004620000dc838262000b6b565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200018f8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001d657506007546001600160a01b90910460ff16105b806200020d5750620001f330620005db60201b620017d51760201c565b1580156200020d5750600754600160a01b900460ff166001145b620002765760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002a4576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002bc620005ea565b801562000305576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b0387166101c081905260408051637e062a3560e11b8152905191955063fc0c546a94506004808201945060209350908290030181865afa15801562000358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037e919062000c37565b6001600160a01b03166101e0816001600160a01b0316815250506101c0516001600160a01b031663f887ea406040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000400919062000c37565b6001600160a01b0316610200816001600160a01b0316815250506101c0516001600160a01b0316633e0dc34e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000482919062000c55565b61ffff16610180526001600160a01b0382166102208190526101a082905260408051633604cef760e11b81529051636c099dee916004808201926020929091908290030181865afa158015620004dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000502919062000c37565b6001600160a01b0316610240816001600160a01b0316815250506101c0516001600160a01b031663feb56b156040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200055e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000584919062000c55565b610260526101e051610200516200059c91906200066d565b620005b46101c051610220516200066d60201b60201c565b620005d0610220516101a0516101c0516200073c60201b60201c565b505050505062000d26565b6001600160a01b03163b151590565b600754600160a81b900460ff16620006595760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200026d565b600680546001600160a01b03191633179055565b6001600160a01b03821662000680575050565b6200069460026001600160601b0362000c6f565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620006ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000714919062000c55565b10156200073857620007298282600062000819565b62000738828260001962000819565b5050565b604051631526fe2760e01b8152600481018390526000906001600160a01b03851690631526fe2790602401608060405180830381865afa15801562000785573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ab919062000ca4565b5050509050816001600160a01b0316816001600160a01b031614620008135760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964207369642026206c70546f6b656e000000000000000000000060448201526064016200026d565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000877919062000ce4565b6000604051808303816000865af19150503d8060008114620008b6576040519150601f19603f3d011682016040523d82523d6000602084013e620008bb565b606091505b5091509150818015620008e9575080511580620008e9575080806020019051810190620008e9919062000d02565b620009265760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016200026d565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200096057818101518382015260200162000946565b50506000910152565b600082601f8301126200097b57600080fd5b81516001600160401b03808211156200099857620009986200092d565b604051601f8301601f19908116603f01168101908282118183101715620009c357620009c36200092d565b81604052838152866020858801011115620009dd57600080fd5b620009f084602083016020890162000943565b9695505050505050565b80516001600160a01b038116811462000a1257600080fd5b919050565b600080600080600060a0868803121562000a3057600080fd5b85516001600160401b038082111562000a4857600080fd5b62000a5689838a0162000969565b9650602088015191508082111562000a6d57600080fd5b5062000a7c8882890162000969565b94505062000a8d60408701620009fa565b925062000a9d60608701620009fa565b9150608086015190509295509295909350565b60006020828403121562000ac357600080fd5b815160ff8116811462000ad557600080fd5b9392505050565b600181811c9082168062000af157607f821691505b60208210810362000b1257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b6657600081815260208120601f850160051c8101602086101562000b415750805b601f850160051c820191505b8181101562000b625782815560010162000b4d565b5050505b505050565b81516001600160401b0381111562000b875762000b876200092d565b62000b9f8162000b98845462000adc565b8462000b18565b602080601f83116001811462000bd7576000841562000bbe5750858301515b600019600386901b1c1916600185901b17855562000b62565b600085815260208120601f198616915b8281101562000c085788860151825594840194600190910190840162000be7565b508582101562000c275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c4a57600080fd5b62000ad582620009fa565b60006020828403121562000c6857600080fd5b5051919050565b60006001600160601b038381168062000c9857634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000806000806080858703121562000cbb57600080fd5b62000cc685620009fa565b60208601516040870151606090970151919890975090945092505050565b6000825162000cf881846020870162000943565b9190910192915050565b60006020828403121562000d1557600080fd5b8151801515811462000ad557600080fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516141de62000ee7600039600081816108b401528181610e480152818161249c015281816126e40152612983015260008181610621015261192d01526000818161023a01528181611aed01528181612263015261354e01526000818161069901528181611a1801526123880152600081816104ef0152818161098a015281816111d2015281816112ad015281816112ce01526119ca01526000818161039d015281816109de01528181610e6c01528181610eee0152818161120d01528181611aa8015281816122ee0152818161232c0152818161235e015281816124420152818161250d0152818161254f015281816125d50152818161265b01528181612757015281816127990152818161281f01526128a50152600081816106e301528181611b1a01528181612290015261357b01526000818161085801528181611a4501526123b70152600061056301526000611fb80152600061200701526000611fe201526000611f3b01526000611f6501526000611f8f015260006103d101526141de6000f3fe60806040526004361061021c5760003560e01c80630419738e1461022857806306fdde0314610272578063071bc3c914610294578063078dfbe7146102b6578063095ea7b3146102d8578063128fced11461030857806318160ddd1461033557806320e8c56514610358578063213cae631461029457806323b872dd1461036b578063313c06a01461038b578063313ce567146103bf5780633644e515146104055780633ba0b9a91461041a5780633f4ba83a1461042f5780634e71e0c8146104445780635c975abb146104595780635cbadbe4146104715780636f307dc3146104dd57806370a0823114610511578063769f8e5d1461053157806376d5de8514610551578063784367d6146105855780637ecebe00146105a55780638456cb59146105c55780638da5cb5b146105da57806395d89b41146105fa5780639afb25de1461060f578063a40bee5014610643578063a9059cbb14610667578063a9e56f3c14610687578063a9f8d181146106bb578063b1e8eb95146106d1578063b8f82b2614610705578063c4f59f9b14610725578063c9616b041461073a578063cbe52ae314610750578063d505accf14610770578063da88ecb414610790578063dd62ed3e146107a5578063e30c3978146107c5578063ea64a820146107e5578063ef5cfb8c14610826578063f106845414610846578063f8b2f9911461088d578063fa5a4f0614610585578063feb56b15146108a257600080fd5b3661022357005b600080fd5b34801561023457600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516102699190613aee565b60405180910390f35b34801561027e57600080fd5b506102876108d6565b6040516102699190613b26565b3480156102a057600080fd5b506102a9610968565b6040516102699190613b9d565b3480156102c257600080fd5b506102d66102d1366004613bda565b610a33565b005b3480156102e457600080fd5b506102f86102f3366004613c23565b610b39565b6040519015158152602001610269565b34801561031457600080fd5b50610328610323366004613c4d565b610b53565b6040516102699190613c98565b34801561034157600080fd5b5061034a610c5f565b604051908152602001610269565b61034a610366366004613cab565b610c6e565b34801561037757600080fd5b506102f8610386366004613ced565b610db7565b34801561039757600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103cb57600080fd5b506103f37f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610269565b34801561041157600080fd5b5061034a610e35565b34801561042657600080fd5b5061034a610e44565b34801561043b57600080fd5b506102d6610f7e565b34801561045057600080fd5b506102d6610fb2565b34801561046557600080fd5b5060385460ff166102f8565b34801561047d57600080fd5b506104bd61048c366004613d29565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610269565b3480156104e957600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561051d57600080fd5b5061034a61052c366004613c4d565b61105e565b34801561053d57600080fd5b5061034a61054c366004613d5c565b611079565b34801561055d57600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561059157600080fd5b506102f86105a0366004613c4d565b6111ce565b3480156105b157600080fd5b5061034a6105c0366004613c4d565b611246565b3480156105d157600080fd5b506102d6611264565b3480156105e657600080fd5b5060065461025c906001600160a01b031681565b34801561060657600080fd5b50610287611296565b34801561061b57600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064f57600080fd5b506106586112a5565b60405161026993929190613dcd565b34801561067357600080fd5b506102f8610682366004613c23565b611359565b34801561069357600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106c757600080fd5b5061034a603a5481565b3480156106dd57600080fd5b5061034a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561071157600080fd5b5061034a610720366004613c23565b6113cb565b34801561073157600080fd5b506102a9611406565b34801561074657600080fd5b5061034a61271081565b34801561075c57600080fd5b5061034a61076b366004613c23565b611410565b34801561077c57600080fd5b506102d661078b366004613e1e565b611444565b34801561079c57600080fd5b506103286115a8565b3480156107b157600080fd5b5061034a6107c0366004613d29565b611679565b3480156107d157600080fd5b5060075461025c906001600160a01b031681565b3480156107f157600080fd5b506104bd610800366004613c4d565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561083257600080fd5b50610328610841366004613c4d565b6116a4565b34801561085257600080fd5b5061087a7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff9091168152602001610269565b34801561089957600080fd5b50610328611763565b3480156108ae57600080fd5b5061034a7f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546108e590613e8b565b80601f016020809104026020016040519081016040528092919081815260200182805461091190613e8b565b801561095e5780601f106109335761010080835404028352916020019161095e565b820191906000526020600020905b81548152906001019060200180831161094157829003601f168201915b5050505050905090565b60408051600280825260608083018452926020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106109bc576109bc613ed5565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a1057610a10613ed5565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6006546001600160a01b03163314610a665760405162461bcd60e51b8152600401610a5d90613eeb565b60405180910390fd5b8115610b18576001600160a01b038316151580610a805750805b610ac45760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610a5d565b6006546040516001600160a01b0380861692169060008051602061416983398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610b478185856117e4565b60019150505b92915050565b60606000610b5f611909565b905080516001600160401b03811115610b7a57610b7a613ebf565b604051908082528060200260200182016040528015610ba3578160200160208202803683370190505b50915060005b8151811015610c585760396000838381518110610bc857610bc8613ed5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610c4557610c45613ed5565b6020908102919091010152600101610ba9565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610c9f5760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b179055610cbd846111ce565b610cdc57836040516315d57ce360e31b8152600401610a5d9190613aee565b82600003610cfd57604051630a907f2f60e41b815260040160405180910390fd5b610d0884338561195f565b610d1284846119c6565b905081811015610d39578082604051635e38f95d60e11b8152600401610a5d929190613f57565b610d438582611b7c565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610d92929190613f57565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610de85760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b17905533610e09858285611c92565b610e14858585611d0c565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610e3f611f2e565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000610f747f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eec9190613f65565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166315770f926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6e9190613f65565b90612055565b610e3f9190613f94565b6006546001600160a01b03163314610fa85760405162461bcd60e51b8152600401610a5d90613eeb565b610fb0612084565b565b6007546001600160a01b031633811461100d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610a5d565b6006546040516001600160a01b0380841692169060008051602061416983398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff16016110aa5760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b1790556110c8846111ce565b6110e757836040516388a5056160e01b8152600401610a5d9190613aee565b846000036111085760405163c3d83b0760e01b815260040160405180910390fd5b811561111d5761111830866120d0565b611127565b61112733866120d0565b611132868587612249565b9050828110156111595780836040516305ff726560e51b8152600401610a5d929190613f57565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c88856040516111a8929190613f57565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610b4d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b038116600090815260056020526040812054610b4d565b6006546001600160a01b0316331461128e5760405162461bcd60e51b8152600401610a5d90613eeb565b610fb06124cc565b6060600480546108e590613e8b565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134e9190613fab565b925092509250909192565b600254600090600119600160f81b90910460ff160161138a5760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b179055336113ab818585611d0c565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60006113d6836111ce565b6113f557826040516315d57ce360e31b8152600401610a5d9190613aee565b6113ff8383612509565b9392505050565b6060610e3f611909565b600061141b836111ce565b61143a57826040516388a5056160e01b8152600401610a5d9190613aee565b6113ff8383612753565b834211156114945760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a5d565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114c38c6129a8565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061151e826129d0565b9050600061152e82878787612a1e565b9050896001600160a01b0316816001600160a01b0316146115915760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a5d565b61159c8a8a8a6117e4565b50505050505050505050565b606060006115b4611909565b905080516001600160401b038111156115cf576115cf613ebf565b6040519080825280602002602001820160405280156115f8578160200160208202803683370190505b50915060005b815181101561167457603b600083838151811061161d5761161d613ed5565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061166157611661613ed5565b60209081029190910101526001016115fe565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff16016116d55760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b1790556116f382612a46565b6116fd8283612a54565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611732611909565b83604051611741929190613fc8565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff16016117945760405162461bcd60e51b8152600401610a5d90613f20565b600280546001600160f81b0316600160f91b1790556117b1612cfc565b50506117bb6115a8565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6001600160a01b0383166118465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a5d565b6001600160a01b0382166118a75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a5d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610a1057610a10613ed5565b6001600160a01b0383166119ab57803414610b345760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610a5d565b8015610b3457610b346001600160a01b038416833084612f97565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611ad3576040516321ec87bf60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906387b21efc90611a71907f00000000000000000000000000000000000000000000000000000000000000009086903090600401613ff6565b600060405180830381600087803b158015611a8b57600080fd5b505af1158015611a9f573d6000803e3d6000fd5b50505050611acc7f0000000000000000000000000000000000000000000000000000000000000000613002565b9050611ad6565b50805b604051631c57762b60e31b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e2bbb15890611b44907f0000000000000000000000000000000000000000000000000000000000000000908590600401613f57565b600060405180830381600087803b158015611b5e57600080fd5b505af1158015611b72573d6000803e3d6000fd5b5050505092915050565b6001600160a01b038216611bd25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a5d565b611bde6000838361308c565b611be781613096565b60028054600090611c029084906001600160f81b031661401b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611c5a9190614042565b90915550506040518181526001600160a01b038316906000906000805160206141898339815191529060200160405180910390a35050565b6000611c9e8484611679565b90506000198114611d065781811015611cf95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a5d565b611d0684848484036117e4565b50505050565b6001600160a01b038316611d705760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a5d565b6001600160a01b038216611dd25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a5d565b816001600160a01b0316836001600160a01b031603611e2d5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610a5d565b611e3883838361308c565b6001600160a01b03831660009081526020819052604090205481811015611eb05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a5d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611ee7908490614042565b92505081905550826001600160a01b0316846001600160a01b031660008051602061418983398151915284604051611f2191815260200190565b60405180910390a3611d06565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611f8757507f000000000000000000000000000000000000000000000000000000000000000046145b15611fb157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008061206a670de0b6b3a764000085613f94565b905082818161207b5761207b614055565b04949350505050565b61208c6130b0565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516120c69190613aee565b60405180910390a1565b6001600160a01b0382166121305760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a5d565b61213c8260008361308c565b6001600160a01b038216600090815260208190526040902054818110156121b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a5d565b6001600160a01b038316600090815260208190526040902082820390556121d682613096565b600280546000906121f19084906001600160f81b031661406b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020614189833981519152846040516118fc91815260200190565b604051630441a3e760e41b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063441a3e70906122ba907f0000000000000000000000000000000000000000000000000000000000000000908690600401613f57565b600060405180830381600087803b1580156122d457600080fd5b505af11580156122e8573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036123575750806123527f000000000000000000000000000000000000000000000000000000000000000085836130f9565b6113ff565b60006123827f0000000000000000000000000000000000000000000000000000000000000000613002565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4de93a57f000000000000000000000000000000000000000000000000000000000000000086896040518463ffffffff1660e01b81526004016123f693929190613ff6565b6020604051808303816000875af1158015612415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124399190613f65565b905060006124667f0000000000000000000000000000000000000000000000000000000000000000613002565b612470908461408b565b905084811015612497578481604051635d84686360e01b8152600401610a5d929190613f57565b6124c17f000000000000000000000000000000000000000000000000000000000000000083613f94565b979650505050505050565b6124d46131bd565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120b93390565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361254b575080610b4d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166315770f926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf9190613f65565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126559190613f65565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663faa24f076040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126db9190613f65565b905060006127097f00000000000000000000000000000000000000000000000000000000000000008761409e565b9050600061271061271a8484613f94565b612724919061409e565b9050612730818361408b565b91508461273d8584613f94565b612747919061409e565b98975050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612795575080610b4d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166315770f926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128199190613f65565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561287b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289f9190613f65565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631e8e51da6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129259190613f65565b90506000836129348484613f94565b61293e919061409e565b905080861115612965578581604051635d84686360e01b8152600401610a5d929190613f57565b6000836129728689613f94565b61297c919061409e565b90506127477f000000000000000000000000000000000000000000000000000000000000000082613f94565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610b4d6129dd611f2e565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612a2f87878787613203565b91509150612a3c816132e6565b5095945050505050565b612a51816000613497565b50565b60606000612a60611909565b905080516001600160401b03811115612a7b57612a7b613ebf565b604051908082528060200260200182016040528015612aa4578160200160208202803683370190505b50915060005b8151811015612cf45760396000838381518110612ac957612ac9613ed5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110612b4657612b46613ed5565b602002602001018181525050828181518110612b6457612b64613ed5565b6020026020010151600014612ce257600060396000848481518110612b8b57612b8b613ed5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550612c1f838281518110612c1257612c12613ed5565b6020026020010151613517565b603b6000848481518110612c3557612c35613ed5565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316612c8191906140c0565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612ce2828281518110612cba57612cba613ed5565b602002602001015185858481518110612cd557612cd5613ed5565b60200260200101516130f9565b80612cec816140e0565b915050612aaa565b505092915050565b606080612d07611909565b915081516001600160401b03811115612d2257612d22613ebf565b604051908082528060200260200182016040528015612d4b578160200160208202803683370190505b5090508151600003612d5b579091565b43603a5414612f0f5743603a556000612d7261352d565b9050612d7c613537565b60005b8351811015612f0c576000848281518110612d9c57612d9c613ed5565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b031690612dfa90889086908110612ded57612ded613ed5565b6020026020010151613002565b612e04919061408b565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003612e37575060015b8415612e5457612e478286612055565b612e519082614042565b90505b612e5d81613517565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b0392909216919091179055612e9c82613517565b6001600160a01b0384166000908152603b602052604090208054601090612ed4908490600160801b90046001600160801b03166140f9565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555050505080612f05906140e0565b9050612d7f565b50505b60005b8251811015612f9257603b6000848381518110612f3157612f31613ed5565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b0390911690839083908110612f7557612f75613ed5565b602090810291909101015280612f8a816140e0565b915050612f12565b509091565b6040516001600160a01b0380851660248301528316604482015260648101829052611d069085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526135d4565b60006001600160a01b03821615613085576040516370a0823160e01b81526001600160a01b038316906370a082319061303f903090600401613aee565b602060405180830381865afa15801561305c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130809190613f65565b610b4d565b4792915050565b610b348383613497565b60006001600160f81b038211156130ac57600080fd5b5090565b60385460ff16610fb05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a5d565b8060000361310657505050565b6001600160a01b0383166131a9576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613161576040519150601f19603f3d011682016040523d82523d6000602084013e613166565b606091505b5050905080611d065760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610a5d565b610b346001600160a01b03841683836136a6565b60385460ff1615610fb05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a5d565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561323057506000905060036132dd565b8460ff16601b1415801561324857508460ff16601c14155b1561325957506000905060046132dd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156132ad573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132d6576000600192509250506132dd565b9150600090505b94509492505050565b60008160048111156132fa576132fa613db7565b036133025750565b600181600481111561331657613316613db7565b0361335e5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610a5d565b600281600481111561337257613372613db7565b036133bf5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a5d565b60038160048111156133d3576133d3613db7565b0361342b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a5d565b600481600481111561343f5761343f613db7565b03612a515760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a5d565b6000806134a2612cfc565b9150915081516000036134b55750505050565b6001600160a01b038416158015906134d657506001600160a01b0384163014155b156134e6576134e68483836136d6565b6001600160a01b0383161580159061350757506001600160a01b0383163014155b15611d0657611d068383836136d6565b60006001600160801b038211156130ac57600080fd5b6000610e3f610c5f565b604051630441a3e760e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063441a3e70906135a6907f000000000000000000000000000000000000000000000000000000000000000090600090600401613f57565b600060405180830381600087803b1580156135c057600080fd5b505af1158015611d06573d6000803e3d6000fd5b6000613629826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166139569092919063ffffffff16565b805190915015610b3457808060200190518101906136479190614119565b610b345760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a5d565b6040516001600160a01b038316602482015260448101829052610b3490849063a9059cbb60e01b90606401612fcb565b6001600160a01b038316158015906136f757506001600160a01b0383163014155b61370357613703614136565b600061370e8461396d565b905060005b835181101561394f57600084828151811061373057613730613ed5565b60200260200101519050600084838151811061374e5761374e613ed5565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b0316908190036137ea5761379c82613517565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b03909416939093179092555061393f9050565b8181036137f95750505061393f565b6000613805828461408b565b905060006138138783613978565b6001600160a01b038681166000908152603960209081526040808320938f168352929052908120549192509061385a908390600160801b90046001600160801b0316614042565b9050604051806040016040528061387087613517565b6001600160801b0316815260200161388783613517565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613948816140e0565b9050613713565b5050505050565b60606139658484600085613996565b949350505050565b6000610b4d8261105e565b6000806139858385613f94565b9050670de0b6b3a76400008161207b565b6060824710156139f75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a5d565b613a00856117d5565b613a4c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a5d565b600080866001600160a01b03168587604051613a68919061414c565b60006040518083038185875af1925050503d8060008114613aa5576040519150601f19603f3d011682016040523d82523d6000602084013e613aaa565b606091505b50915091506124c182828660608315613ac45750816113ff565b825115613ad45782518084602001fd5b8160405162461bcd60e51b8152600401610a5d9190613b26565b6001600160a01b0391909116815260200190565b60005b83811015613b1d578181015183820152602001613b05565b50506000910152565b6020815260008251806020840152613b45816040850160208701613b02565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015613b925781516001600160a01b031687529582019590820190600101613b6d565b509495945050505050565b6020815260006113ff6020830184613b59565b80356001600160a01b0381168114613bc757600080fd5b919050565b8015158114612a5157600080fd5b600080600060608486031215613bef57600080fd5b613bf884613bb0565b92506020840135613c0881613bcc565b91506040840135613c1881613bcc565b809150509250925092565b60008060408385031215613c3657600080fd5b613c3f83613bb0565b946020939093013593505050565b600060208284031215613c5f57600080fd5b6113ff82613bb0565b600081518084526020808501945080840160005b83811015613b9257815187529582019590820190600101613c7c565b6020815260006113ff6020830184613c68565b60008060008060808587031215613cc157600080fd5b613cca85613bb0565b9350613cd860208601613bb0565b93969395505050506040820135916060013590565b600080600060608486031215613d0257600080fd5b613d0b84613bb0565b9250613d1960208501613bb0565b9150604084013590509250925092565b60008060408385031215613d3c57600080fd5b613d4583613bb0565b9150613d5360208401613bb0565b90509250929050565b600080600080600060a08688031215613d7457600080fd5b613d7d86613bb0565b945060208601359350613d9260408701613bb0565b9250606086013591506080860135613da981613bcc565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6060810160028510613def57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114612a5157600080fd5b600080600080600080600060e0888a031215613e3957600080fd5b613e4288613bb0565b9650613e5060208901613bb0565b955060408801359450606088013593506080880135613e6e81613e0f565b9699959850939692959460a0840135945060c09093013592915050565b600181811c90821680613e9f57607f821691505b6020821081036129ca57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215613f7757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b4d57610b4d613f7e565b600060208284031215613fbd57600080fd5b81516113ff81613e0f565b604081526000613fdb6040830185613b59565b8281036020840152613fed8185613c68565b95945050505050565b61ffff93909316835260208301919091526001600160a01b0316604082015260600190565b6001600160f81b0381811683821601908082111561403b5761403b613f7e565b5092915050565b80820180821115610b4d57610b4d613f7e565b634e487b7160e01b600052601260045260246000fd5b6001600160f81b0382811682821603908082111561403b5761403b613f7e565b81810381811115610b4d57610b4d613f7e565b6000826140bb57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160801b0382811682821603908082111561403b5761403b613f7e565b6000600182016140f2576140f2613f7e565b5060010190565b6001600160801b0381811683821601908082111561403b5761403b613f7e565b60006020828403121561412b57600080fd5b81516113ff81613bcc565b634e487b7160e01b600052600160045260246000fd5b6000825161415e818460208701613b02565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d99cd4a325c004044ee0e7c4f2a88e7e0da07c27abe1ce2a4577d019e14fdab364736f6c63430008110033";
|
|
1169
|
+
|
|
1170
|
+
type PendleStargateLPSYConstructorParams =
|
|
1171
|
+
| [signer?: Signer]
|
|
1172
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1173
|
+
|
|
1174
|
+
const isSuperArgs = (
|
|
1175
|
+
xs: PendleStargateLPSYConstructorParams
|
|
1176
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1177
|
+
|
|
1178
|
+
export class PendleStargateLPSY__factory extends ContractFactory {
|
|
1179
|
+
constructor(...args: PendleStargateLPSYConstructorParams) {
|
|
1180
|
+
if (isSuperArgs(args)) {
|
|
1181
|
+
super(...args);
|
|
1182
|
+
} else {
|
|
1183
|
+
super(_abi, _bytecode, args[0]);
|
|
1184
|
+
}
|
|
1185
|
+
this.contractName = "PendleStargateLPSY";
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
deploy(
|
|
1189
|
+
_name: string,
|
|
1190
|
+
_symbol: string,
|
|
1191
|
+
_stargateLP: string,
|
|
1192
|
+
_stargateStaking: string,
|
|
1193
|
+
_sid: BigNumberish,
|
|
1194
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1195
|
+
): Promise<PendleStargateLPSY> {
|
|
1196
|
+
return super.deploy(
|
|
1197
|
+
_name,
|
|
1198
|
+
_symbol,
|
|
1199
|
+
_stargateLP,
|
|
1200
|
+
_stargateStaking,
|
|
1201
|
+
_sid,
|
|
1202
|
+
overrides || {}
|
|
1203
|
+
) as Promise<PendleStargateLPSY>;
|
|
1204
|
+
}
|
|
1205
|
+
getDeployTransaction(
|
|
1206
|
+
_name: string,
|
|
1207
|
+
_symbol: string,
|
|
1208
|
+
_stargateLP: string,
|
|
1209
|
+
_stargateStaking: string,
|
|
1210
|
+
_sid: BigNumberish,
|
|
1211
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1212
|
+
): TransactionRequest {
|
|
1213
|
+
return super.getDeployTransaction(
|
|
1214
|
+
_name,
|
|
1215
|
+
_symbol,
|
|
1216
|
+
_stargateLP,
|
|
1217
|
+
_stargateStaking,
|
|
1218
|
+
_sid,
|
|
1219
|
+
overrides || {}
|
|
1220
|
+
);
|
|
1221
|
+
}
|
|
1222
|
+
attach(address: string): PendleStargateLPSY {
|
|
1223
|
+
return super.attach(address) as PendleStargateLPSY;
|
|
1224
|
+
}
|
|
1225
|
+
connect(signer: Signer): PendleStargateLPSY__factory {
|
|
1226
|
+
return super.connect(signer) as PendleStargateLPSY__factory;
|
|
1227
|
+
}
|
|
1228
|
+
static readonly contractName: "PendleStargateLPSY";
|
|
1229
|
+
public readonly contractName: "PendleStargateLPSY";
|
|
1230
|
+
static readonly bytecode = _bytecode;
|
|
1231
|
+
static readonly abi = _abi;
|
|
1232
|
+
static createInterface(): PendleStargateLPSYInterface {
|
|
1233
|
+
return new utils.Interface(_abi) as PendleStargateLPSYInterface;
|
|
1234
|
+
}
|
|
1235
|
+
static connect(
|
|
1236
|
+
address: string,
|
|
1237
|
+
signerOrProvider: Signer | Provider
|
|
1238
|
+
): PendleStargateLPSY {
|
|
1239
|
+
return new Contract(address, _abi, signerOrProvider) as PendleStargateLPSY;
|
|
1240
|
+
}
|
|
1241
|
+
}
|