@gearbox-protocol/sdk 0.0.61 → 0.0.64
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/lib/core/contracts.js +5 -5
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/pathfinder/path.js +9 -8
- package/lib/pathfinder/priority.d.ts +1 -1
- package/lib/pathfinder/priority.js +11 -11
- package/lib/tokens/convex.d.ts +2 -1
- package/lib/tokens/convex.js +11 -11
- package/lib/tokens/curveLP.d.ts +2 -1
- package/lib/tokens/curveLP.js +7 -7
- package/lib/tokens/gear.d.ts +2 -1
- package/lib/tokens/gear.js +6 -6
- package/lib/tokens/normal.d.ts +2 -1
- package/lib/tokens/normal.js +29 -29
- package/lib/tokens/token.d.ts +0 -12
- package/lib/tokens/token.js +7 -20
- package/lib/tokens/tokenType.d.ts +12 -0
- package/lib/tokens/tokenType.js +16 -0
- package/lib/tokens/yearn.d.ts +2 -1
- package/lib/tokens/yearn.js +7 -7
- package/package.json +1 -1
- package/src/core/contracts.ts +6 -6
- package/src/index.ts +1 -0
- package/src/pathfinder/path.ts +3 -2
- package/src/pathfinder/priority.ts +1 -1
- package/src/tokens/convex.ts +2 -1
- package/src/tokens/curveLP.ts +2 -1
- package/src/tokens/gear.ts +2 -1
- package/src/tokens/normal.ts +2 -1
- package/src/tokens/token.ts +6 -19
- package/src/tokens/tokenType.ts +12 -0
- package/src/tokens/yearn.ts +2 -1
- package/lib/core/pathfinder.d.ts +0 -54
- package/lib/core/pathfinder.js +0 -612
- package/lib/core/token.d.ts +0 -104
- package/lib/core/token.js +0 -1359
- package/lib/core/tokenData.d.ts +0 -24
- package/lib/core/tokenData.js +0 -57
- package/lib/pathfinder/connector.d.ts +0 -7
- package/lib/pathfinder/connector.js +0 -78
- package/lib/pathfinder/connectorPathAsset.d.ts +0 -7
- package/lib/pathfinder/connectorPathAsset.js +0 -144
- package/lib/pathfinder/convexLPTokenPathAsset.d.ts +0 -5
- package/lib/pathfinder/convexLPTokenPathAsset.js +0 -77
- package/lib/pathfinder/curveLPPathAsset.d.ts +0 -5
- package/lib/pathfinder/curveLPPathAsset.js +0 -72
- package/lib/pathfinder/curveMetaLP.d.ts +0 -5
- package/lib/pathfinder/curveMetaLP.js +0 -72
- package/lib/pathfinder/metaCurveLPPathAsset.d.ts +0 -5
- package/lib/pathfinder/metaCurveLPPathAsset.js +0 -72
- package/lib/pathfinder/normalToken.d.ts +0 -7
- package/lib/pathfinder/normalToken.js +0 -78
- package/lib/pathfinder/normalTokenPathAsset.d.ts +0 -5
- package/lib/pathfinder/normalTokenPathAsset.js +0 -136
- package/lib/pathfinder/notes.d.ts +0 -4
- package/lib/pathfinder/notes.js +0 -58
- package/lib/pathfinder/pathfinder.d.ts +0 -24
- package/lib/pathfinder/pathfinder.js +0 -132
- package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.d.ts +0 -5
- package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.js +0 -87
- package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.d.ts +0 -5
- package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.js +0 -87
- package/lib/pathfinder/yearnVaultPathAsset.d.ts +0 -5
- package/lib/pathfinder/yearnVaultPathAsset.js +0 -87
- package/lib/types/ACL.d.ts +0 -491
- package/lib/types/ACLTrait.d.ts +0 -148
- package/lib/types/ACLTraitTest.d.ts +0 -209
- package/lib/types/AccountFactory.d.ts +0 -716
- package/lib/types/AccountMining.d.ts +0 -222
- package/lib/types/AddressProvider.d.ts +0 -912
- package/lib/types/AggregatorV3Interface.d.ts +0 -234
- package/lib/types/ChainlinkPriceFeedMock.d.ts +0 -215
- package/lib/types/ContractsRegister.d.ts +0 -398
- package/lib/types/CreditAccount.d.ts +0 -443
- package/lib/types/CreditFilter.d.ts +0 -1609
- package/lib/types/CreditFilterMock.d.ts +0 -1687
- package/lib/types/CreditManager.d.ts +0 -1285
- package/lib/types/CreditManagerMockForFilter.d.ts +0 -605
- package/lib/types/CreditManagerMockForPoolTest.d.ts +0 -204
- package/lib/types/CurveMock.d.ts +0 -298
- package/lib/types/CurveV1Adapter.d.ts +0 -349
- package/lib/types/DataCompressor.d.ts +0 -1331
- package/lib/types/DieselToken.d.ts +0 -567
- package/lib/types/ERC165.d.ts +0 -116
- package/lib/types/ERC20.d.ts +0 -411
- package/lib/types/ERC20BlockingMock.d.ts +0 -568
- package/lib/types/ERC721.d.ts +0 -625
- package/lib/types/Errors.d.ts +0 -1854
- package/lib/types/ExecutorMock.d.ts +0 -140
- package/lib/types/FlashLoanAttacker.d.ts +0 -170
- package/lib/types/FuzzHarness.d.ts +0 -124
- package/lib/types/GearBeta.d.ts +0 -745
- package/lib/types/GearToken.d.ts +0 -888
- package/lib/types/IAccountFactory.d.ts +0 -317
- package/lib/types/IAccountMiner.d.ts +0 -124
- package/lib/types/IAppAddressProvider.d.ts +0 -198
- package/lib/types/IAppCreditManager.d.ts +0 -408
- package/lib/types/IAppERC20.d.ts +0 -309
- package/lib/types/IAppPoolService.d.ts +0 -166
- package/lib/types/ICreditAccount.d.ts +0 -430
- package/lib/types/ICreditFilter.d.ts +0 -1162
- package/lib/types/ICreditManager.d.ts +0 -971
- package/lib/types/ICurvePool.d.ts +0 -298
- package/lib/types/IDataCompressor.d.ts +0 -1231
- package/lib/types/IERC165.d.ts +0 -116
- package/lib/types/IERC20.d.ts +0 -294
- package/lib/types/IERC721.d.ts +0 -472
- package/lib/types/IERC721Enumerable.d.ts +0 -564
- package/lib/types/IERC721Metadata.d.ts +0 -523
- package/lib/types/IERC721Receiver.d.ts +0 -132
- package/lib/types/IGearToken.d.ts +0 -527
- package/lib/types/IInterestRateModel.d.ts +0 -121
- package/lib/types/IMerkleDistributor.d.ts +0 -190
- package/lib/types/IPoolService.d.ts +0 -772
- package/lib/types/IPriceOracle.d.ts +0 -211
- package/lib/types/IQuoter.d.ts +0 -269
- package/lib/types/ISwapRouter.d.ts +0 -404
- package/lib/types/IUniswapV2Migrator.d.ts +0 -134
- package/lib/types/IUniswapV2Router01.d.ts +0 -1119
- package/lib/types/IUniswapV2Router02.d.ts +0 -1432
- package/lib/types/IUniswapV3SwapCallback.d.ts +0 -127
- package/lib/types/IWETH.d.ts +0 -169
- package/lib/types/IWETHGateway.d.ts +0 -335
- package/lib/types/IYVault.d.ts +0 -558
- package/lib/types/LeveragedActions.d.ts +0 -772
- package/lib/types/LinearInterestRateModel.d.ts +0 -279
- package/lib/types/MockPoolService.d.ts +0 -1271
- package/lib/types/Multicall2.d.ts +0 -449
- package/lib/types/Ownable.d.ts +0 -169
- package/lib/types/PathFinder.d.ts +0 -379
- package/lib/types/Pausable.d.ts +0 -105
- package/lib/types/PercentageMathTest.d.ts +0 -154
- package/lib/types/PoolService.d.ts +0 -1174
- package/lib/types/PriceOracle.d.ts +0 -387
- package/lib/types/StepVesting.d.ts +0 -411
- package/lib/types/TestPoolService.d.ts +0 -1294
- package/lib/types/TokenDistributor.d.ts +0 -640
- package/lib/types/TokenFeeMock.d.ts +0 -544
- package/lib/types/TokenMock.d.ts +0 -531
- package/lib/types/TreasuryMock.d.ts +0 -86
- package/lib/types/UniswapRouterMock.d.ts +0 -1520
- package/lib/types/UniswapV2Adapter.d.ts +0 -1463
- package/lib/types/UniswapV3Adapter.d.ts +0 -455
- package/lib/types/WETHGateway.d.ts +0 -376
- package/lib/types/WETHMock.d.ts +0 -433
- package/lib/types/WadRayMathTest.d.ts +0 -316
- package/lib/types/YearnAdapter.d.ts +0 -609
- package/lib/types/YearnMock.d.ts +0 -795
- package/lib/types/YearnPriceFeed.d.ts +0 -399
- package/lib/types/commons.d.ts +0 -16
- package/lib/types/commons.js +0 -5
- package/lib/types/contracts/support/PathFinder.d.ts +0 -154
- package/lib/types/contracts/support/PathFinder.js +0 -2
- package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.d.ts +0 -52
- package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.js +0 -2
- package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
- package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -2
- package/lib/types/factories/ACLTraitTest__factory.d.ts +0 -52
- package/lib/types/factories/ACLTraitTest__factory.js +0 -138
- package/lib/types/factories/ACLTrait__factory.d.ts +0 -31
- package/lib/types/factories/ACLTrait__factory.js +0 -75
- package/lib/types/factories/ACL__factory.d.ts +0 -45
- package/lib/types/factories/ACL__factory.js +0 -317
- package/lib/types/factories/AccountFactory__factory.d.ts +0 -72
- package/lib/types/factories/AccountFactory__factory.js +0 -508
- package/lib/types/factories/AccountMining__factory.d.ts +0 -56
- package/lib/types/factories/AccountMining__factory.js +0 -192
- package/lib/types/factories/AddressProvider__factory.d.ts +0 -52
- package/lib/types/factories/AddressProvider__factory.js +0 -582
- package/lib/types/factories/AggregatorV3Interface__factory.d.ts +0 -22
- package/lib/types/factories/AggregatorV3Interface__factory.js +0 -133
- package/lib/types/factories/ChainlinkPriceFeedMock__factory.d.ts +0 -42
- package/lib/types/factories/ChainlinkPriceFeedMock__factory.js +0 -193
- package/lib/types/factories/ContractsRegister__factory.d.ts +0 -56
- package/lib/types/factories/ContractsRegister__factory.js +0 -310
- package/lib/types/factories/CreditAccount__factory.d.ts +0 -32
- package/lib/types/factories/CreditAccount__factory.js +0 -262
- package/lib/types/factories/CreditFilterMock__factory.d.ts +0 -56
- package/lib/types/factories/CreditFilterMock__factory.js +0 -1083
- package/lib/types/factories/CreditFilter__factory.d.ts +0 -56
- package/lib/types/factories/CreditFilter__factory.js +0 -1047
- package/lib/types/factories/CreditManagerMockForFilter__factory.d.ts +0 -38
- package/lib/types/factories/CreditManagerMockForFilter__factory.js +0 -324
- package/lib/types/factories/CreditManagerMockForPoolTest__factory.d.ts +0 -48
- package/lib/types/factories/CreditManagerMockForPoolTest__factory.js +0 -131
- package/lib/types/factories/CreditManager__factory.d.ts +0 -77
- package/lib/types/factories/CreditManager__factory.js +0 -1030
- package/lib/types/factories/CurveMock__factory.d.ts +0 -42
- package/lib/types/factories/CurveMock__factory.js +0 -210
- package/lib/types/factories/CurveV1Adapter__factory.d.ts +0 -42
- package/lib/types/factories/CurveV1Adapter__factory.js +0 -254
- package/lib/types/factories/DataCompressor__factory.d.ts +0 -71
- package/lib/types/factories/DataCompressor__factory.js +0 -944
- package/lib/types/factories/DieselToken__factory.d.ts +0 -56
- package/lib/types/factories/DieselToken__factory.js +0 -432
- package/lib/types/factories/ERC165__factory.d.ts +0 -22
- package/lib/types/factories/ERC165__factory.js +0 -41
- package/lib/types/factories/ERC20BlockingMock__factory.d.ts +0 -56
- package/lib/types/factories/ERC20BlockingMock__factory.js +0 -429
- package/lib/types/factories/ERC20__factory.d.ts +0 -56
- package/lib/types/factories/ERC20__factory.js +0 -339
- package/lib/types/factories/ERC721__factory.d.ts +0 -56
- package/lib/types/factories/ERC721__factory.js +0 -468
- package/lib/types/factories/Errors__factory.d.ts +0 -28
- package/lib/types/factories/Errors__factory.js +0 -1015
- package/lib/types/factories/ExecutorMock__factory.d.ts +0 -38
- package/lib/types/factories/ExecutorMock__factory.js +0 -103
- package/lib/types/factories/FlashLoanAttacker__factory.d.ts +0 -48
- package/lib/types/factories/FlashLoanAttacker__factory.js +0 -117
- package/lib/types/factories/FuzzHarness__factory.d.ts +0 -38
- package/lib/types/factories/FuzzHarness__factory.js +0 -92
- package/lib/types/factories/GearBeta__factory.d.ts +0 -52
- package/lib/types/factories/GearBeta__factory.js +0 -527
- package/lib/types/factories/GearToken__factory.d.ts +0 -56
- package/lib/types/factories/GearToken__factory.js +0 -708
- package/lib/types/factories/IAccountFactory__factory.d.ts +0 -35
- package/lib/types/factories/IAccountFactory__factory.js +0 -226
- package/lib/types/factories/IAccountMiner__factory.d.ts +0 -28
- package/lib/types/factories/IAccountMiner__factory.js +0 -48
- package/lib/types/factories/IAppAddressProvider__factory.d.ts +0 -18
- package/lib/types/factories/IAppAddressProvider__factory.js +0 -100
- package/lib/types/factories/IAppCreditManager__factory.d.ts +0 -42
- package/lib/types/factories/IAppCreditManager__factory.js +0 -204
- package/lib/types/factories/IAppERC20__factory.d.ts +0 -22
- package/lib/types/factories/IAppERC20__factory.js +0 -194
- package/lib/types/factories/IAppPoolService__factory.d.ts +0 -22
- package/lib/types/factories/IAppPoolService__factory.js +0 -69
- package/lib/types/factories/ICreditAccount__factory.d.ts +0 -22
- package/lib/types/factories/ICreditAccount__factory.js +0 -218
- package/lib/types/factories/ICreditFilter__factory.d.ts +0 -35
- package/lib/types/factories/ICreditFilter__factory.js +0 -700
- package/lib/types/factories/ICreditManager__factory.d.ts +0 -56
- package/lib/types/factories/ICreditManager__factory.js +0 -720
- package/lib/types/factories/ICurvePool__factory.d.ts +0 -22
- package/lib/types/factories/ICurvePool__factory.js +0 -168
- package/lib/types/factories/IDataCompressor__factory.d.ts +0 -51
- package/lib/types/factories/IDataCompressor__factory.js +0 -826
- package/lib/types/factories/IERC165__factory.d.ts +0 -22
- package/lib/types/factories/IERC165__factory.js +0 -41
- package/lib/types/factories/IERC20__factory.d.ts +0 -35
- package/lib/types/factories/IERC20__factory.js +0 -205
- package/lib/types/factories/IERC721Enumerable__factory.d.ts +0 -35
- package/lib/types/factories/IERC721Enumerable__factory.js +0 -363
- package/lib/types/factories/IERC721Metadata__factory.d.ts +0 -35
- package/lib/types/factories/IERC721Metadata__factory.js +0 -352
- package/lib/types/factories/IERC721Receiver__factory.d.ts +0 -22
- package/lib/types/factories/IERC721Receiver__factory.js +0 -56
- package/lib/types/factories/IERC721__factory.d.ts +0 -35
- package/lib/types/factories/IERC721__factory.js +0 -307
- package/lib/types/factories/IGearToken__factory.d.ts +0 -35
- package/lib/types/factories/IGearToken__factory.js +0 -342
- package/lib/types/factories/IInterestRateModel__factory.d.ts +0 -22
- package/lib/types/factories/IInterestRateModel__factory.js +0 -46
- package/lib/types/factories/IMerkleDistributor__factory.d.ts +0 -35
- package/lib/types/factories/IMerkleDistributor__factory.js +0 -109
- package/lib/types/factories/IPoolService__factory.d.ts +0 -35
- package/lib/types/factories/IPoolService__factory.js +0 -580
- package/lib/types/factories/IPriceOracle__factory.d.ts +0 -35
- package/lib/types/factories/IPriceOracle__factory.js +0 -112
- package/lib/types/factories/IQuoter__factory.d.ts +0 -22
- package/lib/types/factories/IQuoter__factory.js +0 -148
- package/lib/types/factories/ISwapRouter__factory.d.ts +0 -27
- package/lib/types/factories/ISwapRouter__factory.js +0 -236
- package/lib/types/factories/IUniswapV2Migrator__factory.d.ts +0 -18
- package/lib/types/factories/IUniswapV2Migrator__factory.js +0 -55
- package/lib/types/factories/IUniswapV2Router01__factory.d.ts +0 -22
- package/lib/types/factories/IUniswapV2Router01__factory.js +0 -771
- package/lib/types/factories/IUniswapV2Router02__factory.d.ts +0 -22
- package/lib/types/factories/IUniswapV2Router02__factory.js +0 -973
- package/lib/types/factories/IUniswapV3SwapCallback__factory.d.ts +0 -18
- package/lib/types/factories/IUniswapV3SwapCallback__factory.js +0 -45
- package/lib/types/factories/IWETHGateway__factory.d.ts +0 -18
- package/lib/types/factories/IWETHGateway__factory.js +0 -150
- package/lib/types/factories/IWETH__factory.d.ts +0 -22
- package/lib/types/factories/IWETH__factory.js +0 -66
- package/lib/types/factories/IYVault__factory.d.ts +0 -35
- package/lib/types/factories/IYVault__factory.js +0 -411
- package/lib/types/factories/LeveragedActions__factory.d.ts +0 -84
- package/lib/types/factories/LeveragedActions__factory.js +0 -569
- package/lib/types/factories/LinearInterestRateModel__factory.d.ts +0 -42
- package/lib/types/factories/LinearInterestRateModel__factory.js +0 -209
- package/lib/types/factories/MockPoolService__factory.d.ts +0 -56
- package/lib/types/factories/MockPoolService__factory.js +0 -889
- package/lib/types/factories/Multicall2__factory.d.ts +0 -52
- package/lib/types/factories/Multicall2__factory.js +0 -364
- package/lib/types/factories/Ownable__factory.d.ts +0 -42
- package/lib/types/factories/Ownable__factory.js +0 -74
- package/lib/types/factories/PathFinder__factory.d.ts +0 -61
- package/lib/types/factories/PathFinder__factory.js +0 -302
- package/lib/types/factories/Pausable__factory.d.ts +0 -31
- package/lib/types/factories/Pausable__factory.js +0 -61
- package/lib/types/factories/PercentageMathTest__factory.d.ts +0 -32
- package/lib/types/factories/PercentageMathTest__factory.js +0 -101
- package/lib/types/factories/PoolService__factory.d.ts +0 -56
- package/lib/types/factories/PoolService__factory.js +0 -873
- package/lib/types/factories/PriceOracle__factory.d.ts +0 -56
- package/lib/types/factories/PriceOracle__factory.js +0 -290
- package/lib/types/factories/StepVesting__factory.d.ts +0 -52
- package/lib/types/factories/StepVesting__factory.js +0 -296
- package/lib/types/factories/TestPoolService__factory.d.ts +0 -56
- package/lib/types/factories/TestPoolService__factory.js +0 -932
- package/lib/types/factories/TokenDistributor__factory.d.ts +0 -82
- package/lib/types/factories/TokenDistributor__factory.js +0 -481
- package/lib/types/factories/TokenFeeMock__factory.d.ts +0 -56
- package/lib/types/factories/TokenFeeMock__factory.js +0 -427
- package/lib/types/factories/TokenMock__factory.d.ts +0 -56
- package/lib/types/factories/TokenMock__factory.js +0 -409
- package/lib/types/factories/TreasuryMock__factory.d.ts +0 -35
- package/lib/types/factories/TreasuryMock__factory.js +0 -70
- package/lib/types/factories/UniswapRouterMock__factory.d.ts +0 -32
- package/lib/types/factories/UniswapRouterMock__factory.js +0 -1046
- package/lib/types/factories/UniswapV2Adapter__factory.d.ts +0 -42
- package/lib/types/factories/UniswapV2Adapter__factory.js +0 -1059
- package/lib/types/factories/UniswapV3Adapter__factory.d.ts +0 -47
- package/lib/types/factories/UniswapV3Adapter__factory.js +0 -322
- package/lib/types/factories/WETHGateway__factory.d.ts +0 -70
- package/lib/types/factories/WETHGateway__factory.js +0 -241
- package/lib/types/factories/WETHMock__factory.d.ts +0 -52
- package/lib/types/factories/WETHMock__factory.js +0 -355
- package/lib/types/factories/WadRayMathTest__factory.d.ts +0 -32
- package/lib/types/factories/WadRayMathTest__factory.js +0 -239
- package/lib/types/factories/YearnAdapter__factory.d.ts +0 -56
- package/lib/types/factories/YearnAdapter__factory.js +0 -497
- package/lib/types/factories/YearnMock__factory.d.ts +0 -56
- package/lib/types/factories/YearnMock__factory.js +0 -598
- package/lib/types/factories/YearnPriceFeed__factory.d.ts +0 -56
- package/lib/types/factories/YearnPriceFeed__factory.js +0 -350
- package/lib/types/factories/contracts/support/PathFinder__factory.d.ts +0 -63
- package/lib/types/factories/contracts/support/PathFinder__factory.js +0 -319
- package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.d.ts +0 -34
- package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.js +0 -124
- package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
- package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -8
|
@@ -1,873 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
var __extends = (this && this.__extends) || (function () {
|
|
6
|
-
var extendStatics = function (d, b) {
|
|
7
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
-
return extendStatics(d, b);
|
|
11
|
-
};
|
|
12
|
-
return function (d, b) {
|
|
13
|
-
if (typeof b !== "function" && b !== null)
|
|
14
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
-
extendStatics(d, b);
|
|
16
|
-
function __() { this.constructor = d; }
|
|
17
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
-
};
|
|
19
|
-
})();
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.PoolService__factory = void 0;
|
|
22
|
-
var ethers_1 = require("ethers");
|
|
23
|
-
var _abi = [
|
|
24
|
-
{
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
internalType: "address",
|
|
28
|
-
name: "_addressProvider",
|
|
29
|
-
type: "address",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "_underlyingToken",
|
|
34
|
-
type: "address",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "address",
|
|
38
|
-
name: "_dieselAddress",
|
|
39
|
-
type: "address",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "_interestRateModelAddress",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "uint256",
|
|
48
|
-
name: "_expectedLiquidityLimit",
|
|
49
|
-
type: "uint256",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
stateMutability: "nonpayable",
|
|
53
|
-
type: "constructor",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
anonymous: false,
|
|
57
|
-
inputs: [
|
|
58
|
-
{
|
|
59
|
-
indexed: true,
|
|
60
|
-
internalType: "address",
|
|
61
|
-
name: "sender",
|
|
62
|
-
type: "address",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
indexed: true,
|
|
66
|
-
internalType: "address",
|
|
67
|
-
name: "onBehalfOf",
|
|
68
|
-
type: "address",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
indexed: false,
|
|
72
|
-
internalType: "uint256",
|
|
73
|
-
name: "amount",
|
|
74
|
-
type: "uint256",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
indexed: false,
|
|
78
|
-
internalType: "uint256",
|
|
79
|
-
name: "referralCode",
|
|
80
|
-
type: "uint256",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
name: "AddLiquidity",
|
|
84
|
-
type: "event",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
anonymous: false,
|
|
88
|
-
inputs: [
|
|
89
|
-
{
|
|
90
|
-
indexed: true,
|
|
91
|
-
internalType: "address",
|
|
92
|
-
name: "creditManager",
|
|
93
|
-
type: "address",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
indexed: true,
|
|
97
|
-
internalType: "address",
|
|
98
|
-
name: "creditAccount",
|
|
99
|
-
type: "address",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
indexed: false,
|
|
103
|
-
internalType: "uint256",
|
|
104
|
-
name: "amount",
|
|
105
|
-
type: "uint256",
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
name: "Borrow",
|
|
109
|
-
type: "event",
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
anonymous: false,
|
|
113
|
-
inputs: [
|
|
114
|
-
{
|
|
115
|
-
indexed: true,
|
|
116
|
-
internalType: "address",
|
|
117
|
-
name: "creditManager",
|
|
118
|
-
type: "address",
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
name: "BorrowForbidden",
|
|
122
|
-
type: "event",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
anonymous: false,
|
|
126
|
-
inputs: [
|
|
127
|
-
{
|
|
128
|
-
indexed: true,
|
|
129
|
-
internalType: "address",
|
|
130
|
-
name: "creditManager",
|
|
131
|
-
type: "address",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
name: "NewCreditManagerConnected",
|
|
135
|
-
type: "event",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
anonymous: false,
|
|
139
|
-
inputs: [
|
|
140
|
-
{
|
|
141
|
-
indexed: false,
|
|
142
|
-
internalType: "uint256",
|
|
143
|
-
name: "newLimit",
|
|
144
|
-
type: "uint256",
|
|
145
|
-
},
|
|
146
|
-
],
|
|
147
|
-
name: "NewExpectedLiquidityLimit",
|
|
148
|
-
type: "event",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
anonymous: false,
|
|
152
|
-
inputs: [
|
|
153
|
-
{
|
|
154
|
-
indexed: true,
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "newInterestRateModel",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
name: "NewInterestRateModel",
|
|
161
|
-
type: "event",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
anonymous: false,
|
|
165
|
-
inputs: [
|
|
166
|
-
{
|
|
167
|
-
indexed: false,
|
|
168
|
-
internalType: "uint256",
|
|
169
|
-
name: "fee",
|
|
170
|
-
type: "uint256",
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
name: "NewWithdrawFee",
|
|
174
|
-
type: "event",
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
anonymous: false,
|
|
178
|
-
inputs: [
|
|
179
|
-
{
|
|
180
|
-
indexed: false,
|
|
181
|
-
internalType: "address",
|
|
182
|
-
name: "account",
|
|
183
|
-
type: "address",
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
name: "Paused",
|
|
187
|
-
type: "event",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
anonymous: false,
|
|
191
|
-
inputs: [
|
|
192
|
-
{
|
|
193
|
-
indexed: true,
|
|
194
|
-
internalType: "address",
|
|
195
|
-
name: "sender",
|
|
196
|
-
type: "address",
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
indexed: true,
|
|
200
|
-
internalType: "address",
|
|
201
|
-
name: "to",
|
|
202
|
-
type: "address",
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
indexed: false,
|
|
206
|
-
internalType: "uint256",
|
|
207
|
-
name: "amount",
|
|
208
|
-
type: "uint256",
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
name: "RemoveLiquidity",
|
|
212
|
-
type: "event",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
anonymous: false,
|
|
216
|
-
inputs: [
|
|
217
|
-
{
|
|
218
|
-
indexed: true,
|
|
219
|
-
internalType: "address",
|
|
220
|
-
name: "creditManager",
|
|
221
|
-
type: "address",
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
indexed: false,
|
|
225
|
-
internalType: "uint256",
|
|
226
|
-
name: "borrowedAmount",
|
|
227
|
-
type: "uint256",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
indexed: false,
|
|
231
|
-
internalType: "uint256",
|
|
232
|
-
name: "profit",
|
|
233
|
-
type: "uint256",
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
indexed: false,
|
|
237
|
-
internalType: "uint256",
|
|
238
|
-
name: "loss",
|
|
239
|
-
type: "uint256",
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
name: "Repay",
|
|
243
|
-
type: "event",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
anonymous: false,
|
|
247
|
-
inputs: [
|
|
248
|
-
{
|
|
249
|
-
indexed: true,
|
|
250
|
-
internalType: "address",
|
|
251
|
-
name: "creditManager",
|
|
252
|
-
type: "address",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
indexed: false,
|
|
256
|
-
internalType: "uint256",
|
|
257
|
-
name: "loss",
|
|
258
|
-
type: "uint256",
|
|
259
|
-
},
|
|
260
|
-
],
|
|
261
|
-
name: "UncoveredLoss",
|
|
262
|
-
type: "event",
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
anonymous: false,
|
|
266
|
-
inputs: [
|
|
267
|
-
{
|
|
268
|
-
indexed: false,
|
|
269
|
-
internalType: "address",
|
|
270
|
-
name: "account",
|
|
271
|
-
type: "address",
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
name: "Unpaused",
|
|
275
|
-
type: "event",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
inputs: [],
|
|
279
|
-
name: "_cumulativeIndex_RAY",
|
|
280
|
-
outputs: [
|
|
281
|
-
{
|
|
282
|
-
internalType: "uint256",
|
|
283
|
-
name: "",
|
|
284
|
-
type: "uint256",
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
stateMutability: "view",
|
|
288
|
-
type: "function",
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
inputs: [],
|
|
292
|
-
name: "_expectedLiquidityLU",
|
|
293
|
-
outputs: [
|
|
294
|
-
{
|
|
295
|
-
internalType: "uint256",
|
|
296
|
-
name: "",
|
|
297
|
-
type: "uint256",
|
|
298
|
-
},
|
|
299
|
-
],
|
|
300
|
-
stateMutability: "view",
|
|
301
|
-
type: "function",
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
inputs: [],
|
|
305
|
-
name: "_timestampLU",
|
|
306
|
-
outputs: [
|
|
307
|
-
{
|
|
308
|
-
internalType: "uint256",
|
|
309
|
-
name: "",
|
|
310
|
-
type: "uint256",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
stateMutability: "view",
|
|
314
|
-
type: "function",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
inputs: [
|
|
318
|
-
{
|
|
319
|
-
internalType: "uint256",
|
|
320
|
-
name: "amount",
|
|
321
|
-
type: "uint256",
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
internalType: "address",
|
|
325
|
-
name: "onBehalfOf",
|
|
326
|
-
type: "address",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
internalType: "uint256",
|
|
330
|
-
name: "referralCode",
|
|
331
|
-
type: "uint256",
|
|
332
|
-
},
|
|
333
|
-
],
|
|
334
|
-
name: "addLiquidity",
|
|
335
|
-
outputs: [],
|
|
336
|
-
stateMutability: "nonpayable",
|
|
337
|
-
type: "function",
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
inputs: [],
|
|
341
|
-
name: "addressProvider",
|
|
342
|
-
outputs: [
|
|
343
|
-
{
|
|
344
|
-
internalType: "contract AddressProvider",
|
|
345
|
-
name: "",
|
|
346
|
-
type: "address",
|
|
347
|
-
},
|
|
348
|
-
],
|
|
349
|
-
stateMutability: "view",
|
|
350
|
-
type: "function",
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
inputs: [],
|
|
354
|
-
name: "availableLiquidity",
|
|
355
|
-
outputs: [
|
|
356
|
-
{
|
|
357
|
-
internalType: "uint256",
|
|
358
|
-
name: "",
|
|
359
|
-
type: "uint256",
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
stateMutability: "view",
|
|
363
|
-
type: "function",
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
inputs: [],
|
|
367
|
-
name: "borrowAPY_RAY",
|
|
368
|
-
outputs: [
|
|
369
|
-
{
|
|
370
|
-
internalType: "uint256",
|
|
371
|
-
name: "",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
stateMutability: "view",
|
|
376
|
-
type: "function",
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
inputs: [
|
|
380
|
-
{
|
|
381
|
-
internalType: "uint256",
|
|
382
|
-
name: "amount",
|
|
383
|
-
type: "uint256",
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
internalType: "uint256",
|
|
387
|
-
name: "dAmount",
|
|
388
|
-
type: "uint256",
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
internalType: "uint256",
|
|
392
|
-
name: "cumulativeIndexAtOpen",
|
|
393
|
-
type: "uint256",
|
|
394
|
-
},
|
|
395
|
-
],
|
|
396
|
-
name: "calcCumulativeIndexAtBorrowMore",
|
|
397
|
-
outputs: [
|
|
398
|
-
{
|
|
399
|
-
internalType: "uint256",
|
|
400
|
-
name: "",
|
|
401
|
-
type: "uint256",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
stateMutability: "view",
|
|
405
|
-
type: "function",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
inputs: [],
|
|
409
|
-
name: "calcLinearCumulative_RAY",
|
|
410
|
-
outputs: [
|
|
411
|
-
{
|
|
412
|
-
internalType: "uint256",
|
|
413
|
-
name: "",
|
|
414
|
-
type: "uint256",
|
|
415
|
-
},
|
|
416
|
-
],
|
|
417
|
-
stateMutability: "view",
|
|
418
|
-
type: "function",
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
inputs: [
|
|
422
|
-
{
|
|
423
|
-
internalType: "uint256",
|
|
424
|
-
name: "cumulativeIndex_RAY",
|
|
425
|
-
type: "uint256",
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
internalType: "uint256",
|
|
429
|
-
name: "currentBorrowRate_RAY",
|
|
430
|
-
type: "uint256",
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
internalType: "uint256",
|
|
434
|
-
name: "timeDifference",
|
|
435
|
-
type: "uint256",
|
|
436
|
-
},
|
|
437
|
-
],
|
|
438
|
-
name: "calcLinearIndex_RAY",
|
|
439
|
-
outputs: [
|
|
440
|
-
{
|
|
441
|
-
internalType: "uint256",
|
|
442
|
-
name: "",
|
|
443
|
-
type: "uint256",
|
|
444
|
-
},
|
|
445
|
-
],
|
|
446
|
-
stateMutability: "pure",
|
|
447
|
-
type: "function",
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
inputs: [
|
|
451
|
-
{
|
|
452
|
-
internalType: "address",
|
|
453
|
-
name: "_creditManager",
|
|
454
|
-
type: "address",
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
name: "connectCreditManager",
|
|
458
|
-
outputs: [],
|
|
459
|
-
stateMutability: "nonpayable",
|
|
460
|
-
type: "function",
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
inputs: [
|
|
464
|
-
{
|
|
465
|
-
internalType: "uint256",
|
|
466
|
-
name: "",
|
|
467
|
-
type: "uint256",
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
name: "creditManagers",
|
|
471
|
-
outputs: [
|
|
472
|
-
{
|
|
473
|
-
internalType: "address",
|
|
474
|
-
name: "",
|
|
475
|
-
type: "address",
|
|
476
|
-
},
|
|
477
|
-
],
|
|
478
|
-
stateMutability: "view",
|
|
479
|
-
type: "function",
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
inputs: [
|
|
483
|
-
{
|
|
484
|
-
internalType: "address",
|
|
485
|
-
name: "",
|
|
486
|
-
type: "address",
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
name: "creditManagersCanBorrow",
|
|
490
|
-
outputs: [
|
|
491
|
-
{
|
|
492
|
-
internalType: "bool",
|
|
493
|
-
name: "",
|
|
494
|
-
type: "bool",
|
|
495
|
-
},
|
|
496
|
-
],
|
|
497
|
-
stateMutability: "view",
|
|
498
|
-
type: "function",
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
inputs: [
|
|
502
|
-
{
|
|
503
|
-
internalType: "address",
|
|
504
|
-
name: "",
|
|
505
|
-
type: "address",
|
|
506
|
-
},
|
|
507
|
-
],
|
|
508
|
-
name: "creditManagersCanRepay",
|
|
509
|
-
outputs: [
|
|
510
|
-
{
|
|
511
|
-
internalType: "bool",
|
|
512
|
-
name: "",
|
|
513
|
-
type: "bool",
|
|
514
|
-
},
|
|
515
|
-
],
|
|
516
|
-
stateMutability: "view",
|
|
517
|
-
type: "function",
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
inputs: [],
|
|
521
|
-
name: "creditManagersCount",
|
|
522
|
-
outputs: [
|
|
523
|
-
{
|
|
524
|
-
internalType: "uint256",
|
|
525
|
-
name: "",
|
|
526
|
-
type: "uint256",
|
|
527
|
-
},
|
|
528
|
-
],
|
|
529
|
-
stateMutability: "view",
|
|
530
|
-
type: "function",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
inputs: [],
|
|
534
|
-
name: "dieselToken",
|
|
535
|
-
outputs: [
|
|
536
|
-
{
|
|
537
|
-
internalType: "address",
|
|
538
|
-
name: "",
|
|
539
|
-
type: "address",
|
|
540
|
-
},
|
|
541
|
-
],
|
|
542
|
-
stateMutability: "view",
|
|
543
|
-
type: "function",
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
inputs: [],
|
|
547
|
-
name: "expectedLiquidity",
|
|
548
|
-
outputs: [
|
|
549
|
-
{
|
|
550
|
-
internalType: "uint256",
|
|
551
|
-
name: "",
|
|
552
|
-
type: "uint256",
|
|
553
|
-
},
|
|
554
|
-
],
|
|
555
|
-
stateMutability: "view",
|
|
556
|
-
type: "function",
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
inputs: [],
|
|
560
|
-
name: "expectedLiquidityLimit",
|
|
561
|
-
outputs: [
|
|
562
|
-
{
|
|
563
|
-
internalType: "uint256",
|
|
564
|
-
name: "",
|
|
565
|
-
type: "uint256",
|
|
566
|
-
},
|
|
567
|
-
],
|
|
568
|
-
stateMutability: "view",
|
|
569
|
-
type: "function",
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
inputs: [
|
|
573
|
-
{
|
|
574
|
-
internalType: "address",
|
|
575
|
-
name: "_creditManager",
|
|
576
|
-
type: "address",
|
|
577
|
-
},
|
|
578
|
-
],
|
|
579
|
-
name: "forbidCreditManagerToBorrow",
|
|
580
|
-
outputs: [],
|
|
581
|
-
stateMutability: "nonpayable",
|
|
582
|
-
type: "function",
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
inputs: [
|
|
586
|
-
{
|
|
587
|
-
internalType: "uint256",
|
|
588
|
-
name: "amount",
|
|
589
|
-
type: "uint256",
|
|
590
|
-
},
|
|
591
|
-
],
|
|
592
|
-
name: "fromDiesel",
|
|
593
|
-
outputs: [
|
|
594
|
-
{
|
|
595
|
-
internalType: "uint256",
|
|
596
|
-
name: "",
|
|
597
|
-
type: "uint256",
|
|
598
|
-
},
|
|
599
|
-
],
|
|
600
|
-
stateMutability: "view",
|
|
601
|
-
type: "function",
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
inputs: [],
|
|
605
|
-
name: "getDieselRate_RAY",
|
|
606
|
-
outputs: [
|
|
607
|
-
{
|
|
608
|
-
internalType: "uint256",
|
|
609
|
-
name: "",
|
|
610
|
-
type: "uint256",
|
|
611
|
-
},
|
|
612
|
-
],
|
|
613
|
-
stateMutability: "view",
|
|
614
|
-
type: "function",
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
inputs: [],
|
|
618
|
-
name: "interestRateModel",
|
|
619
|
-
outputs: [
|
|
620
|
-
{
|
|
621
|
-
internalType: "contract IInterestRateModel",
|
|
622
|
-
name: "",
|
|
623
|
-
type: "address",
|
|
624
|
-
},
|
|
625
|
-
],
|
|
626
|
-
stateMutability: "view",
|
|
627
|
-
type: "function",
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
inputs: [
|
|
631
|
-
{
|
|
632
|
-
internalType: "uint256",
|
|
633
|
-
name: "borrowedAmount",
|
|
634
|
-
type: "uint256",
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
internalType: "address",
|
|
638
|
-
name: "creditAccount",
|
|
639
|
-
type: "address",
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
name: "lendCreditAccount",
|
|
643
|
-
outputs: [],
|
|
644
|
-
stateMutability: "nonpayable",
|
|
645
|
-
type: "function",
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
inputs: [],
|
|
649
|
-
name: "pause",
|
|
650
|
-
outputs: [],
|
|
651
|
-
stateMutability: "nonpayable",
|
|
652
|
-
type: "function",
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
inputs: [],
|
|
656
|
-
name: "paused",
|
|
657
|
-
outputs: [
|
|
658
|
-
{
|
|
659
|
-
internalType: "bool",
|
|
660
|
-
name: "",
|
|
661
|
-
type: "bool",
|
|
662
|
-
},
|
|
663
|
-
],
|
|
664
|
-
stateMutability: "view",
|
|
665
|
-
type: "function",
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
inputs: [
|
|
669
|
-
{
|
|
670
|
-
internalType: "uint256",
|
|
671
|
-
name: "amount",
|
|
672
|
-
type: "uint256",
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
internalType: "address",
|
|
676
|
-
name: "to",
|
|
677
|
-
type: "address",
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
name: "removeLiquidity",
|
|
681
|
-
outputs: [
|
|
682
|
-
{
|
|
683
|
-
internalType: "uint256",
|
|
684
|
-
name: "",
|
|
685
|
-
type: "uint256",
|
|
686
|
-
},
|
|
687
|
-
],
|
|
688
|
-
stateMutability: "nonpayable",
|
|
689
|
-
type: "function",
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
inputs: [
|
|
693
|
-
{
|
|
694
|
-
internalType: "uint256",
|
|
695
|
-
name: "borrowedAmount",
|
|
696
|
-
type: "uint256",
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
internalType: "uint256",
|
|
700
|
-
name: "profit",
|
|
701
|
-
type: "uint256",
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
internalType: "uint256",
|
|
705
|
-
name: "loss",
|
|
706
|
-
type: "uint256",
|
|
707
|
-
},
|
|
708
|
-
],
|
|
709
|
-
name: "repayCreditAccount",
|
|
710
|
-
outputs: [],
|
|
711
|
-
stateMutability: "nonpayable",
|
|
712
|
-
type: "function",
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
inputs: [
|
|
716
|
-
{
|
|
717
|
-
internalType: "uint256",
|
|
718
|
-
name: "newLimit",
|
|
719
|
-
type: "uint256",
|
|
720
|
-
},
|
|
721
|
-
],
|
|
722
|
-
name: "setExpectedLiquidityLimit",
|
|
723
|
-
outputs: [],
|
|
724
|
-
stateMutability: "nonpayable",
|
|
725
|
-
type: "function",
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
inputs: [
|
|
729
|
-
{
|
|
730
|
-
internalType: "uint256",
|
|
731
|
-
name: "fee",
|
|
732
|
-
type: "uint256",
|
|
733
|
-
},
|
|
734
|
-
],
|
|
735
|
-
name: "setWithdrawFee",
|
|
736
|
-
outputs: [],
|
|
737
|
-
stateMutability: "nonpayable",
|
|
738
|
-
type: "function",
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
inputs: [
|
|
742
|
-
{
|
|
743
|
-
internalType: "uint256",
|
|
744
|
-
name: "amount",
|
|
745
|
-
type: "uint256",
|
|
746
|
-
},
|
|
747
|
-
],
|
|
748
|
-
name: "toDiesel",
|
|
749
|
-
outputs: [
|
|
750
|
-
{
|
|
751
|
-
internalType: "uint256",
|
|
752
|
-
name: "",
|
|
753
|
-
type: "uint256",
|
|
754
|
-
},
|
|
755
|
-
],
|
|
756
|
-
stateMutability: "view",
|
|
757
|
-
type: "function",
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
inputs: [],
|
|
761
|
-
name: "totalBorrowed",
|
|
762
|
-
outputs: [
|
|
763
|
-
{
|
|
764
|
-
internalType: "uint256",
|
|
765
|
-
name: "",
|
|
766
|
-
type: "uint256",
|
|
767
|
-
},
|
|
768
|
-
],
|
|
769
|
-
stateMutability: "view",
|
|
770
|
-
type: "function",
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
inputs: [],
|
|
774
|
-
name: "treasuryAddress",
|
|
775
|
-
outputs: [
|
|
776
|
-
{
|
|
777
|
-
internalType: "address",
|
|
778
|
-
name: "",
|
|
779
|
-
type: "address",
|
|
780
|
-
},
|
|
781
|
-
],
|
|
782
|
-
stateMutability: "view",
|
|
783
|
-
type: "function",
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
inputs: [],
|
|
787
|
-
name: "underlyingToken",
|
|
788
|
-
outputs: [
|
|
789
|
-
{
|
|
790
|
-
internalType: "address",
|
|
791
|
-
name: "",
|
|
792
|
-
type: "address",
|
|
793
|
-
},
|
|
794
|
-
],
|
|
795
|
-
stateMutability: "view",
|
|
796
|
-
type: "function",
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
inputs: [],
|
|
800
|
-
name: "unpause",
|
|
801
|
-
outputs: [],
|
|
802
|
-
stateMutability: "nonpayable",
|
|
803
|
-
type: "function",
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
inputs: [
|
|
807
|
-
{
|
|
808
|
-
internalType: "address",
|
|
809
|
-
name: "_interestRateModel",
|
|
810
|
-
type: "address",
|
|
811
|
-
},
|
|
812
|
-
],
|
|
813
|
-
name: "updateInterestRateModel",
|
|
814
|
-
outputs: [],
|
|
815
|
-
stateMutability: "nonpayable",
|
|
816
|
-
type: "function",
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
inputs: [],
|
|
820
|
-
name: "version",
|
|
821
|
-
outputs: [
|
|
822
|
-
{
|
|
823
|
-
internalType: "uint256",
|
|
824
|
-
name: "",
|
|
825
|
-
type: "uint256",
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
stateMutability: "view",
|
|
829
|
-
type: "function",
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
inputs: [],
|
|
833
|
-
name: "withdrawFee",
|
|
834
|
-
outputs: [
|
|
835
|
-
{
|
|
836
|
-
internalType: "uint256",
|
|
837
|
-
name: "",
|
|
838
|
-
type: "uint256",
|
|
839
|
-
},
|
|
840
|
-
],
|
|
841
|
-
stateMutability: "view",
|
|
842
|
-
type: "function",
|
|
843
|
-
},
|
|
844
|
-
];
|
|
845
|
-
var _bytecode = "0x60806040523480156200001157600080fd5b506040516200515a3803806200515a833981810160405260a08110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050508460008060006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a30000000000000000000000000000000000000000000000000000000000000815250906200019c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200016057808201518184015260208101905062000143565b50505050905090810190601f1680156200018e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508073ffffffffffffffffffffffffffffffffffffffff1663087376956040518163ffffffff1660e01b815260040160206040518083038186803b158015620001e457600080fd5b505afa158015620001f9573d6000803e3d6000fd5b505050506040513d60208110156200021057600080fd5b8101908080519060200190929190505050600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060018081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015620002d45750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156200030e5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015620003485750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6040518060400160405280600281526020017f5a300000000000000000000000000000000000000000000000000000000000008152509062000428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620003ec578082015181840152602081019050620003cf565b50505050905090810190601f1680156200041a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166326c74fc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156200055557600080fd5b505afa1580156200056a573d6000803e3d6000fd5b505050506040513d60208110156200058157600080fd5b8101908080519060200190929190505050600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506b033b2e3c9fd0803ce8000000600d81905550620005f6826200060860201b60201c565b80600381905550505050505062000ecb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a300000000000000000000000000000000000000000000000000000000000008152509062000719576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006dd578082015181840152602081019050620006c0565b50505050905090810190601f1680156200070b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200076d6000620007b360201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff167f0ec6cb7631d36954a05ffd646135bfd9995c71e7fa36d26abb1ad9f24a040ea160405160405180910390a250565b620007dc81620007c8620008d260201b60201c565b6200099360201b6200335f1790919060201c565b600281905550620007f262000a1760201b60201c565b600d81905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342568d446002546200084962000a5560201b60201c565b6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156200088557600080fd5b505afa1580156200089a573d6000803e3d6000fd5b505050506040513d6020811015620008b157600080fd5b8101908080519060200190929190505050600e8190555042600f8190555050565b600080620008f1600f54426200099360201b6200335f1790919060201c565b905060006200096e6301e133806200095a6b033b2e3c9fd0803ce8000000620009468662000932600e5460045462000b2360201b620033e21790919060201c565b62000b2360201b620033e21790919060201c565b62000bae60201b620034681790919060201c565b62000bae60201b620034681790919060201c565b90506200098c8160025462000c3960201b620034f11790919060201c565b9250505090565b60008282111562000a0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008062000a36600f54426200099360201b6200335f1790919060201c565b905062000a4f600d54600e548362000cc260201b60201c565b91505090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801562000ae157600080fd5b505afa15801562000af6573d6000803e3d6000fd5b505050506040513d602081101562000b0d57600080fd5b8101908080519060200190929190505050905090565b60008083141562000b38576000905062000ba8565b600082840290508284828162000b4a57fe5b041462000ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180620051396021913960400191505060405180910390fd5b809150505b92915050565b600080821162000c26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838162000c3057fe5b04905092915050565b60008082840190508381101562000cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008062000d2162000d006301e1338062000cec868862000b2360201b620033e21790919060201c565b62000bae60201b620034681790919060201c565b6b033b2e3c9fd0803ce800000062000c3960201b620034f11790919060201c565b905062000d3d818662000d4760201b620035791790919060201c565b9150509392505050565b60008083148062000d585750600082145b1562000d68576000905062000ec5565b8160026b033b2e3c9fd0803ce80000008162000d8057fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038162000dab57fe5b048311156040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509062000e8f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101562000e5357808201518184015260208101905062000e36565b50505050905090810190601f16801562000e815780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce80000008162000eb457fe5b04838502018162000ec157fe5b0490505b92915050565b61425e8062000edb6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80635c975abb11610130578063bf28068b116100b8578063dbcb313b1161007c578063dbcb313b146108ec578063e941fa781461090a578063ef8d960314610928578063f3fdb15a14610946578063fe14112d1461097a57610227565b8063bf28068b1461078e578063c00495a1146107dc578063c5f956af14610832578063ca9505e414610866578063cf33d955146108a857610227565b80638456cb59116100ff5780638456cb59146106b25780639aa5d462146106bc578063a4e8273e14610714578063b6ac642a14610732578063bb04b1931461076057610227565b80635c975abb14610638578063609ae317146106585780637437535914610676578063788c6bfe1461069457610227565b806336dda7d5116101b35780634c19386c116101825780634c19386c146105345780634d778ad1146105525780635427c9381461059457806354fd4d50146105d65780635664cacf146105f457610227565b806336dda7d51461047e5780633e163df0146104b25780633f4ba83a1461050c57806345d31f9d1461051657610227565b80631e16e4fc116101fa5780631e16e4fc1461030e5780632495a599146103665780632954018c1461039a5780632e97ca21146103ce57806331d8bc271461042857610227565b8063030dbb041461022c57806305fe138b1461024a578063078c4781146102ac5780630fce70fb146102f0575b600080fd5b610234610998565b6040518082815260200191505060405180910390f35b6102966004803603604081101561026057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061099e565b6040518082815260200191505060405180910390f35b6102ee600480360360208110156102c257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610df5565b005b6102f8611034565b6040518082815260200191505060405180910390f35b61033a6004803603602081101561032457600080fd5b8101908080359060200190929190505050611063565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61036e6110a2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a26110c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610410600480360360208110156103e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110ee565b60405180821515815260200191505060405180910390f35b6104686004803603606081101561043e57600080fd5b8101908080359060200190929190803590602001909291908035906020019092919050505061110e565b6040518082815260200191505060405180910390f35b610486611177565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f4600480360360208110156104c857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061119d565b60405180821515815260200191505060405180910390f35b6105146111bd565b005b61051e611368565b6040518082815260200191505060405180910390f35b61053c61136e565b6040518082815260200191505060405180910390f35b61057e6004803603602081101561056857600080fd5b8101908080359060200190929190505050611374565b6040518082815260200191505060405180910390f35b6105c0600480360360208110156105aa57600080fd5b81019080803590602001909291905050506113b5565b6040518082815260200191505060405180910390f35b6105de6113f6565b6040518082815260200191505060405180910390f35b6106366004803603602081101561060a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113fb565b005b6106406115a8565b60405180821515815260200191505060405180910390f35b6106606115be565b6040518082815260200191505060405180910390f35b61067e6115c4565b6040518082815260200191505060405180910390f35b61069c61168f565b6040518082815260200191505060405180910390f35b6106ba611794565b005b610712600480360360608110156106d257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061193f565b005b61071c611f86565b6040518082815260200191505060405180910390f35b61075e6004803603602081101561074857600080fd5b8101908080359060200190929190505050611f93565b005b61078c6004803603602081101561077657600080fd5b810190808035906020019092919050505061225a565b005b6107da600480360360408110156107a457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061243c565b005b61081c600480360360608110156107f257600080fd5b810190808035906020019092919080359060200190929190803590602001909291905050506126bc565b6040518082815260200191505060405180910390f35b61083a612754565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108a66004803603606081101561087c57600080fd5b8101908080359060200190929190803590602001909291908035906020019092919050505061277a565b005b6108ea600480360360208110156108be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cdf565b005b6108f4613290565b6040518082815260200191505060405180910390f35b610912613296565b6040518082815260200191505060405180910390f35b61093061329c565b6040518082815260200191505060405180910390f35b61094e6132a2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109826132c8565b6040518082815260200191505060405180910390f35b60025481565b60006109a86115a8565b15610a1b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415610a94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090610ba9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b6e578082015181840152602081019050610b53565b50505050905090810190601f168015610b9b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000610bb5846113b5565b90506000610bce601054836136f290919063ffffffff16565b90506000610be5828461335f90919063ffffffff16565b9050610c348582600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661384d9092919063ffffffff16565b6000821115610cad57610cac600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661384d9092919063ffffffff16565b5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610d4057600080fd5b505af1158015610d54573d6000803e3d6000fd5b50505050610d6d8360025461335f90919063ffffffff16565b600281905550610d7d60006138ef565b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd8ae9b9ba89e637bcb66a69ac91e8f688018e81d6f92c57e02226425c8efbdf6886040518082815260200191505060405180910390a38093505050506001808190555092915050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610e7e57600080fd5b505afa158015610e92573d6000803e3d6000fd5b505050506040513d6020811015610ea857600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525090610f95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f5a578082015181840152602081019050610f3f565b50505050905090810190601f168015610f875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f9181736fce85d2d4cca2e4406f10679302ae5c387180fdb62963af3cd9a24fd660405160405180910390a250565b60008061104c600f544261335f90919063ffffffff16565b905061105d600d54600e548361110e565b91505090565b600b818154811061107357600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60096020528060005260406000206000915054906101000a900460ff1681565b60008061115861113d6301e1338061112f86886133e290919063ffffffff16565b61346890919063ffffffff16565b6b033b2e3c9fd0803ce80000006134f190919063ffffffff16565b905061116d818661357990919063ffffffff16565b9150509392505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d4eb5db0336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561124657600080fd5b505afa15801561125a573d6000803e3d6000fd5b505050506040513d602081101561127057600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c31000000000000000000000000000000000000000000000000000000008152509061135d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611322578082015181840152602081019050611307565b50505050905090810190601f16801561134f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506113666139ec565b565b600e5481565b60045481565b60006113ae61138161168f565b6113a06b033b2e3c9fd0803ce8000000856133e290919063ffffffff16565b61346890919063ffffffff16565b9050919050565b60006113ef6b033b2e3c9fd0803ce80000006113e16113d261168f565b856133e290919063ffffffff16565b61346890919063ffffffff16565b9050919050565b600181565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561148457600080fd5b505afa158015611498573d6000803e3d6000fd5b505050506040513d60208110156114ae57600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c32000000000000000000000000000000000000000000000000000000008152509061159b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611560578082015181840152602081019050611545565b50505050905090810190601f16801561158d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506115a581613ad6565b50565b60008060009054906101000a900460ff16905090565b600f5481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561164f57600080fd5b505afa158015611663573d6000803e3d6000fd5b505050506040513d602081101561167957600080fd5b8101908080519060200190929190505050905090565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116fa57600080fd5b505afa15801561170e573d6000803e3d6000fd5b505050506040513d602081101561172457600080fd5b810190808051906020019092919050505090506000811415611755576b033b2e3c9fd0803ce8000000915050611791565b61178d8161177f6b033b2e3c9fd0803ce80000006117716132c8565b6133e290919063ffffffff16565b61346890919063ffffffff16565b9150505b90565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a41ec64336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561181d57600080fd5b505afa158015611831573d6000803e3d6000fd5b505050506040513d602081101561184757600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525090611934576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118f95780820151818401526020810190506118de565b50505050905090810190601f1680156119265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061193d613c75565b565b6119476115a8565b156119ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415611a33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090611b48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b0d578082015181840152602081019050611af2565b50505050905090810190601f168015611b3a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600354611b6684611b586132c8565b6134f190919063ffffffff16565b11156040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525090611c44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c09578082015181840152602081019050611bee565b50505050905090810190601f168015611c365780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cd057600080fd5b505afa158015611ce4573d6000803e3d6000fd5b505050506040513d6020811015611cfa57600080fd5b81019080805190602001909291905050509050611d5c333086600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613d60909392919063ffffffff16565b611e3281600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611de957600080fd5b505afa158015611dfd573d6000803e3d6000fd5b505050506040513d6020811015611e1357600080fd5b810190808051906020019092919050505061335f90919063ffffffff16565b9350600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1984611e7c87611374565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611ecf57600080fd5b505af1158015611ee3573d6000803e3d6000fd5b50505050611efc846002546134f190919063ffffffff16565b600281905550611f0c60006138ef565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd2491a9b4fe81a7cd4511e8b7b7743951b061dad5bed7da8a7795b080ee08c7e8685604051808381526020018281526020019250505060405180910390a35060018081905550505050565b6000600b80549050905090565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561201c57600080fd5b505afa158015612030573d6000803e3d6000fd5b505050506040513d602081101561204657600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525090612133576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120f85780820151818401526020810190506120dd565b50505050905090810190601f1680156121255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50606460ff168111156040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525090612218576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121dd5780820151818401526020810190506121c2565b50505050905090810190601f16801561220a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50806010819055507fd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d816040518082815260200191505060405180910390a150565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156122e357600080fd5b505afa1580156122f7573d6000803e3d6000fd5b505050506040513d602081101561230d57600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c3200000000000000000000000000000000000000000000000000000000815250906123fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123bf5780820151818401526020810190506123a4565b50505050905090810190601f1680156123ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50806003819055507fd7a183c9fe85b604c25d54bd676e0866f6c13bcca9fb9b0850213de118fdc99c816040518082815260200191505060405180910390a150565b6124446115a8565b156124b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166040518060400160405280600381526020017f5053300000000000000000000000000000000000000000000000000000000000815250906125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125a557808201518184015260208101905061258a565b50505050905090810190601f1680156125d25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061262e8183600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661384d9092919063ffffffff16565b61263860006138ef565b61264d826004546134f190919063ffffffff16565b6004819055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f312a5e5e1079f5dda4e95dbbd0b908b291fd5b992ef22073643ab691572c5b52846040518082815260200191505060405180910390a35050565b600061274b6126ff6126d784866133e290919063ffffffff16565b6126f1876126e3611034565b6133e290919063ffffffff16565b6134f190919063ffffffff16565b61273d61271586886134f190919063ffffffff16565b61272f86612721611034565b6133e290919063ffffffff16565b6133e290919063ffffffff16565b61346890919063ffffffff16565b90509392505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6127826115a8565b156127f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166040518060400160405280600381526020017f50533000000000000000000000000000000000000000000000000000000000008152509061291e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128e35780820151818401526020810190506128c8565b50505050905090810190601f1680156129105780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000821115612a1d57600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661299285611374565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156129e557600080fd5b505af11580156129f9573d6000803e3d6000fd5b50505050612a12826002546134f190919063ffffffff16565b600281905550612c58565b6000612a2882611374565b90506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ad757600080fd5b505afa158015612aeb573d6000803e3d6000fd5b505050506040513d6020811015612b0157600080fd5b8101908080519060200190929190505050905081811015612b88578091503373ffffffffffffffffffffffffffffffffffffffff167fef3653ded679720ab04913b6f3820be7cedc8286d42ff5dd8dff17e91bd2964c612b72612b63846113b5565b8661335f90919063ffffffff16565b6040518082815260200191505060405180910390a25b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015612c3d57600080fd5b505af1158015612c51573d6000803e3d6000fd5b5050505050505b612c61816138ef565b612c768360045461335f90919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff167f2fe77b1c99aca6b022b8efc6e3e8dd1b48b30748709339b65c50ef3263443e0984848460405180848152602001838152602001828152602001935050505060405180910390a2505050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612d6857600080fd5b505afa158015612d7c573d6000803e3d6000fd5b505050506040513d6020811015612d9257600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525090612e7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e44578082015181840152602081019050612e29565b50505050905090810190601f168015612e715780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508073ffffffffffffffffffffffffffffffffffffffff1663570a7af26040518163ffffffff1660e01b815260040160206040518083038186803b158015612ec657600080fd5b505afa158015612eda573d6000803e3d6000fd5b505050506040513d6020811015612ef057600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600381526020017f50533100000000000000000000000000000000000000000000000000000000008152509061300b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fd0578082015181840152602081019050612fb5565b50505050905090810190601f168015612ffd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525090613136576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130fb5780820151818401526020810190506130e0565b50505050905090810190601f1680156131285780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600b819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fe076020e7eac3915d33aec40c24f95e73eb6c9921ff89747d50aa8fd934d2c0160405160405180910390a250565b600d5481565b60105481565b60035481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806132e0600f544261335f90919063ffffffff16565b905060006133416301e133806133336b033b2e3c9fd0803ce800000061332586613317600e546004546133e290919063ffffffff16565b6133e290919063ffffffff16565b61346890919063ffffffff16565b61346890919063ffffffff16565b9050613358816002546134f190919063ffffffff16565b9250505090565b6000828211156133d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808314156133f55760009050613462565b600082840290508284828161340657fe5b041461345d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806141de6021913960400191505060405180910390fd5b809150505b92915050565b60008082116134df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816134e857fe5b04905092915050565b60008082840190508381101561356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314806135895750600082145b1561359757600090506136ec565b8160026b033b2e3c9fd0803ce8000000816135ae57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816135d857fe5b048311156040518060400160405280600281526020017f4d31000000000000000000000000000000000000000000000000000000000000815250906136b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561367d578082015181840152602081019050613662565b50505050905090810190601f1680156136aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce8000000816136dc57fe5b0483850201816136e857fe5b0490505b92915050565b6000808314806137025750600082145b156137105760009050613847565b8160026127108161371d57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161374757fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090613827576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137ec5780820151818401526020810190506137d1565b50505050905090810190601f1680156138195780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061271060026127108161383757fe5b04838502018161384357fe5b0490505b92915050565b6138ea8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613e21565b505050565b613909816138fb6132c8565b61335f90919063ffffffff16565b600281905550613917611034565b600d81905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342568d446002546139666115c4565b6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156139a157600080fd5b505afa1580156139b5573d6000803e3d6000fd5b505050506040513d60208110156139cb57600080fd5b8101908080519060200190929190505050600e8190555042600f8190555050565b6139f46115a8565b613a66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613aa9613f10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090613be3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ba8578082015181840152602081019050613b8d565b50505050905090810190601f168015613bd55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550613c2f60006138ef565b8073ffffffffffffffffffffffffffffffffffffffff167f0ec6cb7631d36954a05ffd646135bfd9995c71e7fa36d26abb1ad9f24a040ea160405160405180910390a250565b613c7d6115a8565b15613cf0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613d33613f10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b613e1b846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613e21565b50505050565b6000613e83826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613f189092919063ffffffff16565b9050600081511115613f0b57808060200190516020811015613ea457600080fd5b8101908080519060200190929190505050613f0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806141ff602a913960400191505060405180910390fd5b5b505050565b600033905090565b6060613f278484600085613f30565b90509392505050565b606082471015613f8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141b86026913960400191505060405180910390fd5b613f94856140d8565b614006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106140555780518252602082019150602081019050602083039250614032565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146140b7576040519150601f19603f3d011682016040523d82523d6000602084013e6140bc565b606091505b50915091506140cc8282866140eb565b92505050949350505050565b600080823b905060008111915050919050565b606083156140fb578290506141b0565b60008351111561410e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561417557808201518184015260208101905061415a565b50505050905090810190601f1680156141a25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220555dcec2a4fb94fd2eaeb4e1f5acd69c84dee1c4fe9f244d0b7b2bc083e7301264736f6c63430007060033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77";
|
|
846
|
-
var PoolService__factory = /** @class */ (function (_super) {
|
|
847
|
-
__extends(PoolService__factory, _super);
|
|
848
|
-
function PoolService__factory(signer) {
|
|
849
|
-
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
850
|
-
}
|
|
851
|
-
PoolService__factory.prototype.deploy = function (_addressProvider, _underlyingToken, _dieselAddress, _interestRateModelAddress, _expectedLiquidityLimit, overrides) {
|
|
852
|
-
return _super.prototype.deploy.call(this, _addressProvider, _underlyingToken, _dieselAddress, _interestRateModelAddress, _expectedLiquidityLimit, overrides || {});
|
|
853
|
-
};
|
|
854
|
-
PoolService__factory.prototype.getDeployTransaction = function (_addressProvider, _underlyingToken, _dieselAddress, _interestRateModelAddress, _expectedLiquidityLimit, overrides) {
|
|
855
|
-
return _super.prototype.getDeployTransaction.call(this, _addressProvider, _underlyingToken, _dieselAddress, _interestRateModelAddress, _expectedLiquidityLimit, overrides || {});
|
|
856
|
-
};
|
|
857
|
-
PoolService__factory.prototype.attach = function (address) {
|
|
858
|
-
return _super.prototype.attach.call(this, address);
|
|
859
|
-
};
|
|
860
|
-
PoolService__factory.prototype.connect = function (signer) {
|
|
861
|
-
return _super.prototype.connect.call(this, signer);
|
|
862
|
-
};
|
|
863
|
-
PoolService__factory.createInterface = function () {
|
|
864
|
-
return new ethers_1.utils.Interface(_abi);
|
|
865
|
-
};
|
|
866
|
-
PoolService__factory.connect = function (address, signerOrProvider) {
|
|
867
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
868
|
-
};
|
|
869
|
-
PoolService__factory.bytecode = _bytecode;
|
|
870
|
-
PoolService__factory.abi = _abi;
|
|
871
|
-
return PoolService__factory;
|
|
872
|
-
}(ethers_1.ContractFactory));
|
|
873
|
-
exports.PoolService__factory = PoolService__factory;
|