@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,409 +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.TokenMock__factory = void 0;
|
|
22
|
-
var ethers_1 = require("ethers");
|
|
23
|
-
var _abi = [
|
|
24
|
-
{
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
internalType: "string",
|
|
28
|
-
name: "name_",
|
|
29
|
-
type: "string",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "string",
|
|
33
|
-
name: "symbol_",
|
|
34
|
-
type: "string",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
stateMutability: "nonpayable",
|
|
38
|
-
type: "constructor",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
anonymous: false,
|
|
42
|
-
inputs: [
|
|
43
|
-
{
|
|
44
|
-
indexed: true,
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "owner",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: true,
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "spender",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: false,
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "value",
|
|
59
|
-
type: "uint256",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
name: "Approval",
|
|
63
|
-
type: "event",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
anonymous: false,
|
|
67
|
-
inputs: [
|
|
68
|
-
{
|
|
69
|
-
indexed: true,
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "previousOwner",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "newOwner",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
name: "OwnershipTransferred",
|
|
82
|
-
type: "event",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
anonymous: false,
|
|
86
|
-
inputs: [
|
|
87
|
-
{
|
|
88
|
-
indexed: true,
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "from",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
indexed: true,
|
|
95
|
-
internalType: "address",
|
|
96
|
-
name: "to",
|
|
97
|
-
type: "address",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
indexed: false,
|
|
101
|
-
internalType: "uint256",
|
|
102
|
-
name: "value",
|
|
103
|
-
type: "uint256",
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
name: "Transfer",
|
|
107
|
-
type: "event",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
inputs: [
|
|
111
|
-
{
|
|
112
|
-
internalType: "address",
|
|
113
|
-
name: "owner",
|
|
114
|
-
type: "address",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
internalType: "address",
|
|
118
|
-
name: "spender",
|
|
119
|
-
type: "address",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: "allowance",
|
|
123
|
-
outputs: [
|
|
124
|
-
{
|
|
125
|
-
internalType: "uint256",
|
|
126
|
-
name: "",
|
|
127
|
-
type: "uint256",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
stateMutability: "view",
|
|
131
|
-
type: "function",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [
|
|
135
|
-
{
|
|
136
|
-
internalType: "address",
|
|
137
|
-
name: "spender",
|
|
138
|
-
type: "address",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
internalType: "uint256",
|
|
142
|
-
name: "amount",
|
|
143
|
-
type: "uint256",
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
name: "approve",
|
|
147
|
-
outputs: [
|
|
148
|
-
{
|
|
149
|
-
internalType: "bool",
|
|
150
|
-
name: "",
|
|
151
|
-
type: "bool",
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
stateMutability: "nonpayable",
|
|
155
|
-
type: "function",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
inputs: [
|
|
159
|
-
{
|
|
160
|
-
internalType: "address",
|
|
161
|
-
name: "account",
|
|
162
|
-
type: "address",
|
|
163
|
-
},
|
|
164
|
-
],
|
|
165
|
-
name: "balanceOf",
|
|
166
|
-
outputs: [
|
|
167
|
-
{
|
|
168
|
-
internalType: "uint256",
|
|
169
|
-
name: "",
|
|
170
|
-
type: "uint256",
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
stateMutability: "view",
|
|
174
|
-
type: "function",
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
inputs: [],
|
|
178
|
-
name: "decimals",
|
|
179
|
-
outputs: [
|
|
180
|
-
{
|
|
181
|
-
internalType: "uint8",
|
|
182
|
-
name: "",
|
|
183
|
-
type: "uint8",
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
stateMutability: "view",
|
|
187
|
-
type: "function",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
inputs: [
|
|
191
|
-
{
|
|
192
|
-
internalType: "address",
|
|
193
|
-
name: "spender",
|
|
194
|
-
type: "address",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
internalType: "uint256",
|
|
198
|
-
name: "subtractedValue",
|
|
199
|
-
type: "uint256",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
name: "decreaseAllowance",
|
|
203
|
-
outputs: [
|
|
204
|
-
{
|
|
205
|
-
internalType: "bool",
|
|
206
|
-
name: "",
|
|
207
|
-
type: "bool",
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
stateMutability: "nonpayable",
|
|
211
|
-
type: "function",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
inputs: [
|
|
215
|
-
{
|
|
216
|
-
internalType: "address",
|
|
217
|
-
name: "spender",
|
|
218
|
-
type: "address",
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
internalType: "uint256",
|
|
222
|
-
name: "addedValue",
|
|
223
|
-
type: "uint256",
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
name: "increaseAllowance",
|
|
227
|
-
outputs: [
|
|
228
|
-
{
|
|
229
|
-
internalType: "bool",
|
|
230
|
-
name: "",
|
|
231
|
-
type: "bool",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
stateMutability: "nonpayable",
|
|
235
|
-
type: "function",
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
inputs: [
|
|
239
|
-
{
|
|
240
|
-
internalType: "address",
|
|
241
|
-
name: "to",
|
|
242
|
-
type: "address",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "amount",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
name: "mint",
|
|
251
|
-
outputs: [],
|
|
252
|
-
stateMutability: "nonpayable",
|
|
253
|
-
type: "function",
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
inputs: [],
|
|
257
|
-
name: "name",
|
|
258
|
-
outputs: [
|
|
259
|
-
{
|
|
260
|
-
internalType: "string",
|
|
261
|
-
name: "",
|
|
262
|
-
type: "string",
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
stateMutability: "view",
|
|
266
|
-
type: "function",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
inputs: [],
|
|
270
|
-
name: "owner",
|
|
271
|
-
outputs: [
|
|
272
|
-
{
|
|
273
|
-
internalType: "address",
|
|
274
|
-
name: "",
|
|
275
|
-
type: "address",
|
|
276
|
-
},
|
|
277
|
-
],
|
|
278
|
-
stateMutability: "view",
|
|
279
|
-
type: "function",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
inputs: [],
|
|
283
|
-
name: "renounceOwnership",
|
|
284
|
-
outputs: [],
|
|
285
|
-
stateMutability: "nonpayable",
|
|
286
|
-
type: "function",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
inputs: [],
|
|
290
|
-
name: "symbol",
|
|
291
|
-
outputs: [
|
|
292
|
-
{
|
|
293
|
-
internalType: "string",
|
|
294
|
-
name: "",
|
|
295
|
-
type: "string",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
stateMutability: "view",
|
|
299
|
-
type: "function",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
inputs: [],
|
|
303
|
-
name: "totalSupply",
|
|
304
|
-
outputs: [
|
|
305
|
-
{
|
|
306
|
-
internalType: "uint256",
|
|
307
|
-
name: "",
|
|
308
|
-
type: "uint256",
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
stateMutability: "view",
|
|
312
|
-
type: "function",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
inputs: [
|
|
316
|
-
{
|
|
317
|
-
internalType: "address",
|
|
318
|
-
name: "recipient",
|
|
319
|
-
type: "address",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
internalType: "uint256",
|
|
323
|
-
name: "amount",
|
|
324
|
-
type: "uint256",
|
|
325
|
-
},
|
|
326
|
-
],
|
|
327
|
-
name: "transfer",
|
|
328
|
-
outputs: [
|
|
329
|
-
{
|
|
330
|
-
internalType: "bool",
|
|
331
|
-
name: "",
|
|
332
|
-
type: "bool",
|
|
333
|
-
},
|
|
334
|
-
],
|
|
335
|
-
stateMutability: "nonpayable",
|
|
336
|
-
type: "function",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
inputs: [
|
|
340
|
-
{
|
|
341
|
-
internalType: "address",
|
|
342
|
-
name: "sender",
|
|
343
|
-
type: "address",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
internalType: "address",
|
|
347
|
-
name: "recipient",
|
|
348
|
-
type: "address",
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
internalType: "uint256",
|
|
352
|
-
name: "amount",
|
|
353
|
-
type: "uint256",
|
|
354
|
-
},
|
|
355
|
-
],
|
|
356
|
-
name: "transferFrom",
|
|
357
|
-
outputs: [
|
|
358
|
-
{
|
|
359
|
-
internalType: "bool",
|
|
360
|
-
name: "",
|
|
361
|
-
type: "bool",
|
|
362
|
-
},
|
|
363
|
-
],
|
|
364
|
-
stateMutability: "nonpayable",
|
|
365
|
-
type: "function",
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
inputs: [
|
|
369
|
-
{
|
|
370
|
-
internalType: "address",
|
|
371
|
-
name: "newOwner",
|
|
372
|
-
type: "address",
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
name: "transferOwnership",
|
|
376
|
-
outputs: [],
|
|
377
|
-
stateMutability: "nonpayable",
|
|
378
|
-
type: "function",
|
|
379
|
-
},
|
|
380
|
-
];
|
|
381
|
-
var _bytecode = "0x60806040523480156200001157600080fd5b5060405162001e4938038062001e49833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b5060405250505081818160039080519060200190620001cf92919062000550565b508060049080519060200190620001e892919062000550565b506012600560006101000a81548160ff021916908360ff1602179055505050600062000219620002dc60201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620002d43369d3c21bcecceda1000000620002e460201b60201c565b505062000606565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6200039c60008383620004c260201b60201c565b620003b881600254620004c760201b62000f081790919060201c565b60028190555062000416816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620004c760201b62000f081790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b60008082840190508381101562000546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620005885760008555620005d4565b82601f10620005a357805160ff1916838001178555620005d4565b82800160010185558215620005d4579182015b82811115620005d3578251825591602001919060010190620005b6565b5b509050620005e39190620005e7565b5090565b5b8082111562000602576000816000905550600101620005e8565b5090565b61183380620006166000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d71461046f578063a9059cbb146104d3578063dd62ed3e14610537578063f2fde38b146105af576100f5565b806370a0823114610356578063715018a6146103ae5780638da5cb5b146103b857806395d89b41146103ec576100f5565b806323b872dd116100d357806323b872dd146101ff578063313ce5671461028357806339509351146102a457806340c10f1914610308576100f5565b806306fdde03146100fa578063095ea7b31461017d57806318160ddd146101e1575b600080fd5b6101026105f3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610142578082015181840152602081019050610127565b50505050905090810190601f16801561016f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c96004803603604081101561019357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610695565b60405180821515815260200191505060405180910390f35b6101e96106b3565b6040518082815260200191505060405180910390f35b61026b6004803603606081101561021557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106bd565b60405180821515815260200191505060405180910390f35b61028b610796565b604051808260ff16815260200191505060405180910390f35b6102f0600480360360408110156102ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107ad565b60405180821515815260200191505060405180910390f35b6103546004803603604081101561031e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610860565b005b6103986004803603602081101561036c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061091d565b6040518082815260200191505060405180910390f35b6103b6610965565b005b6103c0610ad5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103f4610aff565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610434578082015181840152602081019050610419565b50505050905090810190601f1680156104615780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104bb6004803603604081101561048557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ba1565b60405180821515815260200191505060405180910390f35b61051f600480360360408110156104e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c6e565b60405180821515815260200191505060405180910390f35b6105996004803603604081101561054d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c8c565b6040518082815260200191505060405180910390f35b6105f1600480360360208110156105c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d13565b005b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561068b5780601f106106605761010080835404028352916020019161068b565b820191906000526020600020905b81548152906001019060200180831161066e57829003601f168201915b5050505050905090565b60006106a96106a2610f90565b8484610f98565b6001905092915050565b6000600254905090565b60006106ca84848461118f565b61078b846106d6610f90565b6107868560405180606001604052806028815260200161176860289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061073c610f90565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114509092919063ffffffff16565b610f98565b600190509392505050565b6000600560009054906101000a900460ff16905090565b60006108566107ba610f90565b8461085185600160006107cb610f90565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f0890919063ffffffff16565b610f98565b6001905092915050565b610868610f90565b73ffffffffffffffffffffffffffffffffffffffff16610886610ad5565b73ffffffffffffffffffffffffffffffffffffffff161461090f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610919828261150a565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61096d610f90565b73ffffffffffffffffffffffffffffffffffffffff1661098b610ad5565b73ffffffffffffffffffffffffffffffffffffffff1614610a14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b975780601f10610b6c57610100808354040283529160200191610b97565b820191906000526020600020905b815481529060010190602001808311610b7a57829003601f168201915b5050505050905090565b6000610c64610bae610f90565b84610c5f856040518060600160405280602581526020016117d96025913960016000610bd8610f90565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114509092919063ffffffff16565b610f98565b6001905092915050565b6000610c82610c7b610f90565b848461118f565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d1b610f90565b73ffffffffffffffffffffffffffffffffffffffff16610d39610ad5565b73ffffffffffffffffffffffffffffffffffffffff1614610dc2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806116fa6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015610f86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561101e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806117b56024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806117206022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611215576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806117906025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561129b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806116d76023913960400191505060405180910390fd5b6112a68383836116d1565b61131181604051806060016040528060268152602001611742602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114509092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113a4816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f0890919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114c25780820151818401526020810190506114a7565b50505050905090810190601f1680156114ef5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6115b9600083836116d1565b6115ce81600254610f0890919063ffffffff16565b600281905550611625816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f0890919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122018833749923a000e42e020a5232d835dda75c502a67122b5bdb41d1ba3333ad164736f6c63430007060033";
|
|
382
|
-
var TokenMock__factory = /** @class */ (function (_super) {
|
|
383
|
-
__extends(TokenMock__factory, _super);
|
|
384
|
-
function TokenMock__factory(signer) {
|
|
385
|
-
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
386
|
-
}
|
|
387
|
-
TokenMock__factory.prototype.deploy = function (name_, symbol_, overrides) {
|
|
388
|
-
return _super.prototype.deploy.call(this, name_, symbol_, overrides || {});
|
|
389
|
-
};
|
|
390
|
-
TokenMock__factory.prototype.getDeployTransaction = function (name_, symbol_, overrides) {
|
|
391
|
-
return _super.prototype.getDeployTransaction.call(this, name_, symbol_, overrides || {});
|
|
392
|
-
};
|
|
393
|
-
TokenMock__factory.prototype.attach = function (address) {
|
|
394
|
-
return _super.prototype.attach.call(this, address);
|
|
395
|
-
};
|
|
396
|
-
TokenMock__factory.prototype.connect = function (signer) {
|
|
397
|
-
return _super.prototype.connect.call(this, signer);
|
|
398
|
-
};
|
|
399
|
-
TokenMock__factory.createInterface = function () {
|
|
400
|
-
return new ethers_1.utils.Interface(_abi);
|
|
401
|
-
};
|
|
402
|
-
TokenMock__factory.connect = function (address, signerOrProvider) {
|
|
403
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
404
|
-
};
|
|
405
|
-
TokenMock__factory.bytecode = _bytecode;
|
|
406
|
-
TokenMock__factory.abi = _abi;
|
|
407
|
-
return TokenMock__factory;
|
|
408
|
-
}(ethers_1.ContractFactory));
|
|
409
|
-
exports.TokenMock__factory = TokenMock__factory;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
-
import type { TreasuryMock, TreasuryMockInterface } from "../TreasuryMock";
|
|
4
|
-
export declare class TreasuryMock__factory extends ContractFactory {
|
|
5
|
-
constructor(signer?: Signer);
|
|
6
|
-
deploy(overrides?: Overrides & {
|
|
7
|
-
from?: string | Promise<string>;
|
|
8
|
-
}): Promise<TreasuryMock>;
|
|
9
|
-
getDeployTransaction(overrides?: Overrides & {
|
|
10
|
-
from?: string | Promise<string>;
|
|
11
|
-
}): TransactionRequest;
|
|
12
|
-
attach(address: string): TreasuryMock;
|
|
13
|
-
connect(signer: Signer): TreasuryMock__factory;
|
|
14
|
-
static readonly bytecode = "0x6080604052348015600f57600080fd5b50607c8061001e6000396000f3fe6080604052366041577f8ffa785350fa6b5fee858c4ca63eff2704b9538ff446bd673c1f6c11fc7aca16346040518082815260200191505060405180910390a1005b600080fdfea264697066735822122048bb3be1b2a3e664038a0772cf9bc88f1cb61ee9e4a3cd6a4f729d9602de30cc64736f6c63430007060033";
|
|
15
|
-
static readonly abi: ({
|
|
16
|
-
anonymous: boolean;
|
|
17
|
-
inputs: {
|
|
18
|
-
indexed: boolean;
|
|
19
|
-
internalType: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type: string;
|
|
22
|
-
}[];
|
|
23
|
-
name: string;
|
|
24
|
-
type: string;
|
|
25
|
-
stateMutability?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
stateMutability: string;
|
|
28
|
-
type: string;
|
|
29
|
-
anonymous?: undefined;
|
|
30
|
-
inputs?: undefined;
|
|
31
|
-
name?: undefined;
|
|
32
|
-
})[];
|
|
33
|
-
static createInterface(): TreasuryMockInterface;
|
|
34
|
-
static connect(address: string, signerOrProvider: Signer | Provider): TreasuryMock;
|
|
35
|
-
}
|
|
@@ -1,70 +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.TreasuryMock__factory = void 0;
|
|
22
|
-
var ethers_1 = require("ethers");
|
|
23
|
-
var _abi = [
|
|
24
|
-
{
|
|
25
|
-
anonymous: false,
|
|
26
|
-
inputs: [
|
|
27
|
-
{
|
|
28
|
-
indexed: false,
|
|
29
|
-
internalType: "uint256",
|
|
30
|
-
name: "amount",
|
|
31
|
-
type: "uint256",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
name: "NewDonation",
|
|
35
|
-
type: "event",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
stateMutability: "payable",
|
|
39
|
-
type: "receive",
|
|
40
|
-
},
|
|
41
|
-
];
|
|
42
|
-
var _bytecode = "0x6080604052348015600f57600080fd5b50607c8061001e6000396000f3fe6080604052366041577f8ffa785350fa6b5fee858c4ca63eff2704b9538ff446bd673c1f6c11fc7aca16346040518082815260200191505060405180910390a1005b600080fdfea264697066735822122048bb3be1b2a3e664038a0772cf9bc88f1cb61ee9e4a3cd6a4f729d9602de30cc64736f6c63430007060033";
|
|
43
|
-
var TreasuryMock__factory = /** @class */ (function (_super) {
|
|
44
|
-
__extends(TreasuryMock__factory, _super);
|
|
45
|
-
function TreasuryMock__factory(signer) {
|
|
46
|
-
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
47
|
-
}
|
|
48
|
-
TreasuryMock__factory.prototype.deploy = function (overrides) {
|
|
49
|
-
return _super.prototype.deploy.call(this, overrides || {});
|
|
50
|
-
};
|
|
51
|
-
TreasuryMock__factory.prototype.getDeployTransaction = function (overrides) {
|
|
52
|
-
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
53
|
-
};
|
|
54
|
-
TreasuryMock__factory.prototype.attach = function (address) {
|
|
55
|
-
return _super.prototype.attach.call(this, address);
|
|
56
|
-
};
|
|
57
|
-
TreasuryMock__factory.prototype.connect = function (signer) {
|
|
58
|
-
return _super.prototype.connect.call(this, signer);
|
|
59
|
-
};
|
|
60
|
-
TreasuryMock__factory.createInterface = function () {
|
|
61
|
-
return new ethers_1.utils.Interface(_abi);
|
|
62
|
-
};
|
|
63
|
-
TreasuryMock__factory.connect = function (address, signerOrProvider) {
|
|
64
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
65
|
-
};
|
|
66
|
-
TreasuryMock__factory.bytecode = _bytecode;
|
|
67
|
-
TreasuryMock__factory.abi = _abi;
|
|
68
|
-
return TreasuryMock__factory;
|
|
69
|
-
}(ethers_1.ContractFactory));
|
|
70
|
-
exports.TreasuryMock__factory = TreasuryMock__factory;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
-
import type { UniswapRouterMock, UniswapRouterMockInterface } from "../UniswapRouterMock";
|
|
4
|
-
export declare class UniswapRouterMock__factory extends ContractFactory {
|
|
5
|
-
constructor(signer?: Signer);
|
|
6
|
-
deploy(overrides?: Overrides & {
|
|
7
|
-
from?: string | Promise<string>;
|
|
8
|
-
}): Promise<UniswapRouterMock>;
|
|
9
|
-
getDeployTransaction(overrides?: Overrides & {
|
|
10
|
-
from?: string | Promise<string>;
|
|
11
|
-
}): TransactionRequest;
|
|
12
|
-
attach(address: string): UniswapRouterMock;
|
|
13
|
-
connect(signer: Signer): UniswapRouterMock__factory;
|
|
14
|
-
static readonly bytecode = "0x608060405234801561001057600080fd5b50612af0806100206000396000f3fe6080604052600436106101815760003560e01c80638803dbee116100d1578063baa2abde1161008a578063ded9382a11610064578063ded9382a146111bd578063e8e337001461129f578063f305d71914611385578063fb3bdb411461143357610181565b8063baa2abde14610fc3578063c45a015514611097578063d06ca61f146110d857610181565b80638803dbee14610c1257806397edd4fa14610d2b578063ad5c464814610dc5578063ad615dec14610e06578063af2979eb14610e69578063b6f9de9514610f1657610181565b80634a25d94a1161013e5780635c11d795116101185780635c11d79514610925578063791ac947146109e95780637ff36ab514610aad57806385f8c25914610baf57610181565b80634a25d94a146106b65780635911fb9a146107cf5780635b0d59841461084a57610181565b806302751cec14610186578063054d50d41461023a57806318cbafe51461029d5780631f00ca74146103b65780632195995c1461049b57806338ed17391461059d575b600080fd5b34801561019257600080fd5b5061021d600480360360c08110156101a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611535565b604051808381526020018281526020019250505060405180910390f35b34801561024657600080fd5b506102876004803603606081101561025d57600080fd5b8101908080359060200190929190803590602001909291908035906020019092919050505061154a565b6040518082815260200191505060405180910390f35b3480156102a957600080fd5b5061035f600480360360a08110156102c057600080fd5b810190808035906020019092919080359060200190929190803590602001906401000000008111156102f157600080fd5b82018360208201111561030357600080fd5b8035906020019184602083028401116401000000008311171561032557600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611553565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103a2578082015181840152602081019050610387565b505050509050019250505060405180910390f35b3480156103c257600080fd5b50610444600480360360408110156103d957600080fd5b81019080803590602001909291908035906020019064010000000081111561040057600080fd5b82018360208201111561041257600080fd5b8035906020019184602083028401116401000000008311171561043457600080fd5b90919293919293905050506115af565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561048757808201518184015260208101905061046c565b505050509050019250505060405180910390f35b3480156104a757600080fd5b5061058060048036036101608110156104bf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050611608565b604051808381526020018281526020019250505060405180910390f35b3480156105a957600080fd5b5061065f600480360360a08110156105c057600080fd5b810190808035906020019092919080359060200190929190803590602001906401000000008111156105f157600080fd5b82018360208201111561060357600080fd5b8035906020019184602083028401116401000000008311171561062557600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611622565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106a2578082015181840152602081019050610687565b505050509050019250505060405180910390f35b3480156106c257600080fd5b50610778600480360360a08110156106d957600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561070a57600080fd5b82018360208201111561071c57600080fd5b8035906020019184602083028401116401000000008311171561073e57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611856565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107bb5780820151818401526020810190506107a0565b505050509050019250505060405180910390f35b3480156107db57600080fd5b50610848600480360360608110156107f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118b2565b005b34801561085657600080fd5b5061090f600480360361014081101561086e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff16906020019092919080359060200190929190803590602001909291905050506119d0565b6040518082815260200191505060405180910390f35b34801561093157600080fd5b506109e7600480360360a081101561094857600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561097957600080fd5b82018360208201111561098b57600080fd5b803590602001918460208302840111640100000000831117156109ad57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119e0565b005b3480156109f557600080fd5b50610aab600480360360a0811015610a0c57600080fd5b81019080803590602001909291908035906020019092919080359060200190640100000000811115610a3d57600080fd5b820183602082011115610a4f57600080fd5b80359060200191846020830284011164010000000083111715610a7157600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119e8565b005b610b5860048036036080811015610ac357600080fd5b810190808035906020019092919080359060200190640100000000811115610aea57600080fd5b820183602082011115610afc57600080fd5b80359060200191846020830284011164010000000083111715610b1e57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119f0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610b9b578082015181840152602081019050610b80565b505050509050019250505060405180910390f35b348015610bbb57600080fd5b50610bfc60048036036060811015610bd257600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050611a4b565b6040518082815260200191505060405180910390f35b348015610c1e57600080fd5b50610cd4600480360360a0811015610c3557600080fd5b81019080803590602001909291908035906020019092919080359060200190640100000000811115610c6657600080fd5b820183602082011115610c7857600080fd5b80359060200191846020830284011164010000000083111715610c9a57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a54565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610d17578082015181840152602081019050610cfc565b505050509050019250505060405180910390f35b348015610d3757600080fd5b50610daf60048036036020811015610d4e57600080fd5b8101908080359060200190640100000000811115610d6b57600080fd5b820183602082011115610d7d57600080fd5b80359060200191846020830284011164010000000083111715610d9f57600080fd5b9091929391929390505050611d25565b6040518082815260200191505060405180910390f35b348015610dd157600080fd5b50610dda611e08565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610e1257600080fd5b50610e5360048036036060811015610e2957600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050611e0d565b6040518082815260200191505060405180910390f35b348015610e7557600080fd5b50610f00600480360360c0811015610e8c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e16565b6040518082815260200191505060405180910390f35b610fc160048036036080811015610f2c57600080fd5b810190808035906020019092919080359060200190640100000000811115610f5357600080fd5b820183602082011115610f6557600080fd5b80359060200191846020830284011164010000000083111715610f8757600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e22565b005b348015610fcf57600080fd5b5061107a600480360360e0811015610fe657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e29565b604051808381526020018281526020019250505060405180910390f35b3480156110a357600080fd5b506110ac611e3f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156110e457600080fd5b50611166600480360360408110156110fb57600080fd5b81019080803590602001909291908035906020019064010000000081111561112257600080fd5b82018360208201111561113457600080fd5b8035906020019184602083028401116401000000008311171561115657600080fd5b9091929391929390505050611e44565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156111a957808201518184015260208101905061118e565b505050509050019250505060405180910390f35b3480156111c957600080fd5b5061128260048036036101408110156111e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050611f91565b604051808381526020018281526020019250505060405180910390f35b3480156112ab57600080fd5b5061136160048036036101008110156112c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611faa565b60405180848152602001838152602001828152602001935050505060405180910390f35b61140f600480360360c081101561139b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fc7565b60405180848152602001838152602001828152602001935050505060405180910390f35b6114de6004803603608081101561144957600080fd5b81019080803590602001909291908035906020019064010000000081111561147057600080fd5b82018360208201111561148257600080fd5b803590602001918460208302840111640100000000831117156114a457600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fe2565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015611521578082015181840152602081019050611506565b505050509050019250505060405180910390f35b60008060008091509150965096945050505050565b60009392505050565b60606000600167ffffffffffffffff8111801561156f57600080fd5b5060405190808252806020026020018201604052801561159e5781602001602082028036833780820191505090505b509050809150509695505050505050565b60606000600167ffffffffffffffff811180156115cb57600080fd5b506040519080825280602002602001820160405280156115fa5781602001602082028036833780820191505090505b509050809150509392505050565b600080600080915091509b509b9950505050505050505050565b6060814281101561169b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f556e69737761705632526f757465723a2045585049524544000000000000000081525060200191505060405180910390fd5b60006116a8898888611e44565b60018888905003815181106116b957fe5b602002602001015190508781101561171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612a66602b913960400191505060405180910390fd5b61177233308b8a8a600081811061172f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661203d909392919063ffffffff16565b6117c685828989600181811061178457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120fe9092919063ffffffff16565b6000600267ffffffffffffffff811180156117e057600080fd5b5060405190808252806020026020018201604052801561180f5781602001602082028036833780820191505090505b509050898160008151811061182057fe5b602002602001018181525050818160018151811061183a57fe5b6020026020010181815250508093505050509695505050505050565b60606000600167ffffffffffffffff8111801561187257600080fd5b506040519080825280602002602001820160405280156118a15781602001602082028036833780820191505090505b509050809150509695505050505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061194c8161193e6121a0565b6121b490919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b60009a9950505050505050505050565b505050505050565b505050505050565b60606000600167ffffffffffffffff81118015611a0c57600080fd5b50604051908082528060200260200182016040528015611a3b5781602001602082028036833780820191505090505b5090508091505095945050505050565b60009392505050565b60608142811015611acd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f556e69737761705632526f757465723a2045585049524544000000000000000081525060200191505060405180910390fd5b6000611ad98787611d25565b90506000811415611b52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f556e69737761704d6f636b3a2052617465206973206e6f74207365747570000081525060200191505060405180910390fd5b6000611b8f6103e5611b8184611b736103e88f6123e190919063ffffffff16565b61246790919063ffffffff16565b6125e090919063ffffffff16565b905088811115611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612a3f6027913960400191505060405180910390fd5b611c403330838b8b6000818110611bfd57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661203d909392919063ffffffff16565b611c94868b8a8a6001818110611c5257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120fe9092919063ffffffff16565b6000600267ffffffffffffffff81118015611cae57600080fd5b50604051908082528060200260200182016040528015611cdd5781602001602082028036833780820191505090505b5090508181600081518110611cee57fe5b6020026020010181815250508a81600181518110611d0857fe5b602002602001018181525050809450505050509695505050505050565b60008083836000818110611d3557fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600084846001818110611d6357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549250505092915050565b600090565b60009392505050565b60009695505050505050565b5050505050565b6000806000809150915097509795505050505050565b600090565b60606000611e528484611d25565b90506000811415611ecb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f556e69737761704d6f636b3a2052617465206973206e6f74207365747570000081525060200191505060405180910390fd5b6000600267ffffffffffffffff81118015611ee557600080fd5b50604051908082528060200260200182016040528015611f145781602001602082028036833780820191505090505b5090508581600081518110611f2557fe5b602002602001018181525050611f6c6103e8611f5e6103e5611f50868b61246790919063ffffffff16565b6123e190919063ffffffff16565b6125e090919063ffffffff16565b81600181518110611f7957fe5b60200260200101818152505080925050509392505050565b600080600080915091509a509a98505050505050505050565b600080600080600080925092509250985098509895505050505050565b60008060008060008092509250925096509650969350505050565b60606000600167ffffffffffffffff81118015611ffe57600080fd5b5060405190808252806020026020018201604052801561202d5781602001602082028036833780820191505090505b5090508091505095945050505050565b6120f8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612669565b50505050565b61219b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612669565b505050565b60006b033b2e3c9fd0803ce8000000905090565b6000808214156040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525090612296576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561225b578082015181840152602081019050612240565b50505050905090810190601f1680156122885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600283816122a357fe5b0490506b033b2e3c9fd0803ce8000000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816122dd57fe5b048411156040518060400160405280600281526020017f4d31000000000000000000000000000000000000000000000000000000000000815250906123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612382578082015181840152602081019050612367565b50505050905090810190601f1680156123af5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816b033b2e3c9fd0803ce8000000860201816123d757fe5b0491505092915050565b6000808314156123f45760009050612461565b600082840290508284828161240557fe5b041461245c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612a1e6021913960400191505060405180910390fd5b809150505b92915050565b6000808314806124775750600082145b1561248557600090506125da565b8160026b033b2e3c9fd0803ce80000008161249c57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816124c657fe5b048311156040518060400160405280600281526020017f4d31000000000000000000000000000000000000000000000000000000000000815250906125a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561256b578082015181840152602081019050612550565b50505050905090810190601f1680156125985780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce8000000816125ca57fe5b0483850201816125d657fe5b0490505b92915050565b6000808211612657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161266057fe5b04905092915050565b60006126cb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127589092919063ffffffff16565b9050600081511115612753578080602001905160208110156126ec57600080fd5b8101908080519060200190929190505050612752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612a91602a913960400191505060405180910390fd5b5b505050565b60606127678484600085612770565b90509392505050565b6060824710156127cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129f86026913960400191505060405180910390fd5b6127d485612918565b612846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106128955780518252602082019150602081019050602083039250612872565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128f7576040519150601f19603f3d011682016040523d82523d6000602084013e6128fc565b606091505b509150915061290c82828661292b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561293b578290506129f0565b60008351111561294e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b557808201518184015260208101905061299a565b50505050905090810190601f1680156129e25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77556e69737761705632526f757465723a204558434553534956455f494e5055545f414d4f554e54556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b5fa1e40c48e21be5ff29bdb7ad3fae05e6e65c12d5dbe199ce195dc7dc3bf6064736f6c63430007060033";
|
|
15
|
-
static readonly abi: {
|
|
16
|
-
inputs: {
|
|
17
|
-
internalType: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}[];
|
|
21
|
-
name: string;
|
|
22
|
-
outputs: {
|
|
23
|
-
internalType: string;
|
|
24
|
-
name: string;
|
|
25
|
-
type: string;
|
|
26
|
-
}[];
|
|
27
|
-
stateMutability: string;
|
|
28
|
-
type: string;
|
|
29
|
-
}[];
|
|
30
|
-
static createInterface(): UniswapRouterMockInterface;
|
|
31
|
-
static connect(address: string, signerOrProvider: Signer | Provider): UniswapRouterMock;
|
|
32
|
-
}
|