@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,192 +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.AccountMining__factory = void 0;
|
|
22
|
-
var ethers_1 = require("ethers");
|
|
23
|
-
var _abi = [
|
|
24
|
-
{
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
internalType: "address",
|
|
28
|
-
name: "token_",
|
|
29
|
-
type: "address",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "bytes32",
|
|
33
|
-
name: "merkleRoot_",
|
|
34
|
-
type: "bytes32",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "uint256",
|
|
38
|
-
name: "amount_",
|
|
39
|
-
type: "uint256",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "contract AddressProvider",
|
|
43
|
-
name: "addressProvider",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
stateMutability: "nonpayable",
|
|
48
|
-
type: "constructor",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
anonymous: false,
|
|
52
|
-
inputs: [
|
|
53
|
-
{
|
|
54
|
-
indexed: false,
|
|
55
|
-
internalType: "uint256",
|
|
56
|
-
name: "index",
|
|
57
|
-
type: "uint256",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
indexed: false,
|
|
61
|
-
internalType: "address",
|
|
62
|
-
name: "account",
|
|
63
|
-
type: "address",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
name: "Claimed",
|
|
67
|
-
type: "event",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
inputs: [],
|
|
71
|
-
name: "accountFactory",
|
|
72
|
-
outputs: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "contract AccountFactory",
|
|
75
|
-
name: "",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
stateMutability: "view",
|
|
80
|
-
type: "function",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
inputs: [],
|
|
84
|
-
name: "amount",
|
|
85
|
-
outputs: [
|
|
86
|
-
{
|
|
87
|
-
internalType: "uint256",
|
|
88
|
-
name: "",
|
|
89
|
-
type: "uint256",
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
stateMutability: "view",
|
|
93
|
-
type: "function",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
inputs: [
|
|
97
|
-
{
|
|
98
|
-
internalType: "uint256",
|
|
99
|
-
name: "index",
|
|
100
|
-
type: "uint256",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
internalType: "uint256",
|
|
104
|
-
name: "salt",
|
|
105
|
-
type: "uint256",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
internalType: "bytes32[]",
|
|
109
|
-
name: "merkleProof",
|
|
110
|
-
type: "bytes32[]",
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
name: "claim",
|
|
114
|
-
outputs: [],
|
|
115
|
-
stateMutability: "nonpayable",
|
|
116
|
-
type: "function",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
inputs: [
|
|
120
|
-
{
|
|
121
|
-
internalType: "uint256",
|
|
122
|
-
name: "index",
|
|
123
|
-
type: "uint256",
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
name: "isClaimed",
|
|
127
|
-
outputs: [
|
|
128
|
-
{
|
|
129
|
-
internalType: "bool",
|
|
130
|
-
name: "",
|
|
131
|
-
type: "bool",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
stateMutability: "view",
|
|
135
|
-
type: "function",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
inputs: [],
|
|
139
|
-
name: "merkleRoot",
|
|
140
|
-
outputs: [
|
|
141
|
-
{
|
|
142
|
-
internalType: "bytes32",
|
|
143
|
-
name: "",
|
|
144
|
-
type: "bytes32",
|
|
145
|
-
},
|
|
146
|
-
],
|
|
147
|
-
stateMutability: "view",
|
|
148
|
-
type: "function",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
inputs: [],
|
|
152
|
-
name: "token",
|
|
153
|
-
outputs: [
|
|
154
|
-
{
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
stateMutability: "view",
|
|
161
|
-
type: "function",
|
|
162
|
-
},
|
|
163
|
-
];
|
|
164
|
-
var _bytecode = "0x61010060405234801561001157600080fd5b50604051610b26380380610b268339818101604052608081101561003457600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156100a457506000602060ff16115b80156100dd5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6040518060400160405280600281526020017f4950000000000000000000000000000000000000000000000000000000000000815250906101b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561017e578082015181840152602081019050610163565b50505050905090810190601f1680156101ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508260c081815250508160a081815250508073ffffffffffffffffffffffffffffffffffffffff16639068a8686040518163ffffffff1660e01b815260040160206040518083038186803b15801561024757600080fd5b505afa15801561025b573d6000803e3d6000fd5b505050506040513d602081101561027157600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050505060805160601c60a05160c05160e05160601c61081b61030b60003980610202528061056d5250806101de52806103a6525080610277528061046952508061042c528061064a525061081b6000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80632eb4a7ab14610067578063687cd9c1146100855780639e34070f146100b9578063aa8c217c146100fd578063ae0b51df1461011b578063fc0c546a146101a8575b600080fd5b61006f6101dc565b6040518082815260200191505060405180910390f35b61008d610200565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100e5600480360360208110156100cf57600080fd5b8101908080359060200190929190505050610224565b60405180821515815260200191505060405180910390f35b610105610275565b6040518082815260200191505060405180910390f35b6101a66004803603606081101561013157600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184602083028401116401000000008311171561019657600080fd5b9091929391929390505050610299565b005b6101b0610648565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080610100838161023257fe5b0490506000610100848161024257fe5b06905060008060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6102a284610224565b156102f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180610776602c913960400191505060405180910390fd5b60003390506000858286604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1660601b815260140182815260200193505050506040516020818303038152906040528051906020012090506000848490501180156103cc57506103cb848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f00000000000000000000000000000000000000000000000000000000000000008361066c565b5b610421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806107a26021913960400191505060405180910390fd5b61042a86610721565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb837f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104db57600080fd5b505af11580156104ef573d6000803e3d6000fd5b505050506040513d602081101561050557600080fd5b810190808051906020019092919050505061056b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806107c36023913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b014352f6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156105d357600080fd5b505af11580156105e7573d6000803e3d6000fd5b505050507f6aa3eac93d079e5e100b1029be716caa33586c96aa4baac390669fb5c2a212128683604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008082905060005b855181101561071357600086828151811061068c57fe5b602002602001015190508083116106d35782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610705565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b508080600101915050610675565b508381149150509392505050565b6000610100828161072e57fe5b0490506000610100838161073e57fe5b069050806001901b60008084815260200190815260200160002054176000808481526020019081526020016000208190555050505056fe4d65726b6c654469737472696275746f723a204163636f756e7420697320616c7265616479206d696e65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea264697066735822122011f06818f23e4cc80f7fa06e7711c5bc94a067f97c2136017a1ca4a8ae46d17864736f6c63430007060033";
|
|
165
|
-
var AccountMining__factory = /** @class */ (function (_super) {
|
|
166
|
-
__extends(AccountMining__factory, _super);
|
|
167
|
-
function AccountMining__factory(signer) {
|
|
168
|
-
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
169
|
-
}
|
|
170
|
-
AccountMining__factory.prototype.deploy = function (token_, merkleRoot_, amount_, addressProvider, overrides) {
|
|
171
|
-
return _super.prototype.deploy.call(this, token_, merkleRoot_, amount_, addressProvider, overrides || {});
|
|
172
|
-
};
|
|
173
|
-
AccountMining__factory.prototype.getDeployTransaction = function (token_, merkleRoot_, amount_, addressProvider, overrides) {
|
|
174
|
-
return _super.prototype.getDeployTransaction.call(this, token_, merkleRoot_, amount_, addressProvider, overrides || {});
|
|
175
|
-
};
|
|
176
|
-
AccountMining__factory.prototype.attach = function (address) {
|
|
177
|
-
return _super.prototype.attach.call(this, address);
|
|
178
|
-
};
|
|
179
|
-
AccountMining__factory.prototype.connect = function (signer) {
|
|
180
|
-
return _super.prototype.connect.call(this, signer);
|
|
181
|
-
};
|
|
182
|
-
AccountMining__factory.createInterface = function () {
|
|
183
|
-
return new ethers_1.utils.Interface(_abi);
|
|
184
|
-
};
|
|
185
|
-
AccountMining__factory.connect = function (address, signerOrProvider) {
|
|
186
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
187
|
-
};
|
|
188
|
-
AccountMining__factory.bytecode = _bytecode;
|
|
189
|
-
AccountMining__factory.abi = _abi;
|
|
190
|
-
return AccountMining__factory;
|
|
191
|
-
}(ethers_1.ContractFactory));
|
|
192
|
-
exports.AccountMining__factory = AccountMining__factory;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
-
import type { AddressProvider, AddressProviderInterface } from "../AddressProvider";
|
|
4
|
-
export declare class AddressProvider__factory extends ContractFactory {
|
|
5
|
-
constructor(signer?: Signer);
|
|
6
|
-
deploy(overrides?: Overrides & {
|
|
7
|
-
from?: string | Promise<string>;
|
|
8
|
-
}): Promise<AddressProvider>;
|
|
9
|
-
getDeployTransaction(overrides?: Overrides & {
|
|
10
|
-
from?: string | Promise<string>;
|
|
11
|
-
}): TransactionRequest;
|
|
12
|
-
attach(address: string): AddressProvider;
|
|
13
|
-
connect(signer: Signer): AddressProvider__factory;
|
|
14
|
-
static readonly bytecode = "0x608060405234801561001057600080fd5b50600061002161012860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3503073ffffffffffffffffffffffffffffffffffffffff167f414444524553535f50524f5649444552000000000000000000000000000000007fb37614c7d254ea8d16eb81fa11dddaeb266aa8ba4917980859c7740aff30c69160405160405180910390a3610130565b600033905090565b611ad88061013f6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806376aad60511610125578063ae5a98ba116100ad578063c513c9bb1161007c578063c513c9bb146107dc578063ce3c4ae414610810578063f2fde38b14610854578063f9366f4714610898578063fca513a8146108b657610211565b8063ae5a98ba14610702578063affd924314610720578063bcaead9814610754578063c5120b391461079857610211565b806386e09c08116100f457806386e09c08146105f45780638da5cb5b146106385780639068a8681461066c5780639e9df2b9146106a0578063addc1a76146106be57610211565b806376aad6051461051a57806377532ed91461055e5780637af53532146105925780637b6757ff146105b057610211565b806326c74fc3116101a8578063530e784f11610177578063530e784f1461043857806354fd4d501461047c578063699f200f1461049a578063715018a6146104f257806372788be7146104fc57610211565b806326c74fc31461037e57806337d277d4146103b257806344b88563146103d05780634c252f911461040457610211565b80630e3b95dc116101e45780630e3b95dc146102ba578063124a6462146102d85780631ed65110146102f657806321da58371461033a57610211565b806305197d1014610216578063060678c21461023457806308737695146102685780630a19399a1461029c575b600080fd5b61021e6108ea565b6040518082815260200191505060405180910390f35b61023c61090e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61027061093e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102a461096e565b6040518082815260200191505060405180910390f35b6102c2610992565b6040518082815260200191505060405180910390f35b6102e06109b6565b6040518082815260200191505060405180910390f35b6103386004803603602081101561030c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109da565b005b61037c6004803603602081101561035057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ab6565b005b610386610b92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ba610bc2565b6040518082815260200191505060405180910390f35b6103d8610be6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61040c610c16565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61047a6004803603602081101561044e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c46565b005b610484610d22565b6040518082815260200191505060405180910390f35b6104c6600480360360208110156104b057600080fd5b8101908080359060200190929190505050610d27565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104fa610d5a565b005b610504610ec7565b6040518082815260200191505060405180910390f35b61055c6004803603602081101561053057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eeb565b005b610566610fc7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059a610ff7565b6040518082815260200191505060405180910390f35b6105f2600480360360208110156105c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061101b565b005b6106366004803603602081101561060a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f7565b005b6106406111d3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106746111fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106a861122c565b6040518082815260200191505060405180910390f35b610700600480360360208110156106d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611250565b005b61070a61132c565b6040518082815260200191505060405180910390f35b610728611350565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107966004803603602081101561076a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611380565b005b6107da600480360360208110156107ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061145c565b005b6107e4611538565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108526004803603602081101561082657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611568565b005b6108966004803603602081101561086a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611644565b005b6108a0611836565b6040518082815260200191505060405180910390f35b6108be61185a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f4143434f554e545f464143544f5259000000000000000000000000000000000081565b60006109397f444154415f434f4d50524553534f52000000000000000000000000000000000061188a565b905090565b60006109697f41434c000000000000000000000000000000000000000000000000000000000061188a565b905090565b7f50524943455f4f5241434c45000000000000000000000000000000000000000081565b7f4c45564552414745445f414354494f4e5300000000000000000000000000000081565b7f474541525f544f4b454e0000000000000000000000000000000000000000000081565b6109e26119da565b73ffffffffffffffffffffffffffffffffffffffff16610a006111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610a89576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610ab37f54524541535552595f434f4e5452414354000000000000000000000000000000826119e2565b50565b610abe6119da565b73ffffffffffffffffffffffffffffffffffffffff16610adc6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610b65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610b8f7f574554485f474154455741590000000000000000000000000000000000000000826119e2565b50565b6000610bbd7f54524541535552595f434f4e545241435400000000000000000000000000000061188a565b905090565b7f574554485f544f4b454e0000000000000000000000000000000000000000000081565b6000610c117f4c45564552414745445f414354494f4e5300000000000000000000000000000061188a565b905090565b6000610c417f574554485f544f4b454e0000000000000000000000000000000000000000000061188a565b905090565b610c4e6119da565b73ffffffffffffffffffffffffffffffffffffffff16610c6c6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610d1f7f50524943455f4f5241434c450000000000000000000000000000000000000000826119e2565b50565b600181565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d626119da565b73ffffffffffffffffffffffffffffffffffffffff16610d806111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f444154415f434f4d50524553534f52000000000000000000000000000000000081565b610ef36119da565b73ffffffffffffffffffffffffffffffffffffffff16610f116111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610fc47f41434c0000000000000000000000000000000000000000000000000000000000826119e2565b50565b6000610ff27f574554485f47415445574159000000000000000000000000000000000000000061188a565b905090565b7f41434c000000000000000000000000000000000000000000000000000000000081565b6110236119da565b73ffffffffffffffffffffffffffffffffffffffff166110416111d3565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110f47f4c45564552414745445f414354494f4e53000000000000000000000000000000826119e2565b50565b6110ff6119da565b73ffffffffffffffffffffffffffffffffffffffff1661111d6111d3565b73ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6111d07f574554485f544f4b454e00000000000000000000000000000000000000000000826119e2565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006112277f4143434f554e545f464143544f5259000000000000000000000000000000000061188a565b905090565b7f54524541535552595f434f4e545241435400000000000000000000000000000081565b6112586119da565b73ffffffffffffffffffffffffffffffffffffffff166112766111d3565b73ffffffffffffffffffffffffffffffffffffffff16146112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6113297f4143434f554e545f464143544f52590000000000000000000000000000000000826119e2565b50565b7f574554485f47415445574159000000000000000000000000000000000000000081565b600061137b7f474541525f544f4b454e0000000000000000000000000000000000000000000061188a565b905090565b6113886119da565b73ffffffffffffffffffffffffffffffffffffffff166113a66111d3565b73ffffffffffffffffffffffffffffffffffffffff161461142f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6114597f474541525f544f4b454e00000000000000000000000000000000000000000000826119e2565b50565b6114646119da565b73ffffffffffffffffffffffffffffffffffffffff166114826111d3565b73ffffffffffffffffffffffffffffffffffffffff161461150b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6115357f444154415f434f4d50524553534f520000000000000000000000000000000000826119e2565b50565b60006115637f434f4e5452414354535f5245474953544552000000000000000000000000000061188a565b905090565b6115706119da565b73ffffffffffffffffffffffffffffffffffffffff1661158e6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614611617576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116417f434f4e5452414354535f52454749535445520000000000000000000000000000826119e2565b50565b61164c6119da565b73ffffffffffffffffffffffffffffffffffffffff1661166a6111d3565b73ffffffffffffffffffffffffffffffffffffffff16146116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611779576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611a7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f434f4e5452414354535f5245474953544552000000000000000000000000000081565b60006118857f50524943455f4f5241434c45000000000000000000000000000000000000000061188a565b905090565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600381526020017f4150310000000000000000000000000000000000000000000000000000000000815250906119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561199557808201518184015260208101905061197a565b50505050905090810190601f1680156119c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080915050919050565b600033905090565b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827fb37614c7d254ea8d16eb81fa11dddaeb266aa8ba4917980859c7740aff30c69160405160405180910390a3505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220867a241f3151c91b21e8cb37fe90ab1d5e89fb79efd61db271c29d805c7bdb7464736f6c63430007060033";
|
|
15
|
-
static readonly abi: ({
|
|
16
|
-
inputs: never[];
|
|
17
|
-
stateMutability: string;
|
|
18
|
-
type: string;
|
|
19
|
-
anonymous?: undefined;
|
|
20
|
-
name?: undefined;
|
|
21
|
-
outputs?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
anonymous: boolean;
|
|
24
|
-
inputs: {
|
|
25
|
-
indexed: boolean;
|
|
26
|
-
internalType: string;
|
|
27
|
-
name: string;
|
|
28
|
-
type: string;
|
|
29
|
-
}[];
|
|
30
|
-
name: string;
|
|
31
|
-
type: string;
|
|
32
|
-
stateMutability?: undefined;
|
|
33
|
-
outputs?: undefined;
|
|
34
|
-
} | {
|
|
35
|
-
inputs: {
|
|
36
|
-
internalType: string;
|
|
37
|
-
name: string;
|
|
38
|
-
type: string;
|
|
39
|
-
}[];
|
|
40
|
-
name: string;
|
|
41
|
-
outputs: {
|
|
42
|
-
internalType: string;
|
|
43
|
-
name: string;
|
|
44
|
-
type: string;
|
|
45
|
-
}[];
|
|
46
|
-
stateMutability: string;
|
|
47
|
-
type: string;
|
|
48
|
-
anonymous?: undefined;
|
|
49
|
-
})[];
|
|
50
|
-
static createInterface(): AddressProviderInterface;
|
|
51
|
-
static connect(address: string, signerOrProvider: Signer | Provider): AddressProvider;
|
|
52
|
-
}
|