@gearbox-protocol/sdk 0.0.60 → 0.0.63
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 +4 -4
- 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 +5 -5
- 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,1030 +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.CreditManager__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: "uint256",
|
|
33
|
-
name: "_minAmount",
|
|
34
|
-
type: "uint256",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "uint256",
|
|
38
|
-
name: "_maxAmount",
|
|
39
|
-
type: "uint256",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "uint256",
|
|
43
|
-
name: "_maxLeverage",
|
|
44
|
-
type: "uint256",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "_poolService",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "_creditFilterAddress",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
internalType: "address",
|
|
58
|
-
name: "_defaultSwapContract",
|
|
59
|
-
type: "address",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
stateMutability: "nonpayable",
|
|
63
|
-
type: "constructor",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
anonymous: false,
|
|
67
|
-
inputs: [
|
|
68
|
-
{
|
|
69
|
-
indexed: true,
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "onBehalfOf",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "token",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
indexed: false,
|
|
82
|
-
internalType: "uint256",
|
|
83
|
-
name: "value",
|
|
84
|
-
type: "uint256",
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
name: "AddCollateral",
|
|
88
|
-
type: "event",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
anonymous: false,
|
|
92
|
-
inputs: [
|
|
93
|
-
{
|
|
94
|
-
indexed: true,
|
|
95
|
-
internalType: "address",
|
|
96
|
-
name: "owner",
|
|
97
|
-
type: "address",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
indexed: true,
|
|
101
|
-
internalType: "address",
|
|
102
|
-
name: "to",
|
|
103
|
-
type: "address",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
indexed: false,
|
|
107
|
-
internalType: "uint256",
|
|
108
|
-
name: "remainingFunds",
|
|
109
|
-
type: "uint256",
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
name: "CloseCreditAccount",
|
|
113
|
-
type: "event",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
anonymous: false,
|
|
117
|
-
inputs: [
|
|
118
|
-
{
|
|
119
|
-
indexed: true,
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "borrower",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
indexed: true,
|
|
126
|
-
internalType: "address",
|
|
127
|
-
name: "target",
|
|
128
|
-
type: "address",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
name: "ExecuteOrder",
|
|
132
|
-
type: "event",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
anonymous: false,
|
|
136
|
-
inputs: [
|
|
137
|
-
{
|
|
138
|
-
indexed: true,
|
|
139
|
-
internalType: "address",
|
|
140
|
-
name: "borrower",
|
|
141
|
-
type: "address",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
indexed: false,
|
|
145
|
-
internalType: "uint256",
|
|
146
|
-
name: "amount",
|
|
147
|
-
type: "uint256",
|
|
148
|
-
},
|
|
149
|
-
],
|
|
150
|
-
name: "IncreaseBorrowedAmount",
|
|
151
|
-
type: "event",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
anonymous: false,
|
|
155
|
-
inputs: [
|
|
156
|
-
{
|
|
157
|
-
indexed: true,
|
|
158
|
-
internalType: "address",
|
|
159
|
-
name: "owner",
|
|
160
|
-
type: "address",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
indexed: true,
|
|
164
|
-
internalType: "address",
|
|
165
|
-
name: "liquidator",
|
|
166
|
-
type: "address",
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
indexed: false,
|
|
170
|
-
internalType: "uint256",
|
|
171
|
-
name: "remainingFunds",
|
|
172
|
-
type: "uint256",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
name: "LiquidateCreditAccount",
|
|
176
|
-
type: "event",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
anonymous: false,
|
|
180
|
-
inputs: [
|
|
181
|
-
{
|
|
182
|
-
indexed: false,
|
|
183
|
-
internalType: "uint256",
|
|
184
|
-
name: "minAmount",
|
|
185
|
-
type: "uint256",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
indexed: false,
|
|
189
|
-
internalType: "uint256",
|
|
190
|
-
name: "maxAmount",
|
|
191
|
-
type: "uint256",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
indexed: false,
|
|
195
|
-
internalType: "uint256",
|
|
196
|
-
name: "maxLeverage",
|
|
197
|
-
type: "uint256",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
indexed: false,
|
|
201
|
-
internalType: "uint256",
|
|
202
|
-
name: "feeInterest",
|
|
203
|
-
type: "uint256",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
indexed: false,
|
|
207
|
-
internalType: "uint256",
|
|
208
|
-
name: "feeLiquidation",
|
|
209
|
-
type: "uint256",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
indexed: false,
|
|
213
|
-
internalType: "uint256",
|
|
214
|
-
name: "liquidationDiscount",
|
|
215
|
-
type: "uint256",
|
|
216
|
-
},
|
|
217
|
-
],
|
|
218
|
-
name: "NewParameters",
|
|
219
|
-
type: "event",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
anonymous: false,
|
|
223
|
-
inputs: [
|
|
224
|
-
{
|
|
225
|
-
indexed: true,
|
|
226
|
-
internalType: "address",
|
|
227
|
-
name: "sender",
|
|
228
|
-
type: "address",
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
indexed: true,
|
|
232
|
-
internalType: "address",
|
|
233
|
-
name: "onBehalfOf",
|
|
234
|
-
type: "address",
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
indexed: true,
|
|
238
|
-
internalType: "address",
|
|
239
|
-
name: "creditAccount",
|
|
240
|
-
type: "address",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
indexed: false,
|
|
244
|
-
internalType: "uint256",
|
|
245
|
-
name: "amount",
|
|
246
|
-
type: "uint256",
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
indexed: false,
|
|
250
|
-
internalType: "uint256",
|
|
251
|
-
name: "borrowAmount",
|
|
252
|
-
type: "uint256",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
indexed: false,
|
|
256
|
-
internalType: "uint256",
|
|
257
|
-
name: "referralCode",
|
|
258
|
-
type: "uint256",
|
|
259
|
-
},
|
|
260
|
-
],
|
|
261
|
-
name: "OpenCreditAccount",
|
|
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: "Paused",
|
|
275
|
-
type: "event",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
anonymous: false,
|
|
279
|
-
inputs: [
|
|
280
|
-
{
|
|
281
|
-
indexed: true,
|
|
282
|
-
internalType: "address",
|
|
283
|
-
name: "owner",
|
|
284
|
-
type: "address",
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
indexed: true,
|
|
288
|
-
internalType: "address",
|
|
289
|
-
name: "to",
|
|
290
|
-
type: "address",
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
name: "RepayCreditAccount",
|
|
294
|
-
type: "event",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
anonymous: false,
|
|
298
|
-
inputs: [
|
|
299
|
-
{
|
|
300
|
-
indexed: true,
|
|
301
|
-
internalType: "address",
|
|
302
|
-
name: "oldOwner",
|
|
303
|
-
type: "address",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
indexed: true,
|
|
307
|
-
internalType: "address",
|
|
308
|
-
name: "newOwner",
|
|
309
|
-
type: "address",
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
name: "TransferAccount",
|
|
313
|
-
type: "event",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
anonymous: false,
|
|
317
|
-
inputs: [
|
|
318
|
-
{
|
|
319
|
-
indexed: false,
|
|
320
|
-
internalType: "address",
|
|
321
|
-
name: "account",
|
|
322
|
-
type: "address",
|
|
323
|
-
},
|
|
324
|
-
],
|
|
325
|
-
name: "Unpaused",
|
|
326
|
-
type: "event",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
inputs: [
|
|
330
|
-
{
|
|
331
|
-
internalType: "address",
|
|
332
|
-
name: "creditAccount",
|
|
333
|
-
type: "address",
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
internalType: "uint256",
|
|
337
|
-
name: "totalValue",
|
|
338
|
-
type: "uint256",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
internalType: "bool",
|
|
342
|
-
name: "isLiquidated",
|
|
343
|
-
type: "bool",
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
name: "_calcClosePayments",
|
|
347
|
-
outputs: [
|
|
348
|
-
{
|
|
349
|
-
internalType: "uint256",
|
|
350
|
-
name: "_borrowedAmount",
|
|
351
|
-
type: "uint256",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
internalType: "uint256",
|
|
355
|
-
name: "amountToPool",
|
|
356
|
-
type: "uint256",
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
internalType: "uint256",
|
|
360
|
-
name: "remainingFunds",
|
|
361
|
-
type: "uint256",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
internalType: "uint256",
|
|
365
|
-
name: "profit",
|
|
366
|
-
type: "uint256",
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
internalType: "uint256",
|
|
370
|
-
name: "loss",
|
|
371
|
-
type: "uint256",
|
|
372
|
-
},
|
|
373
|
-
],
|
|
374
|
-
stateMutability: "view",
|
|
375
|
-
type: "function",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
inputs: [
|
|
379
|
-
{
|
|
380
|
-
internalType: "uint256",
|
|
381
|
-
name: "totalValue",
|
|
382
|
-
type: "uint256",
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
internalType: "bool",
|
|
386
|
-
name: "isLiquidated",
|
|
387
|
-
type: "bool",
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
internalType: "uint256",
|
|
391
|
-
name: "borrowedAmount",
|
|
392
|
-
type: "uint256",
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
internalType: "uint256",
|
|
396
|
-
name: "cumulativeIndexAtCreditAccountOpen_RAY",
|
|
397
|
-
type: "uint256",
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
internalType: "uint256",
|
|
401
|
-
name: "cumulativeIndexNow_RAY",
|
|
402
|
-
type: "uint256",
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
name: "_calcClosePaymentsPure",
|
|
406
|
-
outputs: [
|
|
407
|
-
{
|
|
408
|
-
internalType: "uint256",
|
|
409
|
-
name: "_borrowedAmount",
|
|
410
|
-
type: "uint256",
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
internalType: "uint256",
|
|
414
|
-
name: "amountToPool",
|
|
415
|
-
type: "uint256",
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
internalType: "uint256",
|
|
419
|
-
name: "remainingFunds",
|
|
420
|
-
type: "uint256",
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
internalType: "uint256",
|
|
424
|
-
name: "profit",
|
|
425
|
-
type: "uint256",
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
internalType: "uint256",
|
|
429
|
-
name: "loss",
|
|
430
|
-
type: "uint256",
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
stateMutability: "view",
|
|
434
|
-
type: "function",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
inputs: [
|
|
438
|
-
{
|
|
439
|
-
internalType: "address",
|
|
440
|
-
name: "onBehalfOf",
|
|
441
|
-
type: "address",
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
internalType: "address",
|
|
445
|
-
name: "token",
|
|
446
|
-
type: "address",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
internalType: "uint256",
|
|
450
|
-
name: "amount",
|
|
451
|
-
type: "uint256",
|
|
452
|
-
},
|
|
453
|
-
],
|
|
454
|
-
name: "addCollateral",
|
|
455
|
-
outputs: [],
|
|
456
|
-
stateMutability: "nonpayable",
|
|
457
|
-
type: "function",
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
inputs: [
|
|
461
|
-
{
|
|
462
|
-
internalType: "address",
|
|
463
|
-
name: "targetContract",
|
|
464
|
-
type: "address",
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
internalType: "address",
|
|
468
|
-
name: "token",
|
|
469
|
-
type: "address",
|
|
470
|
-
},
|
|
471
|
-
],
|
|
472
|
-
name: "approve",
|
|
473
|
-
outputs: [],
|
|
474
|
-
stateMutability: "nonpayable",
|
|
475
|
-
type: "function",
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
inputs: [
|
|
479
|
-
{
|
|
480
|
-
internalType: "address",
|
|
481
|
-
name: "borrower",
|
|
482
|
-
type: "address",
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
internalType: "bool",
|
|
486
|
-
name: "isLiquidated",
|
|
487
|
-
type: "bool",
|
|
488
|
-
},
|
|
489
|
-
],
|
|
490
|
-
name: "calcRepayAmount",
|
|
491
|
-
outputs: [
|
|
492
|
-
{
|
|
493
|
-
internalType: "uint256",
|
|
494
|
-
name: "",
|
|
495
|
-
type: "uint256",
|
|
496
|
-
},
|
|
497
|
-
],
|
|
498
|
-
stateMutability: "view",
|
|
499
|
-
type: "function",
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
inputs: [
|
|
503
|
-
{
|
|
504
|
-
internalType: "address",
|
|
505
|
-
name: "to",
|
|
506
|
-
type: "address",
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
components: [
|
|
510
|
-
{
|
|
511
|
-
internalType: "address[]",
|
|
512
|
-
name: "path",
|
|
513
|
-
type: "address[]",
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
internalType: "uint256",
|
|
517
|
-
name: "amountOutMin",
|
|
518
|
-
type: "uint256",
|
|
519
|
-
},
|
|
520
|
-
],
|
|
521
|
-
internalType: "struct DataTypes.Exchange[]",
|
|
522
|
-
name: "paths",
|
|
523
|
-
type: "tuple[]",
|
|
524
|
-
},
|
|
525
|
-
],
|
|
526
|
-
name: "closeCreditAccount",
|
|
527
|
-
outputs: [],
|
|
528
|
-
stateMutability: "nonpayable",
|
|
529
|
-
type: "function",
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
inputs: [
|
|
533
|
-
{
|
|
534
|
-
internalType: "address",
|
|
535
|
-
name: "",
|
|
536
|
-
type: "address",
|
|
537
|
-
},
|
|
538
|
-
],
|
|
539
|
-
name: "creditAccounts",
|
|
540
|
-
outputs: [
|
|
541
|
-
{
|
|
542
|
-
internalType: "address",
|
|
543
|
-
name: "",
|
|
544
|
-
type: "address",
|
|
545
|
-
},
|
|
546
|
-
],
|
|
547
|
-
stateMutability: "view",
|
|
548
|
-
type: "function",
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
inputs: [],
|
|
552
|
-
name: "creditFilter",
|
|
553
|
-
outputs: [
|
|
554
|
-
{
|
|
555
|
-
internalType: "contract ICreditFilter",
|
|
556
|
-
name: "",
|
|
557
|
-
type: "address",
|
|
558
|
-
},
|
|
559
|
-
],
|
|
560
|
-
stateMutability: "view",
|
|
561
|
-
type: "function",
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
inputs: [],
|
|
565
|
-
name: "defaultSwapContract",
|
|
566
|
-
outputs: [
|
|
567
|
-
{
|
|
568
|
-
internalType: "address",
|
|
569
|
-
name: "",
|
|
570
|
-
type: "address",
|
|
571
|
-
},
|
|
572
|
-
],
|
|
573
|
-
stateMutability: "view",
|
|
574
|
-
type: "function",
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
inputs: [
|
|
578
|
-
{
|
|
579
|
-
internalType: "address",
|
|
580
|
-
name: "borrower",
|
|
581
|
-
type: "address",
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
internalType: "address",
|
|
585
|
-
name: "target",
|
|
586
|
-
type: "address",
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
internalType: "bytes",
|
|
590
|
-
name: "data",
|
|
591
|
-
type: "bytes",
|
|
592
|
-
},
|
|
593
|
-
],
|
|
594
|
-
name: "executeOrder",
|
|
595
|
-
outputs: [
|
|
596
|
-
{
|
|
597
|
-
internalType: "bytes",
|
|
598
|
-
name: "",
|
|
599
|
-
type: "bytes",
|
|
600
|
-
},
|
|
601
|
-
],
|
|
602
|
-
stateMutability: "nonpayable",
|
|
603
|
-
type: "function",
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
inputs: [],
|
|
607
|
-
name: "feeInterest",
|
|
608
|
-
outputs: [
|
|
609
|
-
{
|
|
610
|
-
internalType: "uint256",
|
|
611
|
-
name: "",
|
|
612
|
-
type: "uint256",
|
|
613
|
-
},
|
|
614
|
-
],
|
|
615
|
-
stateMutability: "view",
|
|
616
|
-
type: "function",
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
inputs: [],
|
|
620
|
-
name: "feeLiquidation",
|
|
621
|
-
outputs: [
|
|
622
|
-
{
|
|
623
|
-
internalType: "uint256",
|
|
624
|
-
name: "",
|
|
625
|
-
type: "uint256",
|
|
626
|
-
},
|
|
627
|
-
],
|
|
628
|
-
stateMutability: "view",
|
|
629
|
-
type: "function",
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
inputs: [
|
|
633
|
-
{
|
|
634
|
-
internalType: "address",
|
|
635
|
-
name: "borrower",
|
|
636
|
-
type: "address",
|
|
637
|
-
},
|
|
638
|
-
],
|
|
639
|
-
name: "getCreditAccountOrRevert",
|
|
640
|
-
outputs: [
|
|
641
|
-
{
|
|
642
|
-
internalType: "address",
|
|
643
|
-
name: "",
|
|
644
|
-
type: "address",
|
|
645
|
-
},
|
|
646
|
-
],
|
|
647
|
-
stateMutability: "view",
|
|
648
|
-
type: "function",
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
inputs: [
|
|
652
|
-
{
|
|
653
|
-
internalType: "address",
|
|
654
|
-
name: "borrower",
|
|
655
|
-
type: "address",
|
|
656
|
-
},
|
|
657
|
-
],
|
|
658
|
-
name: "hasOpenedCreditAccount",
|
|
659
|
-
outputs: [
|
|
660
|
-
{
|
|
661
|
-
internalType: "bool",
|
|
662
|
-
name: "",
|
|
663
|
-
type: "bool",
|
|
664
|
-
},
|
|
665
|
-
],
|
|
666
|
-
stateMutability: "view",
|
|
667
|
-
type: "function",
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
inputs: [
|
|
671
|
-
{
|
|
672
|
-
internalType: "uint256",
|
|
673
|
-
name: "amount",
|
|
674
|
-
type: "uint256",
|
|
675
|
-
},
|
|
676
|
-
],
|
|
677
|
-
name: "increaseBorrowedAmount",
|
|
678
|
-
outputs: [],
|
|
679
|
-
stateMutability: "nonpayable",
|
|
680
|
-
type: "function",
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
inputs: [
|
|
684
|
-
{
|
|
685
|
-
internalType: "address",
|
|
686
|
-
name: "borrower",
|
|
687
|
-
type: "address",
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
internalType: "address",
|
|
691
|
-
name: "to",
|
|
692
|
-
type: "address",
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
internalType: "bool",
|
|
696
|
-
name: "force",
|
|
697
|
-
type: "bool",
|
|
698
|
-
},
|
|
699
|
-
],
|
|
700
|
-
name: "liquidateCreditAccount",
|
|
701
|
-
outputs: [],
|
|
702
|
-
stateMutability: "nonpayable",
|
|
703
|
-
type: "function",
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
inputs: [],
|
|
707
|
-
name: "liquidationDiscount",
|
|
708
|
-
outputs: [
|
|
709
|
-
{
|
|
710
|
-
internalType: "uint256",
|
|
711
|
-
name: "",
|
|
712
|
-
type: "uint256",
|
|
713
|
-
},
|
|
714
|
-
],
|
|
715
|
-
stateMutability: "view",
|
|
716
|
-
type: "function",
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
inputs: [],
|
|
720
|
-
name: "maxAmount",
|
|
721
|
-
outputs: [
|
|
722
|
-
{
|
|
723
|
-
internalType: "uint256",
|
|
724
|
-
name: "",
|
|
725
|
-
type: "uint256",
|
|
726
|
-
},
|
|
727
|
-
],
|
|
728
|
-
stateMutability: "view",
|
|
729
|
-
type: "function",
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
inputs: [],
|
|
733
|
-
name: "maxLeverageFactor",
|
|
734
|
-
outputs: [
|
|
735
|
-
{
|
|
736
|
-
internalType: "uint256",
|
|
737
|
-
name: "",
|
|
738
|
-
type: "uint256",
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
stateMutability: "view",
|
|
742
|
-
type: "function",
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
inputs: [],
|
|
746
|
-
name: "minAmount",
|
|
747
|
-
outputs: [
|
|
748
|
-
{
|
|
749
|
-
internalType: "uint256",
|
|
750
|
-
name: "",
|
|
751
|
-
type: "uint256",
|
|
752
|
-
},
|
|
753
|
-
],
|
|
754
|
-
stateMutability: "view",
|
|
755
|
-
type: "function",
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
inputs: [],
|
|
759
|
-
name: "minHealthFactor",
|
|
760
|
-
outputs: [
|
|
761
|
-
{
|
|
762
|
-
internalType: "uint256",
|
|
763
|
-
name: "",
|
|
764
|
-
type: "uint256",
|
|
765
|
-
},
|
|
766
|
-
],
|
|
767
|
-
stateMutability: "view",
|
|
768
|
-
type: "function",
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
inputs: [
|
|
772
|
-
{
|
|
773
|
-
internalType: "uint256",
|
|
774
|
-
name: "amount",
|
|
775
|
-
type: "uint256",
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
internalType: "address",
|
|
779
|
-
name: "onBehalfOf",
|
|
780
|
-
type: "address",
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
internalType: "uint256",
|
|
784
|
-
name: "leverageFactor",
|
|
785
|
-
type: "uint256",
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
internalType: "uint256",
|
|
789
|
-
name: "referralCode",
|
|
790
|
-
type: "uint256",
|
|
791
|
-
},
|
|
792
|
-
],
|
|
793
|
-
name: "openCreditAccount",
|
|
794
|
-
outputs: [],
|
|
795
|
-
stateMutability: "nonpayable",
|
|
796
|
-
type: "function",
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
inputs: [],
|
|
800
|
-
name: "pause",
|
|
801
|
-
outputs: [],
|
|
802
|
-
stateMutability: "nonpayable",
|
|
803
|
-
type: "function",
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
inputs: [],
|
|
807
|
-
name: "paused",
|
|
808
|
-
outputs: [
|
|
809
|
-
{
|
|
810
|
-
internalType: "bool",
|
|
811
|
-
name: "",
|
|
812
|
-
type: "bool",
|
|
813
|
-
},
|
|
814
|
-
],
|
|
815
|
-
stateMutability: "view",
|
|
816
|
-
type: "function",
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
inputs: [],
|
|
820
|
-
name: "poolService",
|
|
821
|
-
outputs: [
|
|
822
|
-
{
|
|
823
|
-
internalType: "address",
|
|
824
|
-
name: "",
|
|
825
|
-
type: "address",
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
stateMutability: "view",
|
|
829
|
-
type: "function",
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
inputs: [
|
|
833
|
-
{
|
|
834
|
-
internalType: "address",
|
|
835
|
-
name: "creditAccount",
|
|
836
|
-
type: "address",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "address",
|
|
840
|
-
name: "targetContract",
|
|
841
|
-
type: "address",
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
internalType: "address",
|
|
845
|
-
name: "token",
|
|
846
|
-
type: "address",
|
|
847
|
-
},
|
|
848
|
-
],
|
|
849
|
-
name: "provideCreditAccountAllowance",
|
|
850
|
-
outputs: [],
|
|
851
|
-
stateMutability: "nonpayable",
|
|
852
|
-
type: "function",
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
inputs: [
|
|
856
|
-
{
|
|
857
|
-
internalType: "address",
|
|
858
|
-
name: "to",
|
|
859
|
-
type: "address",
|
|
860
|
-
},
|
|
861
|
-
],
|
|
862
|
-
name: "repayCreditAccount",
|
|
863
|
-
outputs: [],
|
|
864
|
-
stateMutability: "nonpayable",
|
|
865
|
-
type: "function",
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
inputs: [
|
|
869
|
-
{
|
|
870
|
-
internalType: "address",
|
|
871
|
-
name: "borrower",
|
|
872
|
-
type: "address",
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
internalType: "address",
|
|
876
|
-
name: "to",
|
|
877
|
-
type: "address",
|
|
878
|
-
},
|
|
879
|
-
],
|
|
880
|
-
name: "repayCreditAccountETH",
|
|
881
|
-
outputs: [
|
|
882
|
-
{
|
|
883
|
-
internalType: "uint256",
|
|
884
|
-
name: "",
|
|
885
|
-
type: "uint256",
|
|
886
|
-
},
|
|
887
|
-
],
|
|
888
|
-
stateMutability: "nonpayable",
|
|
889
|
-
type: "function",
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
inputs: [
|
|
893
|
-
{
|
|
894
|
-
internalType: "uint256",
|
|
895
|
-
name: "_minAmount",
|
|
896
|
-
type: "uint256",
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
internalType: "uint256",
|
|
900
|
-
name: "_maxAmount",
|
|
901
|
-
type: "uint256",
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
internalType: "uint256",
|
|
905
|
-
name: "_maxLeverageFactor",
|
|
906
|
-
type: "uint256",
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
internalType: "uint256",
|
|
910
|
-
name: "_feeInterest",
|
|
911
|
-
type: "uint256",
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
internalType: "uint256",
|
|
915
|
-
name: "_feeLiquidation",
|
|
916
|
-
type: "uint256",
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
internalType: "uint256",
|
|
920
|
-
name: "_liquidationDiscount",
|
|
921
|
-
type: "uint256",
|
|
922
|
-
},
|
|
923
|
-
],
|
|
924
|
-
name: "setParams",
|
|
925
|
-
outputs: [],
|
|
926
|
-
stateMutability: "nonpayable",
|
|
927
|
-
type: "function",
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
inputs: [
|
|
931
|
-
{
|
|
932
|
-
internalType: "address",
|
|
933
|
-
name: "newOwner",
|
|
934
|
-
type: "address",
|
|
935
|
-
},
|
|
936
|
-
],
|
|
937
|
-
name: "transferAccountOwnership",
|
|
938
|
-
outputs: [],
|
|
939
|
-
stateMutability: "nonpayable",
|
|
940
|
-
type: "function",
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
inputs: [],
|
|
944
|
-
name: "underlyingToken",
|
|
945
|
-
outputs: [
|
|
946
|
-
{
|
|
947
|
-
internalType: "address",
|
|
948
|
-
name: "",
|
|
949
|
-
type: "address",
|
|
950
|
-
},
|
|
951
|
-
],
|
|
952
|
-
stateMutability: "view",
|
|
953
|
-
type: "function",
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
inputs: [],
|
|
957
|
-
name: "unpause",
|
|
958
|
-
outputs: [],
|
|
959
|
-
stateMutability: "nonpayable",
|
|
960
|
-
type: "function",
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
inputs: [],
|
|
964
|
-
name: "version",
|
|
965
|
-
outputs: [
|
|
966
|
-
{
|
|
967
|
-
internalType: "uint256",
|
|
968
|
-
name: "",
|
|
969
|
-
type: "uint256",
|
|
970
|
-
},
|
|
971
|
-
],
|
|
972
|
-
stateMutability: "view",
|
|
973
|
-
type: "function",
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
inputs: [],
|
|
977
|
-
name: "wethAddress",
|
|
978
|
-
outputs: [
|
|
979
|
-
{
|
|
980
|
-
internalType: "address",
|
|
981
|
-
name: "",
|
|
982
|
-
type: "address",
|
|
983
|
-
},
|
|
984
|
-
],
|
|
985
|
-
stateMutability: "view",
|
|
986
|
-
type: "function",
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
inputs: [],
|
|
990
|
-
name: "wethGateway",
|
|
991
|
-
outputs: [
|
|
992
|
-
{
|
|
993
|
-
internalType: "address",
|
|
994
|
-
name: "",
|
|
995
|
-
type: "address",
|
|
996
|
-
},
|
|
997
|
-
],
|
|
998
|
-
stateMutability: "view",
|
|
999
|
-
type: "function",
|
|
1000
|
-
},
|
|
1001
|
-
];
|
|
1002
|
-
var _bytecode = "0x60806040523480156200001157600080fd5b5060405162006ecf38038062006ecf833981810160405281019062000037919062000c60565b8660008060006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a300000000000000000000000000000000000000000000000000000000000008152509062000163576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620001275780820151818401526020810190506200010a565b50505050905090810190601f168015620001555780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508073ffffffffffffffffffffffffffffffffffffffff1663087376956040518163ffffffff1660e01b815260040160206040518083038186803b158015620001ab57600080fd5b505afa158015620001c0573d6000803e3d6000fd5b505050506040513d6020811015620001d757600080fd5b8101908080519060200190929190505050600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060018081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141580156200029b5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015620002d55750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156200030f5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6040518060400160405280600281526020017f5a300000000000000000000000000000000000000000000000000000000000008152509062000389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000380919062000d5f565b60405180910390fd5b50600087905083600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b1580156200041757600080fd5b505afa1580156200042c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000452919062000c34565b600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16634c252f916040518163ffffffff1660e01b815260040160206040518083038186803b158015620004d957600080fd5b505afa158015620004ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000514919062000c34565b600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166377532ed96040518163ffffffff1660e01b815260040160206040518083038186803b1580156200059b57600080fd5b505afa158015620005b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d6919062000c34565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16639068a8686040518163ffffffff1660e01b815260040160206040518083038186803b1580156200069e57600080fd5b505afa158015620006b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006d9919062000c34565b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620007348787876103e860c861251c6200078360201b60201c565b82600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505062000ec5565b848611158015620007945750600084115b6040518060400160405280600381526020017f434d370000000000000000000000000000000000000000000000000000000000815250906200080e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000805919062000d5f565b60405180910390fd5b5085600281905550846003819055508360048190555082600e8190555081600f8190555080601081905550620008aa6004546200089662000864606460ff16600454620009e360201b620031791790919060201c565b62000882600f5460105462000a6c60201b620032011790919060201c565b62000af060201b620032841790919060201c565b62000b7b60201b6200330a1790919060201c565b600581905550600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146200098c57600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663406318286040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200097257600080fd5b505af115801562000987573d6000803e3d6000fd5b505050505b7fa32137411fc7c20db359079cd84af0e2cad58cd7a182a8a5e23e08e554e88bf0600254600354600454600e54600f54601054604051620009d39695949392919062000d83565b60405180910390a1505050505050565b60008082840190508381101562000a62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008282111562000ae5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008083141562000b05576000905062000b75565b600082840290508284828162000b1757fe5b041462000b70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018062006eae6021913960400191505060405180910390fd5b809150505b92915050565b600080821162000bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838162000bfd57fe5b04905092915050565b60008151905062000c178162000e91565b92915050565b60008151905062000c2e8162000eab565b92915050565b60006020828403121562000c4757600080fd5b600062000c578482850162000c06565b91505092915050565b600080600080600080600060e0888a03121562000c7c57600080fd5b600062000c8c8a828b0162000c06565b975050602062000c9f8a828b0162000c1d565b965050604062000cb28a828b0162000c1d565b955050606062000cc58a828b0162000c1d565b945050608062000cd88a828b0162000c06565b93505060a062000ceb8a828b0162000c06565b92505060c062000cfe8a828b0162000c06565b91505092959891949750929550565b600062000d1a8262000df0565b62000d26818562000dfb565b935062000d3881856020860162000e4a565b62000d438162000e80565b840191505092915050565b62000d598162000e40565b82525050565b6000602082019050818103600083015262000d7b818462000d0d565b905092915050565b600060c08201905062000d9a600083018962000d4e565b62000da9602083018862000d4e565b62000db8604083018762000d4e565b62000dc7606083018662000d4e565b62000dd6608083018562000d4e565b62000de560a083018462000d4e565b979650505050505050565b600081519050919050565b600082825260208201905092915050565b600062000e198262000e20565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000e6a57808201518184015260208101905062000e4d565b8381111562000e7a576000848401525b50505050565b6000601f19601f8301169050919050565b62000e9c8162000e0c565b811462000ea857600080fd5b50565b62000eb68162000e40565b811462000ec257600080fd5b50565b615fd98062000ed56000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637e5465ba11610125578063b2c53a6c116100ad578063e1b4264c1161007c578063e1b4264c146105d0578063e958b704146105ee578063ebb395121461061e578063f8dbc6b61461063a578063f93f515b1461066e57610211565b8063b2c53a6c1461055a578063c5e10eef14610578578063d692ba3314610596578063e0c011b7146105b257610211565b80639b2cb5d8116100f45780639b2cb5d8146104b85780639efc60d0146104d6578063a69a7dd6146104f2578063a6eab5c21461050e578063ab1148051461053e57610211565b80637e5465ba146104405780638053fcbe1461045c5780638456cb591461047a578063996329f81461048457610211565b80635288ba4b116101a85780635978103411610177578063597810341461039a5780635c975abb146103b65780635e0b63d3146103d45780635f48f393146103f25780636ce4074a1461041057610211565b80635288ba4b1461032657806354fd4d5014610342578063570a7af214610360578063579122ab1461037e57610211565b80633ce07355116101e45780633ce07355146102b25780633f4ba83a146102e25780634f0e0ef3146102ec5780635019e20a1461030a57610211565b8063055ee9b5146102165780632495a59914610246578063256ac915146102645780633915ffaa14610294575b600080fd5b610230600480360381019061022b9190615320565b61068c565b60405161023d9190615980565b60405180910390f35b61024e6106bf565b60405161025b9190615980565b60405180910390f35b61027e60048036038101906102799190615320565b6106e5565b60405161028b9190615a7d565b60405180910390f35b61029c61077d565b6040516102a99190615af7565b60405180910390f35b6102cc60048036038101906102c7919061555a565b610783565b6040516102d99190615af7565b60405180910390f35b6102ea610880565b005b6102f4610a2b565b6040516103019190615980565b60405180910390f35b610324600480360381019061031f9190615320565b610a51565b005b610340600480360381019061033b91906156db565b610ca8565b005b61034a61124a565b6040516103579190615af7565b60405180910390f35b61036861124f565b6040516103759190615980565b60405180910390f35b610398600480360381019061039391906153ae565b611275565b005b6103b460048036038101906103af91906154b3565b6114db565b005b6103be611712565b6040516103cb9190615a7d565b60405180910390f35b6103dc611728565b6040516103e99190615af7565b60405180910390f35b6103fa61172e565b6040516104079190615af7565b60405180910390f35b61042a6004803603810190610425919061544c565b611734565b6040516104379190615a98565b60405180910390f35b61045a60048036038101906104559190615372565b611a8f565b005b610464611d8d565b6040516104719190615af7565b60405180910390f35b610482611d93565b005b61049e60048036038101906104999190615596565b611f3e565b6040516104af959493929190615bf5565b60405180910390f35b6104c0612019565b6040516104cd9190615af7565b60405180910390f35b6104f060048036038101906104eb9190615689565b61201f565b005b61050c600480360381019061050791906153fd565b612491565b005b61052860048036038101906105239190615372565b61276e565b6040516105359190615af7565b60405180910390f35b61055860048036038101906105539190615502565b61294e565b005b610562612b9a565b60405161056f9190615af7565b60405180910390f35b610580612ba0565b60405161058d9190615980565b60405180910390f35b6105b060048036038101906105ab9190615320565b612bc6565b005b6105ba612cd7565b6040516105c79190615980565b60405180910390f35b6105d8612cfd565b6040516105e59190615af7565b60405180910390f35b61060860048036038101906106039190615320565b612d03565b6040516106159190615980565b60405180910390f35b610638600480360381019061063391906157b5565b612e1a565b005b610654600480360381019061064f919061573e565b612fd1565b604051610665959493929190615bf5565b60405180910390f35b610676613153565b6040516106839190615aba565b60405180910390f35b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff16600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600f5481565b60008061078f84612d03565b90506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c7de38a6836040518263ffffffff1660e01b81526004016107ee9190615980565b60206040518083038186803b15801561080657600080fd5b505afa15801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e91906156b2565b905060008061084e848488611f3e565b50509250925050856108605781610874565b610873818361317990919063ffffffff16565b5b94505050505092915050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d4eb5db0336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561090957600080fd5b505afa15801561091d573d6000803e3d6000fd5b505050506040513d602081101561093357600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525090610a20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156109e55780820151818401526020810190506109ca565b50505050905090810190601f168015610a125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50610a29613393565b565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a59611712565b15610acc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415610b45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000610b5833612d03565b9050610b638261347d565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f93c70cc9715bef0d83edf2095f3595402279d274f402a73ffc17f1bcb19d863d60405160405180910390a3506001808190555050565b610cb0611712565b15610d23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415610d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506002548410158015610db857506003548411155b8015610dc45750600082115b8015610dd257506004548211155b6040518060400160405280600381526020017f434d37000000000000000000000000000000000000000000000000000000000081525090610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e409190615ad5565b60405180910390fd5b50610e538361347d565b6000610e7e606460ff16610e70858861328490919063ffffffff16565b61330a90919063ffffffff16565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321d1845683600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630fce70fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2957600080fd5b505afa158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6191906156b2565b6040518363ffffffff1660e01b8152600401610f7e929190615b3b565b602060405180830381600087803b158015610f9857600080fd5b505af1158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190615349565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e54fe9c8826040518263ffffffff1660e01b815260040161102d9190615980565b600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b50505050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf28068b83836040518363ffffffff1660e01b81526004016110bc929190615b12565b600060405180830381600087803b1580156110d657600080fd5b505af11580156110ea573d6000803e3d6000fd5b5050505061113d338288600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135fc909392919063ffffffff16565b80600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f7b20ae77867a263a1074203a2da261ef0d096c99395c59c9d4a0104b9f334a2789868860405161123393929190615bbe565b60405180910390a450506001808190555050505050565b600181565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b813373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdd57645836040518263ffffffff1660e01b81526004016112e89190615980565b60206040518083038186803b15801561130057600080fd5b505afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190615349565b73ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600381526020017f434d420000000000000000000000000000000000000000000000000000000000815250906113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd9190615ad5565b60405180910390fd5b506113cf611712565b15611442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b600260015414156114bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506114ce8484846136bd565b6001808190555050505050565b6114e3611712565b15611556576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b600260015414156115cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006115e284612d03565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166351e3f16082856040518363ffffffff1660e01b81526004016116419291906159c4565b600060405180830381600087803b15801561165b57600080fd5b505af115801561166f573d6000803e3d6000fd5b505050506116a03382848673ffffffffffffffffffffffffffffffffffffffff166135fc909392919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fa32435755c235de2976ed44a75a2f85cb01faf0c894f639fe0c32bb9455fea8f846040516116fd9190615af7565b60405180910390a35060018081905550505050565b60008060009054906101000a900460ff16905090565b600e5481565b60035481565b6060823373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdd57645836040518263ffffffff1660e01b81526004016117a99190615980565b60206040518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f99190615349565b73ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600381526020017f434d42000000000000000000000000000000000000000000000000000000000081525090611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e9190615ad5565b60405180910390fd5b50611890611712565b15611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6002600154141561197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600061198f86612d03565b90508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167faed1eb34af6acd8c1e3911fb2ebb875a66324b03957886bd002227b17f52ab0360405160405180910390a38073ffffffffffffffffffffffffffffffffffffffff16631cff79cd86866040518363ffffffff1660e01b8152600401611a26929190615a24565b600060405180830381600087803b158015611a4057600080fd5b505af1158015611a54573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611a7d9190615648565b92505060018081905550509392505050565b611a97611712565b15611b0a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415611b83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000611b9633612d03565b9050600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdd57645856040518263ffffffff1660e01b8152600401611c0b9190615980565b60206040518083038186803b158015611c2357600080fd5b505afa158015611c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5b9190615349565b73ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600381526020017f434d42000000000000000000000000000000000000000000000000000000000081525090611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce19190615ad5565b60405180910390fd5b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637dd0ba82836040518263ffffffff1660e01b8152600401611d469190615980565b60006040518083038186803b158015611d5e57600080fd5b505afa158015611d72573d6000803e3d6000fd5b50505050611d818184846136bd565b50600180819055505050565b60105481565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a41ec64336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e1c57600080fd5b505afa158015611e30573d6000803e3d6000fd5b505050506040513d6020811015611e4657600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525090611f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ef8578082015181840152602081019050611edd565b50505050905090810190601f168015611f255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50611f3c6137e2565b565b6000806000806000806000611f528a6138cd565b9150915061200289898484600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630fce70fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015611fc557600080fd5b505afa158015611fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffd91906156b2565b612fd1565b965096509650965096505050939792965093509350565b60025481565b612027611712565b1561209a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415612113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600061212633612d03565b9050600080612134836138cd565b91509150600061214d858461317990919063ffffffff16565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00495a18588866040518463ffffffff1660e01b81526004016121b093929190615bbe565b60206040518083038186803b1580156121c857600080fd5b505afa1580156121dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220091906156b2565b905061221960045460035461328490919063ffffffff16565b612230606460ff168461328490919063ffffffff16565b106040518060400160405280600381526020017f434d330000000000000000000000000000000000000000000000000000000000815250906122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f9190615ad5565b60405180910390fd5b50600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf28068b87876040518363ffffffff1660e01b8152600401612306929190615b12565b600060405180830381600087803b15801561232057600080fd5b505af1158015612334573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff16631612821183836040518363ffffffff1660e01b8152600401612373929190615b3b565b600060405180830381600087803b15801561238d57600080fd5b505af11580156123a1573d6000803e3d6000fd5b50505050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a5757517866005546040518363ffffffff1660e01b8152600401612404929190615a54565b60006040518083038186803b15801561241c57600080fd5b505afa158015612430573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f9cac51154cc0d835e2f9c9d1f59a9344588cee107f4203bf58a8c797e3a58c458760405161247a9190615af7565b60405180910390a250505050506001808190555050565b612499611712565b1561250c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415612585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600061259884612d03565b90506000806125a88386866139d5565b9150915061266b612710600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633192195c866040518263ffffffff1660e01b815260040161260d9190615980565b60206040518083038186803b15801561262557600080fd5b505afa158015612639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265d91906156b2565b61328490919063ffffffff16565b81106040518060400160405280600381526020017f434d340000000000000000000000000000000000000000000000000000000000815250906126e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126db9190615ad5565b60405180910390fd5b5060006126f6846003858a338b613d1f565b9150503373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f5e5da6c348e62989f9cfe029252433fc99009b7d28fa3c20d675520a10ff5896836040516127569190615af7565b60405180910390a35050505060018081905550505050565b6000612778611712565b156127eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600381526020017f434d36000000000000000000000000000000000000000000000000000000000081525090612934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292b9190615ad5565b60405180910390fd5b5061293f83836141a9565b90506001808190555092915050565b612956611712565b156129c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415612a42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000612a5533612d03565b9050612a62818484614242565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401612abf9190615980565b60206040518083038186803b158015612ad757600080fd5b505afa158015612aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0f91906156b2565b90506000612b23836001843360008b613d1f565b9150508573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fca05b632388199c23de1352b2e96fd72a0ec71611683330b38060c004bbf0a7683604051612b839190615af7565b60405180910390a350505060018081905550505050565b60045481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612bce611712565b15612c41576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60026001541415612cba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550612ccc33826141a9565b506001808190555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600381526020017f434d31000000000000000000000000000000000000000000000000000000000081525090612e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e079190615ad5565b60405180910390fd5b5080915050919050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ea357600080fd5b505afa158015612eb7573d6000803e3d6000fd5b505050506040513d6020811015612ecd57600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525090612fba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f7f578082015181840152602081019050612f64565b50505050905090810190601f168015612fac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50612fc98686868686866147f8565b505050505050565b60008060008060008089612fe5578a61300f565b61300e6127106130006010548e61328490919063ffffffff16565b61330a90919063ffffffff16565b5b9050889550600061303b8961302d8a8d61328490919063ffffffff16565b61330a90919063ffffffff16565b9050808210156130755761305960018361320190919063ffffffff16565b955061306e868261320190919063ffffffff16565b9250613144565b8a6130b8576130b36130a4600e546130968d8561320190919063ffffffff16565b614a3390919063ffffffff16565b8261317990919063ffffffff16565b6130e0565b6130df816130d1600f5485614a3390919063ffffffff16565b61317990919063ffffffff16565b5b955085821115613117576131106001613102888561320190919063ffffffff16565b61320190919063ffffffff16565b945061312e565b61312b60018361320190919063ffffffff16565b95505b613141818761320190919063ffffffff16565b93505b50509550955095509550959050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808284019050838110156131f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115613279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808314156132975760009050613304565b60008284029050828482816132a857fe5b04146132ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615f596021913960400191505060405180910390fd5b809150505b92915050565b6000808211613381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161338a57fe5b04905092915050565b61339b611712565b61340d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613450614b8e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156134c057506134be816106e5565b155b6040518060400160405280600381526020017f434d32000000000000000000000000000000000000000000000000000000000081525090613537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352e9190615ad5565b60405180910390fd5b508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146135f957600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633b00ae7033836040518363ffffffff1660e01b81526004016135c892919061599b565b60006040518083038186803b1580156135e057600080fd5b505afa1580156135f4573d6000803e3d6000fd5b505050505b50565b6136b7846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614b96565b50505050565b7f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e85856040518363ffffffff1660e01b81526004016137199291906159c4565b60206040518083038186803b15801561373157600080fd5b505afa158015613745573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376991906156b2565b10156137dd578273ffffffffffffffffffffffffffffffffffffffff166303105b0482846040518363ffffffff1660e01b81526004016137aa9291906159c4565b600060405180830381600087803b1580156137c457600080fd5b505af11580156137d8573d6000803e3d6000fd5b505050505b505050565b6137ea611712565b1561385d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586138a0614b8e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff16631afbb7a46040518163ffffffff1660e01b815260040160206040518083038186803b15801561391657600080fd5b505afa15801561392a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061394e91906156b2565b91508273ffffffffffffffffffffffffffffffffffffffff166317d11a156040518163ffffffff1660e01b815260040160206040518083038186803b15801561399657600080fd5b505afa1580156139aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ce91906156b2565b9050915091565b600080600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b451cecc886040518263ffffffff1660e01b8152600401613a369190615980565b60206040518083038186803b158015613a4e57600080fd5b505afa158015613a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8691906156b2565b9050600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090613b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b279190615ad5565b60405180910390fd5b5060005b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b158015613b9c57600080fd5b505afa158015613bb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bd491906156b2565b811015613d1457806001901b925060008383161115613d0757600080600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663af0a65028d876040518363ffffffff1660e01b8152600401613c50929190615a54565b60806040518083038186803b158015613c6857600080fd5b505afa158015613c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ca091906155e5565b93509350935093506001831115613d0257613cd18c858d613ccb60018861320190919063ffffffff16565b8e614c85565b15613d0157613ce9828a61317990919063ffffffff16565b9850613cfe818961317990919063ffffffff16565b97505b5b505050505b8080600101915050613b34565b505050935093915050565b6000806000600360ff168860ff161490506000806000806000613d438e8d88611f3e565b94509450945094509450600160ff168d60ff161415613ec1578d73ffffffffffffffffffffffffffffffffffffffff1663d1660f99600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040518463ffffffff1660e01b8152600401613ddd939291906159ed565b600060405180830381600087803b158015613df757600080fd5b505af1158015613e0b573d6000803e3d6000fd5b50505050600083116040518060400160405280600381526020017f434d41000000000000000000000000000000000000000000000000000000000081525090613e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e819190615ad5565b60405180910390fd5b50613ebb8e600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b866000614c85565b50614012565b600360ff168d60ff161415613f9f57613f418a600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135fc909392919063ffffffff16565b6000831115613f9a57613f998a8c85600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135fc909392919063ffffffff16565b5b614011565b61401033600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166135fc909392919063ffffffff16565b5b5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389b77b3e8f6040518263ffffffff1660e01b815260040161406d9190615980565b600060405180830381600087803b15801561408757600080fd5b505af115801561409b573d6000803e3d6000fd5b50505050600660008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ca9505e48684846040518463ffffffff1660e01b815260040161416093929190615bbe565b600060405180830381600087803b15801561417a57600080fd5b505af115801561418e573d6000803e3d6000fd5b50505050838397509750505050505050965096945050505050565b6000806141b584612d03565b905060006141c5828560006139d5565b50905060006141d983600284898a8a613d1f565b5090508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fe7c7987373a0cc4913d307f23ab8ef02e0333a2af445065e2ef7636cffc6daa760405160405180910390a380935050505092915050565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b451cecc866040518263ffffffff1660e01b81526004016142a09190615980565b60206040518083038186803b1580156142b857600080fd5b505afa1580156142cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142f091906156b2565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b15801561435a57600080fd5b505afa15801561436e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061439291906156b2565b84849050146040518060400160405280600281526020017f504c0000000000000000000000000000000000000000000000000000000000008152509061440e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144059190615ad5565b60405180910390fd5b506000600190505b848490508110156147f057806001901b9250600083831611156147e357600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663af0a650289856040518363ffffffff1660e01b8152600401614493929190615a54565b60806040518083038186803b1580156144ab57600080fd5b505afa1580156144bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144e391906155e5565b50509150915060018111156147e05761451f88600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846136bd565b600087878581811061452d57fe5b905060200281019061453f9190615d00565b806000019061454e9190615ca9565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509050828160008151811061459e57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018a8a8881811061460a57fe5b905060200281019061461c9190615d00565b806000019061462b9190615ca9565b9050038151811061463857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060006338ed173960e01b61469060018561320190919063ffffffff16565b8a8a8881811061469c57fe5b90506020028101906146ae9190615d00565b60200135848d426040516024016146c9959493929190615b64565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090508973ffffffffffffffffffffffffffffffffffffffff16631cff79cd600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401614785929190615a24565b600060405180830381600087803b15801561479f57600080fd5b505af11580156147b3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906147dc9190615648565b5050505b50505b8080600101915050614416565b505050505050565b8486111580156148085750600084115b6040518060400160405280600381526020017f434d3700000000000000000000000000000000000000000000000000000000008152509061487f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016148769190615ad5565b60405180910390fd5b5085600281905550846003819055508360048190555082600e8190555081600f81905550806010819055506148ff6004546148f16148cc606460ff1660045461317990919063ffffffff16565b6148e3600f5460105461320190919063ffffffff16565b61328490919063ffffffff16565b61330a90919063ffffffff16565b600581905550600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146149de57600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663406318286040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156149c557600080fd5b505af11580156149d9573d6000803e3d6000fd5b505050505b7fa32137411fc7c20db359079cd84af0e2cad58cd7a182a8a5e23e08e554e88bf0600254600354600454600e54600f54601054604051614a2396959493929190615c48565b60405180910390a1505050505050565b600080831480614a435750600082145b15614a515760009050614b88565b81600261271081614a5e57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0381614a8857fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090614b68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614b2d578082015181840152602081019050614b12565b50505050905090810190601f168015614b5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50612710600261271081614b7857fe5b048385020181614b8457fe5b0490505b92915050565b600033905090565b6000614bf8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614efe9092919063ffffffff16565b9050600081511115614c8057808060200190516020811015614c1957600080fd5b8101908080519060200190929190505050614c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615f7a602a913960400191505060405180910390fd5b5b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614614dcf578573ffffffffffffffffffffffffffffffffffffffff1663d1660f998686866040518463ffffffff1660e01b8152600401614d19939291906159ed565b600060405180830381600087803b158015614d3357600080fd5b505af1925050508015614d44575060015b614dca57816040518060400160405280600381526020017f434d43000000000000000000000000000000000000000000000000000000000081525090614dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614db79190615ad5565b60405180910390fd5b5060009050614ef5565b614ef0565b8573ffffffffffffffffffffffffffffffffffffffff1663d1660f9986600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866040518463ffffffff1660e01b8152600401614e2e939291906159ed565b600060405180830381600087803b158015614e4857600080fd5b505af1158015614e5c573d6000803e3d6000fd5b50505050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635869dba885856040518363ffffffff1660e01b8152600401614ebd929190615a54565b600060405180830381600087803b158015614ed757600080fd5b505af1158015614eeb573d6000803e3d6000fd5b505050505b600190505b95945050505050565b6060614f0d8484600085614f16565b90509392505050565b606082471015614f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615f336026913960400191505060405180910390fd5b614f7a856150be565b614fec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061503b5780518252602082019150602081019050602083039250615018565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461509d576040519150601f19603f3d011682016040523d82523d6000602084013e6150a2565b606091505b50915091506150b28282866150d1565b92505050949350505050565b600080823b905060008111915050919050565b606083156150e157829050615196565b6000835111156150f45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561515b578082015181840152602081019050615140565b50505050905090810190601f1680156151885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60006151b06151ab84615d55565b615d24565b9050828152602081018484840111156151c857600080fd5b6151d3848285615e98565b509392505050565b60006151ee6151e984615d55565b615d24565b90508281526020810184848401111561520657600080fd5b615211848285615ea7565b509392505050565b60008135905061522881615eed565b92915050565b60008151905061523d81615eed565b92915050565b60008083601f84011261525557600080fd5b8235905067ffffffffffffffff81111561526e57600080fd5b60208301915083602082028301111561528657600080fd5b9250929050565b60008135905061529c81615f04565b92915050565b600082601f8301126152b357600080fd5b81356152c384826020860161519d565b91505092915050565b600082601f8301126152dd57600080fd5b81516152ed8482602086016151db565b91505092915050565b60008135905061530581615f1b565b92915050565b60008151905061531a81615f1b565b92915050565b60006020828403121561533257600080fd5b600061534084828501615219565b91505092915050565b60006020828403121561535b57600080fd5b60006153698482850161522e565b91505092915050565b6000806040838503121561538557600080fd5b600061539385828601615219565b92505060206153a485828601615219565b9150509250929050565b6000806000606084860312156153c357600080fd5b60006153d186828701615219565b93505060206153e286828701615219565b92505060406153f386828701615219565b9150509250925092565b60008060006060848603121561541257600080fd5b600061542086828701615219565b935050602061543186828701615219565b92505060406154428682870161528d565b9150509250925092565b60008060006060848603121561546157600080fd5b600061546f86828701615219565b935050602061548086828701615219565b925050604084013567ffffffffffffffff81111561549d57600080fd5b6154a9868287016152a2565b9150509250925092565b6000806000606084860312156154c857600080fd5b60006154d686828701615219565b93505060206154e786828701615219565b92505060406154f8868287016152f6565b9150509250925092565b60008060006040848603121561551757600080fd5b600061552586828701615219565b935050602084013567ffffffffffffffff81111561554257600080fd5b61554e86828701615243565b92509250509250925092565b6000806040838503121561556d57600080fd5b600061557b85828601615219565b925050602061558c8582860161528d565b9150509250929050565b6000806000606084860312156155ab57600080fd5b60006155b986828701615219565b93505060206155ca868287016152f6565b92505060406155db8682870161528d565b9150509250925092565b600080600080608085870312156155fb57600080fd5b60006156098782880161522e565b945050602061561a8782880161530b565b935050604061562b8782880161530b565b925050606061563c8782880161530b565b91505092959194509250565b60006020828403121561565a57600080fd5b600082015167ffffffffffffffff81111561567457600080fd5b615680848285016152cc565b91505092915050565b60006020828403121561569b57600080fd5b60006156a9848285016152f6565b91505092915050565b6000602082840312156156c457600080fd5b60006156d28482850161530b565b91505092915050565b600080600080608085870312156156f157600080fd5b60006156ff878288016152f6565b945050602061571087828801615219565b9350506040615721878288016152f6565b9250506060615732878288016152f6565b91505092959194509250565b600080600080600060a0868803121561575657600080fd5b6000615764888289016152f6565b95505060206157758882890161528d565b9450506040615786888289016152f6565b9350506060615797888289016152f6565b92505060806157a8888289016152f6565b9150509295509295909350565b60008060008060008060c087890312156157ce57600080fd5b60006157dc89828a016152f6565b96505060206157ed89828a016152f6565b95505060406157fe89828a016152f6565b945050606061580f89828a016152f6565b935050608061582089828a016152f6565b92505060a061583189828a016152f6565b9150509295509295509295565b600061584a8383615865565b60208301905092915050565b61585f81615e3e565b82525050565b61586e81615df6565b82525050565b61587d81615df6565b82525050565b600061588e82615d95565b6158988185615dc3565b93506158a383615d85565b8060005b838110156158d45781516158bb888261583e565b97506158c683615db6565b9250506001810190506158a7565b5085935050505092915050565b6158ea81615e08565b82525050565b60006158fb82615da0565b6159058185615dd4565b9350615915818560208601615ea7565b61591e81615edc565b840191505092915050565b61593281615e50565b82525050565b600061594382615dab565b61594d8185615de5565b935061595d818560208601615ea7565b61596681615edc565b840191505092915050565b61597a81615e34565b82525050565b60006020820190506159956000830184615874565b92915050565b60006040820190506159b06000830185615856565b6159bd6020830184615874565b9392505050565b60006040820190506159d96000830185615874565b6159e66020830184615874565b9392505050565b6000606082019050615a026000830186615874565b615a0f6020830185615874565b615a1c6040830184615971565b949350505050565b6000604082019050615a396000830185615874565b8181036020830152615a4b81846158f0565b90509392505050565b6000604082019050615a696000830185615874565b615a766020830184615971565b9392505050565b6000602082019050615a9260008301846158e1565b92915050565b60006020820190508181036000830152615ab281846158f0565b905092915050565b6000602082019050615acf6000830184615929565b92915050565b60006020820190508181036000830152615aef8184615938565b905092915050565b6000602082019050615b0c6000830184615971565b92915050565b6000604082019050615b276000830185615971565b615b346020830184615874565b9392505050565b6000604082019050615b506000830185615971565b615b5d6020830184615971565b9392505050565b600060a082019050615b796000830188615971565b615b866020830187615971565b8181036040830152615b988186615883565b9050615ba76060830185615874565b615bb46080830184615971565b9695505050505050565b6000606082019050615bd36000830186615971565b615be06020830185615971565b615bed6040830184615971565b949350505050565b600060a082019050615c0a6000830188615971565b615c176020830187615971565b615c246040830186615971565b615c316060830185615971565b615c3e6080830184615971565b9695505050505050565b600060c082019050615c5d6000830189615971565b615c6a6020830188615971565b615c776040830187615971565b615c846060830186615971565b615c916080830185615971565b615c9e60a0830184615971565b979650505050505050565b60008083356001602003843603038112615cc257600080fd5b80840192508235915067ffffffffffffffff821115615ce057600080fd5b602083019250602082023603831315615cf857600080fd5b509250929050565b600082356001604003833603038112615d1857600080fd5b80830191505092915050565b6000604051905081810181811067ffffffffffffffff82111715615d4b57615d4a615eda565b5b8060405250919050565b600067ffffffffffffffff821115615d7057615d6f615eda565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000615e0182615e14565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615e4982615e74565b9050919050565b6000615e5b82615e62565b9050919050565b6000615e6d82615e14565b9050919050565b6000615e7f82615e86565b9050919050565b6000615e9182615e14565b9050919050565b82818337600083830152505050565b60005b83811015615ec5578082015181840152602081019050615eaa565b83811115615ed4576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b615ef681615df6565b8114615f0157600080fd5b50565b615f0d81615e08565b8114615f1857600080fd5b50565b615f2481615e34565b8114615f2f57600080fd5b5056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220511f20af829bf9bf631ed872d4633bcd59d096bca5d0ebe8bfb854829163bf6564736f6c63430007060033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77";
|
|
1003
|
-
var CreditManager__factory = /** @class */ (function (_super) {
|
|
1004
|
-
__extends(CreditManager__factory, _super);
|
|
1005
|
-
function CreditManager__factory(signer) {
|
|
1006
|
-
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
1007
|
-
}
|
|
1008
|
-
CreditManager__factory.prototype.deploy = function (_addressProvider, _minAmount, _maxAmount, _maxLeverage, _poolService, _creditFilterAddress, _defaultSwapContract, overrides) {
|
|
1009
|
-
return _super.prototype.deploy.call(this, _addressProvider, _minAmount, _maxAmount, _maxLeverage, _poolService, _creditFilterAddress, _defaultSwapContract, overrides || {});
|
|
1010
|
-
};
|
|
1011
|
-
CreditManager__factory.prototype.getDeployTransaction = function (_addressProvider, _minAmount, _maxAmount, _maxLeverage, _poolService, _creditFilterAddress, _defaultSwapContract, overrides) {
|
|
1012
|
-
return _super.prototype.getDeployTransaction.call(this, _addressProvider, _minAmount, _maxAmount, _maxLeverage, _poolService, _creditFilterAddress, _defaultSwapContract, overrides || {});
|
|
1013
|
-
};
|
|
1014
|
-
CreditManager__factory.prototype.attach = function (address) {
|
|
1015
|
-
return _super.prototype.attach.call(this, address);
|
|
1016
|
-
};
|
|
1017
|
-
CreditManager__factory.prototype.connect = function (signer) {
|
|
1018
|
-
return _super.prototype.connect.call(this, signer);
|
|
1019
|
-
};
|
|
1020
|
-
CreditManager__factory.createInterface = function () {
|
|
1021
|
-
return new ethers_1.utils.Interface(_abi);
|
|
1022
|
-
};
|
|
1023
|
-
CreditManager__factory.connect = function (address, signerOrProvider) {
|
|
1024
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
1025
|
-
};
|
|
1026
|
-
CreditManager__factory.bytecode = _bytecode;
|
|
1027
|
-
CreditManager__factory.abi = _abi;
|
|
1028
|
-
return CreditManager__factory;
|
|
1029
|
-
}(ethers_1.ContractFactory));
|
|
1030
|
-
exports.CreditManager__factory = CreditManager__factory;
|